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.
