* Re: About highmem in 2.6
[not found] ` <1o7AZ-3PD-9@gated-at.bofh.it>
@ 2004-02-11 19:13 ` Mark de Vries
2004-02-11 19:28 ` Bongani Hlope
2004-02-12 6:48 ` Martin J. Bligh
0 siblings, 2 replies; 8+ messages in thread
From: Mark de Vries @ 2004-02-11 19:13 UTC (permalink / raw)
To: linux-kernel
Dave McCracken wrote:
> --On Wednesday, February 11, 2004 18:47:04 +0100 Luis Miguel García
> <ktech@wanadoo.es> 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?
>
>
> 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....
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: About highmem in 2.6
2004-02-11 19:13 ` About highmem in 2.6 Mark de Vries
@ 2004-02-11 19:28 ` Bongani Hlope
2004-02-12 4:02 ` Krzysztof Halasa
2004-02-12 6:48 ` Martin J. Bligh
1 sibling, 1 reply; 8+ messages in thread
From: Bongani Hlope @ 2004-02-11 19:28 UTC (permalink / raw)
To: Mark de Vries; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]
On Wed, 11 Feb 2004 20:13:10 +0100
Mark de Vries <m.devries@nl.tiscali.com> wrote:
> Dave McCracken wrote:
> > --On Wednesday, February 11, 2004 18:47:04 +0100 Luis Miguel García
> > <ktech@wanadoo.es> 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?
> >
> >
> > 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??
>
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?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: About highmem in 2.6
2004-02-11 19:13 ` About highmem in 2.6 Mark de Vries
2004-02-11 19:28 ` Bongani Hlope
@ 2004-02-12 6:48 ` Martin J. Bligh
1 sibling, 0 replies; 8+ messages in thread
From: Martin J. Bligh @ 2004-02-12 6:48 UTC (permalink / raw)
To: Mark de Vries, linux-kernel
> 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.
> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* About highmem in 2.6
@ 2004-02-11 17:47 Luis Miguel García
2004-02-11 18:44 ` Dave McCracken
0 siblings, 1 reply; 8+ messages in thread
From: Luis Miguel García @ 2004-02-11 17:47 UTC (permalink / raw)
To: LINUX KERNEL MAILING LIST
Hi,
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?
Thanks a lot!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: About highmem in 2.6
2004-02-11 17:47 Luis Miguel García
@ 2004-02-11 18:44 ` Dave McCracken
0 siblings, 0 replies; 8+ messages in thread
From: Dave McCracken @ 2004-02-11 18:44 UTC (permalink / raw)
To: Luis Miguel García; +Cc: LINUX KERNEL MAILING LIST
--On Wednesday, February 11, 2004 18:47:04 +0100 Luis Miguel García
<ktech@wanadoo.es> 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?
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.
Dave McCracken
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-02-14 2:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1o6EZ-2zO-27@gated-at.bofh.it>
[not found] ` <1o7AZ-3PD-9@gated-at.bofh.it>
2004-02-11 19:13 ` About highmem in 2.6 Mark de Vries
2004-02-11 19:28 ` Bongani Hlope
2004-02-12 4:02 ` Krzysztof Halasa
2004-02-12 16:07 ` Brandon Low
[not found] ` <Pine.LNX.4.58.0402120945340.1009@fgevxr.nfculk.yna>
2004-02-14 1:54 ` Krzysztof Halasa
2004-02-12 6:48 ` Martin J. Bligh
2004-02-11 17:47 Luis Miguel García
2004-02-11 18:44 ` Dave McCracken
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox