Re: [squid-users] Re: Squid Seems to be Rate-Limiting TCP_HIT Downloads

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sat, 9 Jun 2007 00:21:35 +0800

On Fri, Jun 08, 2007, RW wrote:
> Adrian Chadd wrote:
>
> > On Fri, Jun 08, 2007, RW wrote:
> >> I'm using Squid 2.6.13 locally on a FreeBSD 6.2 Desktop PC with a ufs
> >> store, and I am seeing slow download speeds on TCP_HIT downloads, which
> >> should be instantaneous on localhost. With cache misses I get normal
> >> fluctuating speeds, but with hits I get a steady 20KB/s per connection,
> >> which suggests there is some kind of rate-limiting going on.
> >
> > Try running aufs rather than ufs. FreeBSD-6 has perfectly functional
> > threading support for disk IO.
>
> This is a single user PC and any I'm seeing this with a single download,
> with large files. There shouldn't be any significant difference in the
> download of a single 5MB file between aufs and ufs on a system with no
> other workload. And it's always a round 20KB/s, if I start a second,
> simultaneous download it also runs at exactly 20KB/s.
>
> This either a bug or a feature, I can't see 20KB/s being a disk access
> bottleneck.

Then post the config sans-comments. Ie:

$ cat squid.conf | grep -v ^# | grep -v ^$

Then we can see if you're running delay pools, what else could be causing the issue.

Adrian
Received on Fri Jun 08 2007 - 10:21:22 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT