Re: [RFC] 2.3/4 VM queues idea

Stephen C. Tweedie
2000-05-26T11:11:39Z

Hi,

On Wed, May 24, 2000 at 12:11:35PM -0300, Rik van Riel wrote:

> - try to keep about one second worth of allocations around in
> the inactive queue (we do 100 allocations/second -> at least
> 100 inactive pages), we do this in order to:
> - get some aging in that queue (one second to be reclaimed)
> - have enough old pages around to free

Careful here. If your box is running several Gig Ethernet interfaces,
it could well be allocating 100s of MB of skbuffs every second, each
allocation being very short-lived. The rate of allocation is not a
good indicator of memory load. The rate of allocations which could
not be satisfied immediately would be a far better metric.

--Stephen