lousy perf of Squid-2.2.STABLE3 compared to 1.1.20 on FreeBSD 2.28

From: <[email protected]>
Date: Fri, 21 May 1999 21:15:51 +1000

Dear Ladies and Gentlemen,

I am writing to ask your suggestions on why Squid 2.2.STABLE3 performs very
badly compared to 1.1.20 on the same FreeBSD 2.2.8-STABLE host.

Here are the differences between the squid.conf and the default :-

pericles# diff squid.conf squid.conf.default
346d345
< cache_mem 20 MB
416,417d414
< cache_dir /www/squid-2.2.STABLE3/cache1 1000 16 256
< cache_dir /www1/squid-2.2.STABLE3/cache2 1000 16 256
1032d1028
< http_access allow localhost

This squid caches for an apache 1.2.5 proxy located on the same host.

There are no alarming messages in cache.log (Here they are

1999/05/21 21:06:02| Starting Squid Cache version 2.2.STABLE3 for
i386-unknown-freebs
d2.2.8...
1999/05/21 21:06:02| Process ID 15779
1999/05/21 21:06:02| With 4096 file descriptors available
1999/05/21 21:06:02| Performing DNS Tests...
1999/05/21 21:06:02| Successful DNS name lookup tests...
1999/05/21 21:06:02| helperOpenServers: Starting 5 'dnsserver' processes
1999/05/21 21:06:02| Unlinkd pipe opened on FD 14
1999/05/21 21:06:02| Swap maxSize 2048000 KB, estimated 157538 objects
1999/05/21 21:06:02| Target number of buckets: 3150
1999/05/21 21:06:02| Using 8192 Store buckets, replacement runs every 10 seconds
1999/05/21 21:06:02| Max Mem size: 20480 KB
1999/05/21 21:06:02| Max Swap size: 2048000 KB
1999/05/21 21:06:02| Rebuilding storage in Cache Dir #0 (CLEAN)
1999/05/21 21:06:02| Rebuilding storage in Cache Dir #1 (CLEAN)
1999/05/21 21:06:02| Set Current Directory to /www/squid-2.2.STABLE3/cache1
1999/05/21 21:06:02| Loaded Icons.
1999/05/21 21:06:02| Accepting HTTP connections on port 3128, FD 39.
1999/05/21 21:06:02| Accepting ICP messages on port 3130, FD 40.
1999/05/21 21:06:02| Ready to serve requests.
1999/05/21 21:06:03| Done reading Cache Dir #1 swaplog (7421 entries)
1999/05/21 21:06:04| Done reading Cache Dir #0 swaplog (7801 entries)
1999/05/21 21:06:04| Finished rebuilding storage disk.
1999/05/21 21:06:04| 15222 Entries read from previous logfile.
1999/05/21 21:06:04| 0 Entries scanned from swap files.
1999/05/21 21:06:04| 0 Invalid entries.
1999/05/21 21:06:04| 0 With invalid flags.
1999/05/21 21:06:04| 15222 Objects loaded.
1999/05/21 21:06:04| 0 Objects expired.
1999/05/21 21:06:04| 0 Objects cancelled.
1999/05/21 21:06:04| 0 Duplicate URLs purged.
1999/05/21 21:06:04| 0 Swapfile clashes avoided.
1999/05/21 21:06:04| Took 2 seconds (7611.0 objects/sec).
1999/05/21 21:06:04| Beginning Validation Procedure
1999/05/21 21:06:05| Completed Validation Procedure
1999/05/21 21:06:05| Validated 15222 Entries
1999/05/21 21:06:05| store_swap_size = 111484k
1999/05/21 21:06:05| storeLateRelease: released 0 objects
pericles# )

The FreeBSD system has 128 MB RAM, is a P166 and has 256 MB of swap.
 The caches are on 2 x IBM 4.3 SCSI disks.

I have tried disabling the rfc1644 T/TCP extensions unsuccessfully.

The performance is *subjectively* worse. The clinet sees an initial burst of
date then nothing ..
as if something is blocked.

Your suggestions will be rceived very gratefully,

Thank you,

Yours sincerely.
Received on Fri May 21 1999 - 05:27:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:22 MST