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.