Search squid archive

Is it a good idea to use Linux swap partition/file with rock storage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I notice that squid's rock storage uses large (and fixed) amount of shared memory even if it is not accessed. It's estimated as 110byte/slot, so for a 256GB rock storage with 16KB slot, the memory requirement is about 1.7GB, which is quite large.

So my questions are:

1. Is there a way to reduce memory usage of rock storage?

2. On Linux squid puts its shared memory in /dev/shm, which can be backed by swap partition/file. Is it a good idea to use swap partition/file with rock storage to save some physical memory?

3. For rock storage, are /dev/shm/squid* frequently and randomly written? If the Linux swap is on SSD, will this causes performance/lifetime issues?

Regards,

Duan Yao

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux