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

This is a discussion on [squid-users] how to calculate the number of threads needed within the Squid Users forums, part of the Web Server and Related Forums category; Hi, how do I derive the number of threads I should use for the async-io? What actually does the ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-05-2003
Tay Teck Wee
 
Posts: n/a
Default [squid-users] how to calculate the number of threads needed

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0