Re: Machine's high load when HIGHMEM is enabled

Andrew Morton (akpm@digeo.com)
Wed, 06 Nov 2002 08:51:17 -0800


vasya vasyaev wrote:
>
> Hello,
> It seems "mem=2016M" is what we need, box works
> approximately as fast as without enabled HIGHMEM.
> Thank you!
>
> BTW, we are using 4x512 Mb ECC Registered memory
> modules, so they seems not to be mixed...

For some reason your mtrr table was not covering the last 32 megabytes
of memory. Probably you could also have fixed this by altering the
mtrr settings. See Documentation/mtrr.txt in the kernel source tree.

> As this problem has gone, there is last question (I
> hope ;-):
> How can I control amount of memory used for disk cache
> in recent kernels (2.4.18, 19)?
> ("Cached:" field in `cat /proc/meminfo`)
> I have to be sure that free memory is not used for
> caching of disk operations (or how many of it is used
> for caching)

You have to use it for something else :)

Sorry, Linux will only leave a few megabytes of memory unused,
for emergency and interrupt-time allocations.

Why is this a problem?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/