I tried squid on an other box : IBM Xseries 232, 1,13 GHz, 768 Mo Ram,
1 Hard drive (Raid0) for the system
3 Hard drive (Raid0) for the squid cache. Noatime, Reiserfs.
Linux 9 out-of-the-box, no firewall, Kernel 2.4.20, squid build by me with
this options:
--enable-external-acl-helpers=winbind_group \
--enable-cache-digests \
--enable-async-io \
--enable-storeio=diskd,ufs \
--enable-auth=ntlm,basic \
--enable-snmp \
--enable-poll \
--enable-linux-netfilter \
--enable-ssl \
--with-openssl=/usr/kerberos \
--enable-basic-auth-helpers=winbind \
--enable-ntlm-auth-helpers=winbind \
--enable-ntlm-fail-open \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/sbin \
--sbindir=/usr/sbin \
--sysconfdir=/etc/squid \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/lib/squid \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info
Same configuration as before (see my first post for it).
I still have the same level of performance: after 200 req/sec, same level of
performance.
I/O are not a problem (monitoring this with sar shows me that everything is
normal).
CPU is 100% busy during tests, mainly used by squid process.
Should I consider this as the normal level of performance for this
processor?
I should be able to do some tests on a 2,4 Ghz Xeon processor next week.
Thank you very much, and once again sorry for this kind of questions.
Nicolas Chaillot
-----Message d'origine-----
De : Ralf Hildebrandt [mailto:Ralf.Hildebrandt@charite.de]
Envoye : vendredi 6 juin 2003 21:57
A : Chaillot Nicolas
Cc : squid-users@squid-cache.org
Objet : Re: [squid-users] Performance and stupid questions
* Chaillot Nicolas <nicolas.chaillot.devoteam@axa.fr>:
> Kernel is 2.4.20-SMP (directly from Redhat 9 ).
In that case some other processes can utilize the other processor --
maybe the dns-caching component of squid.
> > Squid is probably I/O bound. And due to it's architecture it cannot
> > take advantage of another processor.
>
> I didn't know that.
It has to fetch & write data from and to the disk.
> That's not so far of what I'm doing: I'm currently in the test period.
Excellent!
> >At a real-world load (production use) of 200 connections/s it has a
> load of 0.75.
>
> You mean 0.75% of CPU Load ??? Impressive !!!
> Is it 200 connection/s = 200 request/sec ??
Yes. We use 3 proxies here. 2 of the type I mentioned and one humble
old Sun box with two processors. We split the load by giving one box
all ".de" domains, the other box does all of ".com" while the old box
does the rest.
-- Ralf Hildebrandt (Im Auftrag des Referat V a) Ralf.Hildebrandt@charite.de Charite Campus Mitte Tel. +49 (0)30-450 570-155 Referat V a - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 AIM: ralfpostfixReceived on Wed Jun 11 2003 - 07:22:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:19 MST