Re: [PATCH] x86_32: trim memory by updating e820 v2

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <Yinghai.Lu@...>
Cc: Jesse Barnes <jesse.barnes@...>, Andi Kleen <ak@...>, Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, LKML <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Friday, January 25, 2008 - 8:01 pm

On Tue, 22 Jan 2008, Yinghai Lu wrote:


Tried it, it worked successfully!

With stock kernel, previous way I had to use it was mem=8832M and top 
showed this:

top - 18:53:52 up 1 min,  2 users,  load average: 1.03, 0.30, 0.10
Tasks: 169 total,   1 running, 168 sleeping,   0 stopped,   0 zombie
Cpu(s):  6.1%us,  2.6%sy,  4.5%ni, 81.3%id,  5.5%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   8039464k total,  1288948k used,  6750516k free,     3640k buffers
Swap: 16787768k total,        0k used, 16787768k free,   178528k cached

With kernel you mentioned and use e820 v3:

top - 18:48:13 up 3 min,  6 users,  load average: 1.67, 0.68, 0.25
Tasks: 195 total,   2 running, 193 sleeping,   0 stopped,   0 zombie
Cpu(s): 18.5%us,  1.2%sy,  1.6%ni, 74.8%id,  3.9%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   8037668k total,  1438732k used,  6598936k free,     6844k buffers
Swap: 16787768k total,        0k used, 16787768k free,   273928k cached

No append mem= required.

A full dmesg is attached so you can analyze the e820/MTRR mapping.

File: dmesg-e820v3patch.txt.bz2

Justin.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Mon Jan 21, 2:56 am)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Ingo Molnar, (Tue Jan 22, 12:51 pm)
[PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Jan 22, 8:23 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Andrew Morton, (Sat Apr 26, 6:56 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 2:50 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 4:38 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 5:09 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 5:44 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 5:58 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sat Apr 26, 9:22 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Sun Apr 27, 4:29 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sat Apr 26, 8:57 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Sun Apr 27, 4:21 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Sat Apr 26, 8:56 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 2:44 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 5:18 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 5:34 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 5:54 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Mon Apr 28, 9:53 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Jesse Barnes, (Mon Apr 28, 12:09 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Tue Apr 29, 6:37 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Jesse Barnes, (Tue Apr 29, 11:52 am)
[patch] PCI: export resource_wc in pci sysfs, Ingo Molnar, (Tue Apr 29, 6:03 pm)
Re: [patch] PCI: export resource_wc in pci sysfs, Andrew Morton, (Tue Apr 29, 6:24 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Andrew Morton, (Tue Apr 29, 8:40 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 12:31 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Jesse Barnes, (Mon Apr 28, 12:55 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 10:15 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 10:11 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 10:24 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 3:08 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 3:46 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 3:06 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 3:38 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 4:45 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 5:19 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 6:03 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 6:56 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 7:23 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 9:05 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 10:41 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Tue Apr 29, 6:34 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Apr 29, 6:42 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 6:03 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 6:07 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 3:03 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sat Apr 26, 9:05 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Mon Apr 28, 2:07 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Tue Apr 29, 6:31 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Tue Apr 29, 1:29 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Apr 29, 2:40 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Tue Apr 29, 3:19 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Apr 29, 3:44 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Tue Apr 29, 4:02 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 7:16 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Jesse Barnes, (Mon Jan 21, 12:30 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Mon Jan 21, 3:14 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Mon Jan 21, 4:09 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Mon Jan 21, 5:37 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Tue Jan 22, 11:50 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Fri Jan 25, 8:01 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Ingo Molnar, (Mon Jan 28, 11:09 am)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Mon Jan 28, 2:07 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Fri Jan 25, 8:16 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Fri Jan 25, 8:37 pm)