Re: squid's async-io (was Re: Ancient squid and unattentive maintainer)
In article <[🔎] 20001103160337.A2787@thefoots.com>,
Jeff Lightfoot <jeffml@pobox.com> wrote:
>Very interesting. My squid server was just upgraded to SMP yesterday
>and the results are the same.
>
>debian squid (with --enable-async-io) - 200K max
>This was on an SMP machine. No errors, just dog slow.
>squid recompiled (without --enable-async-io) - very fast
Okay, I'll take the 'henrik nordstrom' 2.2.5-STABLE release, and
upload it to woody somewhere next week. I'm curious to see if
that is going to make any difference.
>Why was async-io needed on SMP? Not using it on my SMP machine seemed
>to speed things up tremendously.
If you don't compile it with async-io, squid isn't threaded. That
means that it runs as a single process on just one CPU. So the
other CPU is 100% idle all the time and you might as well take it
out, unless you have a lot of other stuff running on the same machine.
Mike.
--
People get the operating system they deserve.
Reply to: