[squid-users] Re: shared-memory cache in Squid3.2 and object size?

From: Linda W <squid-user_at_tlinx.org>
Date: Thu, 02 Aug 2012 19:02:56 -0700

Amos Jeffries wrote:
> 32KB == 1 page allocation for the
> particular SMB shared memory systems used.

---
	Particular SMB shared memory systems?
	Don't you just use something like the posix shm calls?
I see squid's cache in /dev/shm:
Ishtar:/dev/shm> lh
-rw-rw-rw- 1  70K Jul 27 17:14 jack-shm-registry
-r-------- 1  65M Jul 26 17:51 pulse-shm-1005231492
-rwxrwxr-x 1   32 Jul 27 17:14 sem.jack_sem.5013_default_system*
-rw------- 1  29M Aug  2 18:53 squid-cache_mem.shm
-rw------- 1 8.1G Aug  2 18:53 squid-squid-page-pool.shm
I doubt the kernel expects only 32k allocations... especially
since the only other default on x86 is 8k (going the 32bit compat route).
What's using 32KB?
Received on Fri Aug 03 2012 - 02:03:02 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 03 2012 - 12:00:03 MDT