About highmem in 2.6
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 12 lines · Dave McCracken
--On Wednesday, February 11, 2004 18:47:04 +0100 Luis Miguel García
Quoted 6 lines · <[email protected]> wrote:
When I first installed 2.4, someone told me that if I had 1 gb ram it was better to not use highmem because those extra aditional mb was not worth the speed penalty of using the feature.
Sorry for my ignorance (and my sucking english) but must I enable highmem now with 2.6? or have it any speed penalty althought?
Quoted 6 lines
I don't know if anyone has actually measured the relative performance, but I'd expect the answer to be the same as 2.4. There is a small but measurable performance penalty for enabling highmem which is higher than the benefit of the extra 128 meg of memory you get when you have 1G. If you have more than 1G it's better to enable highmem.
I've been using this patch for a while now on my box (with 1GB):
http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.23aa1/00_3.5G-address-space-5
(kernel is 'vanilla' otherwise)
This allows you to use your full 1GB w/out highmem support.... (2G/2G user/kernel addr space split, or something..)
Anything (potentially) wrong/bad about this patch??
Is there a simmilar patch for 2.6??
Rgds,
Mark.
pls. CC in reply, I'm not on the list....
Quoted 24 lines · On Wed, 11 Feb 2004 20:13:10 +0100 Mark de Vries <[email protected]>…
Quoted 12 lines · Dave McCracken
--On Wednesday, February 11, 2004 18:47:04 +0100 Luis Miguel García
Quoted 6 lines · <[email protected]> wrote:
When I first installed 2.4, someone told me that if I had 1 gb ram it was better to not use highmem because those extra aditional mb was not worth the speed penalty of using the feature.
Sorry for my ignorance (and my sucking english) but must I enable highmem now with 2.6? or have it any speed penalty althought?
Quoted 6 lines
I don't know if anyone has actually measured the relative performance, but I'd expect the answer to be the same as 2.4. There is a small but measurable performance penalty for enabling highmem which is higher than the benefit of the extra 128 meg of memory you get when you have 1G. If you have more than 1G it's better to enable highmem.
I've been using this patch for a while now on my box (with 1GB):
http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.23aa1/00_3.5G-address-space-5
(kernel is 'vanilla' otherwise)
Quoted 7 lines
This allows you to use your full 1GB w/out highmem support.... (2G/2G user/kernel addr space split, or something..)
Anything (potentially) wrong/bad about this patch??
Is there a simmilar patch for 2.6??
There is nothing wrong with that patch, the problem with Highmem support on x86 is that is uses an Intel hack to address the full 1Gb of memory, which make memory access a bit slower. The question is, does the 128Mb additional memory worth that penalty?
Quoted 4 lines · Bongani Hlope
There is nothing wrong with that patch, the problem with Highmem support on x86 is that is uses an Intel hack to address the full 1Gb of memory, which make memory access a bit slower. The question is, does the 128Mb additional memory worth that penalty?
2GB/2GB split doesn't use any Intel hack nor highmem. In fact for 1 GB of RAM I use a little different split which covers the whole RAM and gives more virtual RAM, something like 1.2/2.8 GB.
Signature · 1 line
Krzysztof Halasa, B*FH
Quoted 10 lines · Krzysztof Halasa
Quoted 4 lines · Bongani Hlope
There is nothing wrong with that patch, the problem with Highmem support on x86 is that is uses an Intel hack to address the full 1Gb of memory, which make memory access a bit slower. The question is, does the 128Mb additional memory worth that penalty?
2GB/2GB split doesn't use any Intel hack nor highmem. In fact for 1 GB of RAM I use a little different split which covers the whole RAM and gives more virtual RAM, something like 1.2/2.8 GB.
Any chance of me getting a copy of the patch which allows the finer grained tuning of the kernel/user split?
Thanks.
Brandon Low
Quoted 7 lines
Signature · 6 lines
Krzysztof Halasa, B*FH - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines
Quoted 3 lines
2GB/2GB split doesn't use any Intel hack nor highmem. In fact for 1 GB of RAM I use a little different split which covers the whole RAM and gives more virtual RAM, something like 1.2/2.8 GB.
While there might a patch for it on the net (so one can configure it with make *config), I just change 0xC0000000 in arch/i386/vmlinux.lds and in include/asm-i386/page.h (__PAGE_OFFSET) to something like 0xB0000000.
Signature · 1 line
Krzysztof Halasa, B*FH
Quoted 7 lines
I've been using this patch for a while now on my box (with 1GB):
http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.23aa1/00_3.5G-address-space-5
(kernel is 'vanilla' otherwise)This allows you to use your full 1GB w/out highmem support.... (2G/2G user/kernel addr space split, or something..)
Anything (potentially) wrong/bad about this patch??
The only problem is that you lose some virtual address space for the user, which isn't a problem for most people.
Quoted 1 line
Is there a simmilar patch for 2.6??
ftp://ftp.kernel.org/pub/linux/kernel/people/mbligh/patches/2.6.2/2.6.2-mjb1/212-config_page_offset
You might have to tweak the config stuff a tiny bit to get the patch to apply if you don't have 4/4 split in.
M.