On Tue, 22 Jan 2008, Yinghai Lu wrote:
On Monday 21 January 2008 01:37:09 pm Justin Piszcz wrote:On Mon, 21 Jan 2008, Yinghai Lu wrote:On Monday 21 January 2008 11:14:02 am Justin Piszcz wrote: please get x86.git git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git cd linux-2.6 #--------------{ x86.git instructions }----------> # Add Linus's tree as a remote git remote add linus git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git # Add Ingo's tree as a remote git remote add x86 git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git # With that setup, just run the following to get any changes you # don't have. It will also notice any new branches Ingo/Linus # add to their repo. Look in .git/config afterwards, the format # to add new remotes is easy to figure out. git remote update #------------------------- git merge x86/master git merge x86/mm and apply [PATCH] x86_64: check if Tom2 is enabled http://lkml.org/lkml/2008/1/21/20 [PATCH] x86_64: update e820 instead of updating end_pfn v3 http://lkml.org/lkml/2008/1/21/19 [PATCH] x86_32: trim memory by updating e820 v2 http://lkml.org/lkml/2008/1/21/18 YHThanks, I am all patched up and ready to test, unfortunately one of my disks in my RAID 1 just died, I already filled out the advanced replacement form, I will test when I receive the replacement disk.please get x86.git and apply [PATCH] x86_32: trim memory by updating e820 v3 http://lkml.org/lkml/2008/1/22/394 Ingo already put other two into the tree. Thanks YH
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.
dmesg-e820v3patch.txt.bz2
Description: Binary data