[squid-users] how to calculate the number of threads needed

From: Tay Teck Wee <wolfpacks01@dont-contact.us>
Date: Wed, 6 Aug 2003 00:53:21 +0800 (CST)

Hi,

how do I derive the number of threads I should use for
the async-io?

What actually does the threads do? What is the effect
of having too few or too many?

For the moment I am using 50. Is this an overkill? Or
should I stick to the default 16?

This box is handling about 140req/s peak in a ISP env.

my configure statement:-
./configure -prefix=/usr/local/squid -enable-dlmalloc
-enable-removal-policies=heap -enable-storeio=aufs
-enable-underscores --enable-async-io=50

my machine specs:-
DELL 2650 Single Pro Intel(R) Xeon(TM) CPU 2.40GHz
2G RAM
2X36G(mirror) for RH 8.0
3X36G(volume) for caching

squid2.5stable3(with deny_info patch)

cache_mem 200 MB
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir aufs /cdata1 16000 36 256
cache_dir aufs /cdata2 16000 36 256
cache_dir aufs /cdata3 16000 36 256

Appreciate your kind advice.

--Wolf

__________________________________________________
Do You Yahoo!?
Send free SMS from your PC!
http://sg.sms.yahoo.com
Received on Tue Aug 05 2003 - 10:53:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:43 MST