Re: question about PAE and buffercache

From: Nick Piggin
Date: Sun Mar 16 2008 - 22:45:55 EST


On Thursday 13 March 2008 08:48, Adam Megacz wrote:
> Sorry to ask here, but I looked around for quite a while on the web.
>
> Is the size of the buffercache in any way constrained by the amount of
> virtual memory space allocated to the kernel (when using a PAE kernel)?
>
> For example with a 1G/3G split and 8G of physical memory, if userspace
> processes aren't interested in more than 6G of that memory, would the
> kernel fully utilize all of the remaining 2G for buffercache?

No. It is indeed constrained by the amount of virtual memory space
the kernel has. So it could use in practice probably only around
700-800MB for buffercache.

--
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/