Re: Machine's high load when HIGHMEM is enabled

Andrew Morton
2002-11-06T16:44:47Z

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?