Re: [PATCH] Independent shared I/O page limit.

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 27 Oct 2011 15:59:53 -0600

On 10/13/2011 07:26 AM, Dmitry Kurochkin wrote:
> Currently, shared memory pages are used for shared memory cache and
> IPC I/O module. Before the change, the number of shared memory pages
> needed for IPC I/O was calculated from the size of shared memory
> cache. Moreover, shared memory cache was required for IPC I/O.
>
> The patch makes the limit for shared I/O pages independent from the
> shared memory cache size and presence. IPC I/O pages limit is
> calculated from the number of workers and diskers, it does not depend
> on cache_dir configuration. This may change in the future if we learn
> how to compute it (e.g., by multiplying max-swap-rate and swap-timeout
> if both are available).

Committed to trunk as r11822. Squids with large shared memory caches
should eat less RAM now.

Thank you,

Alex.
Received on Thu Oct 27 2011 - 22:00:03 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 28 2011 - 12:00:11 MDT