Re: General slowness with using 64Gb HIGHMEM option on 32-bitkernel

From: Rik van Riel
Date: Fri Sep 28 2007 - 14:03:44 EST


On Fri, 28 Sep 2007 21:57:55 +0400
"Sergey Popov" <faijeya@xxxxxxxxx> wrote:

> Ok, I found a palliative.
>
> Now I'm working with "mem=6770M" option, that gives me 6072MB RAM (of
> 6144 total).
> Interesting, that if you choose too much, like "mem=6800M", system
> behaviour is exactly the same as without any options.
>
> Can it be that kernel incorrectly sets amount of memory to use so such
> a situation occurs?

Maybe the BIOS marks the top megabytes of memory as
uncacheable, which makes accesses ridiculously slow.

Cat /proc/mtrr to check.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/