Hello,
I'm using squid 2.4.STABLE6 on linux (Debian woody) with kernel 2.4.19
SMP
Server is a dual PIII 1Ghz with 1GB RAM and ICP-Vortex RAID card and
U160 36GB SCSI IBM hard disks.
I've tried ufs and diskd cache_dir.
With ufs, no problem, on local Fast-ethernet segment, I can retrieve
files in cache at 7-10 MB/s
But, with diskd, throughput is only 200 KB/s !
I've read the doc (FAQ concerning diskd) and try to adjust my message
queues and shared memory.
But, it doesn't increase performance.
Here are the setting concerning the linux kernel :
/proc/sys/kernel/shmall ==> 2097152
/proc/sys/kernel/shmmax ==> 33554432
/proc/sys/kernel/shmmni ==> 4096
/proc/sys/kernel/msgmax ==> 32768
/proc/sys/kernel/msgmnb ==> 65536
/proc/sys/kernel/msgmni ==> 128
and squid.conf part :
# when UFS :
#cache_dir ufs /var/spool/squid1 8000 16 256
#cache_dir ufs /var/spool/squid2 8000 16 256
# when DISKD :
cache_dir diskd /var/spool/squid1 8000 16 256 Q1=72 Q2=64
cache_dir diskd /var/spool/squid2 8000 16 256 Q1=72 Q2=64
Here are informations given by ipcs :
# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch
status
0x0079b002 3211264 proxy 600 393216
2
0x0079b006 3244033 proxy 600 393216
2
------ Message Queues --------
key msqid owner perms used-bytes messages
0x0079b000 7864320 proxy 700 0 0
0x0079b001 7897089 proxy 700 0 0
0x0079b004 7929858 proxy 700 0 0
0x0079b005 7962627 proxy 700 0 0
Are there betters settings to put ?
I would like to have at least 1 MB/s
Thanks in advance for your help !
-- Fabien SALVI Centre de Ressources Informatiques Archamps, France -- http://www.cri74.org PingOO GNU/linux distribution : http://www.pingoo.orgReceived on Thu Nov 07 2002 - 03:42:14 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:11 MST