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

Re: squid's async-io

On Mon, Nov 06, 2000 at 01:33:21PM -0700, Miquel van Smoorenburg wrote:
> Could you try
> ftp://ftp.cistron.nl/pub/people/miquels/tmp/squid_2.3.4-1_i386.deb
> and let me know how it works for you ?

The default setup worked great for me!

I tried setting cache_dir to asyncufs /var/spool/squid 1000 16 256
and it went back to the previous behavior of 200K/s.  Switching it
back to ufs worked like a charm.

So here are my results on a very limited test: 
10 looped wgets (large 20MB file) started in parallel over 100MB LAN

2.2.5 (async-io) / 2.3.4 (asyncufs cache_dir option)
 - 5000-6000K/sec throughput, 30-40% CPU idle (vmstat 1, dual CPU)

2.2.5 (no async-io) / 2.3.4 (ufs cache_dir option)
 - 9000-9600K/sec throughput, 50-60% CPU idle (vmstat 1, dual CPU) 

So even though I might not be fully utilizing the second CPU for squid,
no async-io makes a lot more sense for me right now.  I will probably
try again using a smarter test (Web Polygraph) later.

Jeff Lightfoot   --    jeffml at pobox.com   --   http://thefoots.com/
    "How can I sing like a girl and not be stigmatized by the rest of
    the world?" -- TMBG

Reply to: