[squid-users] Compare of xfs and reiserfs filesystem for squid cache_dir

From: Paweł Staszewski <pstaszewski@dont-contact.us>
Date: Thu, 14 Apr 2005 14:36:46 +0200

Hello i do some tests for compare two different filesystems whitch squid uses as cache_dir.

Two identical machines:

Intel(R) Pentium(R) 4 CPU 3.20GHz
2 GB of ram
4 SCSI 10k disks (U320)

Running squid is 2.5Stable9 +epoll patch

And:

Machine with xfs filesystem:
[14:05:04 root@w3cache1 /etc/bm]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 5.6G 2.5G 3.2G 44% /
tmpfs 1013M 0 1013M 0% /dev/shm
/dev/sda3 28G 9.6G 19G 35% /cache0
/dev/sdb1 35G 9.6G 25G 28% /cache1
/dev/sdc1 35G 9.6G 25G 28% /cache2
/dev/sdd1 35G 9.6G 25G 28% /cache3
[14:09:04 root@w3cache1 /etc/bm]$

iostat 1 -x

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.05 16.18 4.17 10.14 49.06 224.74 24.53 112.37 19.14 0.33 23.34 3.37 4.82
sdb 0.05 12.35 3.97 6.08 47.16 161.92 23.58 80.96 20.80 0.19 19.38 3.64 3.66
sdc 0.05 12.53 3.41 5.77 41.20 160.50 20.60 80.25 21.97 0.17 18.15 3.58 3.28
sdd 0.05 12.25 3.99 5.84 47.23 159.07 23.62 79.54 20.98 0.21 21.37 3.68 3.62

avg-cpu: %user %nice %sys %iowait %idle
           1.50 0.00 3.00 3.00 92.50

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 6.93 0.00 79.21 0.00 39.60 0.00 11.43 0.02 3.14 3.14 2.18
sdb 0.00 0.00 4.95 0.00 39.60 0.00 19.80 0.00 8.00 0.02 3.60 3.60 1.78
sdc 0.00 0.00 1.98 2.97 15.84 127.72 7.92 63.86 29.00 0.03 6.20 5.60 2.77
sdd 0.00 0.00 4.95 0.00 63.37 0.00 31.68 0.00 12.80 0.02 4.00 4.00 1.98

avg-cpu: %user %nice %sys %iowait %idle
           1.00 0.00 2.00 2.00 95.00

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 4.04 0.00 40.40 0.00 20.20 0.00 10.00 0.01 3.25 3.25 1.31
sdb 0.00 0.00 6.06 0.00 64.65 0.00 32.32 0.00 10.67 0.04 6.17 6.17 3.74
sdc 0.00 0.00 2.02 13.13 16.16 140.40 8.08 70.20 10.33 0.04 2.87 1.73 2.63
sdd 1.01 0.00 14.14 0.00 315.15 0.00 157.58 0.00 22.29 0.07 4.86 4.86 6.87

avg-cpu: %user %nice %sys %iowait %idle
           1.50 0.00 1.50 3.00 94.00

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 3.00 0.00 24.00 0.00 12.00 0.00 8.00 0.04 12.67 8.33 2.50
sdb 0.00 0.00 11.00 0.00 96.00 0.00 48.00 0.00 8.73 0.03 2.64 2.64 2.90
sdc 0.00 0.00 4.00 1.00 40.00 64.00 20.00 32.00 20.80 0.03 6.20 6.20 3.10
sdd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

avg-cpu: %user %nice %sys %iowait %idle
           0.50 0.00 1.00 3.00 95.50

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 1.98 0.00 15.84 0.00 7.92 0.00 8.00 0.01 5.50 5.50 1.09
sdb 0.00 0.00 9.90 0.00 95.05 0.00 47.52 0.00 9.60 0.05 5.10 5.10 5.05
sdc 0.00 0.00 5.94 6.93 79.21 64.36 39.60 32.18 11.15 0.06 4.85 4.31 5.54
sdd 0.00 0.00 1.98 0.00 15.84 0.00 7.92 0.00 8.00 0.01 6.00 6.00 1.19

avg-cpu: %user %nice %sys %iowait %idle
           1.50 0.00 2.00 12.00 84.50

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 16.16 6.06 16.16 64.65 258.59 32.32 129.29 14.55 0.06 2.91 2.14 4.75
sdb 0.00 0.00 7.07 0.00 96.97 0.00 48.48 0.00 13.71 0.02 2.71 2.71 1.92
sdc 0.00 416.16 3.03 55.56 32.32 4192.93 16.16 2096.46 72.12 2.32 39.57 4.00 23.43
sdd 0.00 0.00 16.16 2.02 153.54 11.11 76.77 5.56 9.06 0.08 4.22 4.22 7.68

avg-cpu: %user %nice %sys %iowait %idle
           1.00 0.00 1.49 7.46 90.05

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 14.00 0.00 144.00 0.00 72.00 0.00 10.29 0.09 6.71 4.36 6.10
sdb 0.00 0.00 8.00 0.00 80.00 0.00 40.00 0.00 10.00 0.09 11.12 7.38 5.90
sdc 0.00 0.00 2.00 2.00 32.00 128.00 16.00 64.00 40.00 0.02 3.50 4.00 1.60
sdd 0.00 0.00 13.00 0.00 160.00 0.00 80.00 0.00 12.31 0.08 6.31 5.69 7.40

vmstat 1
[14:09:43 root@w3cache1 /etc/bm]$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r b swpd free buff cache si so bi bo in cs us sy id wa
 0 0 0 417492 22856 747516 0 0 46 17 41 45 4 12 80 5
 0 0 0 416748 22856 747924 0 0 192 172 2845 1390 1 3 91 5
 0 2 0 414516 22856 748332 0 0 260 192 2638 1585 2 2 91 6
 0 0 0 413804 22912 748752 0 0 308 132 2593 1184 1 2 89 8
 0 0 0 412492 22936 749068 0 0 76 1047 2637 1060 2 2 94 4
 0 0 0 410940 22936 749476 0 0 172 96 2700 1198 2 2 93 4
 0 0 0 409908 22936 749816 0 0 180 128 2584 1168 1 2 95 3
 0 0 0 409036 22936 750156 0 0 136 128 2616 1177 1 2 94 3
 0 1 0 407796 22936 750564 0 0 88 64 2753 1446 1 3 94 2
 0 1 0 405956 22972 751208 0 0 364 2759 2752 1665 2 2 73 24

[14:10:17 root@w3cache1 /etc/bm]$ mpstat -P ALL 1
Linux 2.6.12-rc2 (w3cache1) 04/14/05

14:10:40 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:41 all 0.50 0.00 0.50 1.50 0.00 0.50 97.00 2051.00
14:10:41 0 0.00 0.00 0.00 1.00 0.00 0.00 99.00 1002.00
14:10:41 1 1.00 0.00 1.00 2.00 0.00 2.00 95.00 1050.00

14:10:41 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:42 all 1.00 0.00 1.00 0.50 0.00 0.50 97.00 2056.44
14:10:42 0 0.00 0.00 0.99 0.00 0.00 0.00 99.01 991.09
14:10:42 1 1.98 0.00 0.99 0.99 0.00 0.99 94.06 1065.35

14:10:42 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:43 all 1.50 0.00 0.50 4.50 0.00 1.00 92.50 2240.40
14:10:43 0 0.00 0.00 0.00 4.04 0.00 0.00 95.96 1011.11
14:10:43 1 3.03 0.00 1.01 4.04 0.00 2.02 90.91 1229.29

14:10:43 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:44 all 1.00 0.00 1.00 4.48 0.00 0.50 93.03 2073.00
14:10:44 0 0.00 0.00 1.00 7.00 0.00 0.00 92.00 1001.00
14:10:44 1 2.00 0.00 1.00 2.00 1.00 1.00 94.00 1073.00

14:10:44 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:45 all 1.01 0.00 1.01 3.02 0.50 0.50 93.97 2130.69
14:10:45 0 0.99 0.00 0.00 5.94 0.00 0.00 93.07 991.09
14:10:45 1 1.98 0.00 1.98 0.99 0.00 0.99 93.07 1139.60

14:10:45 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:46 all 1.49 0.00 1.00 8.96 0.00 1.00 87.56 2155.00
14:10:46 0 1.00 0.00 1.00 12.00 0.00 0.00 86.00 1001.00
14:10:46 1 2.00 0.00 1.00 6.00 0.00 2.00 90.00 1152.00

14:10:46 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:47 all 1.51 0.00 1.01 12.06 0.00 1.51 83.92 2300.00
14:10:47 0 0.99 0.00 1.98 12.87 0.00 0.00 84.16 991.09
14:10:47 1 1.98 0.00 0.99 9.90 0.00 2.97 81.19 1308.91

14:10:47 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:48 all 1.49 0.00 0.99 2.97 0.00 0.99 93.56 2058.59
14:10:48 0 0.00 0.00 0.00 3.03 0.00 0.00 96.97 1012.12
14:10:48 1 2.02 0.00 1.01 3.03 0.00 1.01 92.93 1046.46

14:10:48 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:49 all 1.01 0.00 0.50 0.50 0.00 0.50 97.49 2050.50
14:10:49 0 0.00 0.00 0.99 1.98 0.00 0.00 97.03 991.09
14:10:49 1 1.98 0.00 0.99 0.00 0.99 1.98 96.04 1059.41

14:10:49 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:10:50 all 1.00 0.00 1.00 0.50 0.00 0.50 97.00 2081.63
14:10:50 0 0.00 0.00 0.00 0.00 0.00 0.00 100.00 1021.43
14:10:50 1 3.06 0.00 1.02 0.00 0.00 1.02 96.94 1060.20

Connection information for squid:
      Number of clients accessing cache: 0
      Number of HTTP requests received: 3169978
      Number of ICP messages received: 0
      Number of ICP messages sent: 0
      Number of queued ICP replies: 0
      Request failure ratio: 0.00
      Average HTTP requests per minute since start: 2628.8
      Average ICP messages per minute since start: 0.0
      Select loop called: 72487292 times, 0.998 ms avg
Cache information for squid:
      Request Hit Ratios: 5min: 47.3%, 60min: 43.4%
      Byte Hit Ratios: 5min: 15.7%, 60min: 14.3%
      Request Memory Hit Ratios: 5min: 5.4%, 60min: 3.9%
      Request Disk Hit Ratios: 5min: 47.3%, 60min: 41.8%
      Storage Swap size: 39325972 KB
      Storage Mem size: 65488 KB
      Mean Object Size: 17.34 KB
      Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
      HTTP Requests (All): 0.07014 0.08729
      Cache Misses: 0.33943 0.33943
      Cache Hits: 0.00463 0.00379
      Near Hits: 0.23230 0.19742
      Not-Modified Replies: 0.00000 0.00000
      DNS Lookups: 0.00000 0.00000
      ICP Queries: 0.00000 0.00000
Resource usage for squid:
      UP Time: 72351.019 seconds
      CPU Time: 1866.556 seconds
      CPU Usage: 2.58%
      CPU Usage, 5 minute avg: 4.02%
      CPU Usage, 60 minute avg: 3.57%
      Process Data Segment Size via sbrk(): 333516 KB
      Maximum Resident Size: 0 KB
      Page faults with physical i/o: 3
Memory usage for squid via mallinfo():
      Total space in arena: 333516 KB
      Ordinary blocks: 330624 KB 135392 blks
      Small blocks: 0 KB 0 blks
      Holding blocks: 18604 KB 13 blks
      Free Small blocks: 0 KB
      Free Ordinary blocks: 2891 KB
      Total in use: 349228 KB 99%
      Total free: 2891 KB 1%
      Total size: 352120 KB
Memory accounted for:
      Total accounted: 230949 KB
      memPoolAlloc calls: 411187568
      memPoolFree calls: 406376855
File descriptor usage for squid:
      Maximum number of file descriptors: 32768
      Largest file desc currently in use: 1668
      Number of file desc currently in use: 1423
      Files queued for open: 0
      Available number of file descriptors: 31345
      Reserved number of file descriptors: 100
      Store Disk files open: 34
Internal Data Structures:
      2280637 StoreEntries
       13116 StoreEntries with MemObjects
       12793 Hot Object Cache Items
      2268407 on-disk objects

[14:12:01 root@w3cache1 /etc/bm]$ cat /proc/meminfo
MemTotal: 2074192 kB
MemFree: 340540 kB
Buffers: 23600 kB
Cached: 776488 kB
SwapCached: 0 kB
Active: 921584 kB
Inactive: 328760 kB
HighTotal: 1178496 kB
HighFree: 230976 kB
LowTotal: 895696 kB
LowFree: 109564 kB
SwapTotal: 690784 kB
SwapFree: 690784 kB
Dirty: 2136 kB
Writeback: 0 kB
Mapped: 453768 kB
Slab: 473684 kB
CommitLimit: 1727880 kB
Committed_AS: 1080096 kB
PageTables: 1440 kB
VmallocTotal: 114680 kB
VmallocUsed: 2844 kB
VmallocChunk: 109572 kB

[14:12:07 root@w3cache1 /etc/bm]$ cat /proc/net/sockstat
sockets: used 1458
TCP: inuse 2692 orphan 1252 tw 576 alloc 2695 mem 50734
UDP: inuse 3
RAW: inuse 0
FRAG: inuse 0 memory 0

Machine with reiserfs filesystem:

[14:14:58 root@w3cache2 /etc/bm]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 3.8G 2.7G 1.1G 71% /
tmpfs 1013M 0 1013M 0% /dev/shm
/dev/sda3 30G 9.6G 20G 33% /cache0
/dev/sdb1 35G 9.6G 25G 28% /cache1
/dev/sdc1 35G 9.6G 25G 28% /cache2
/dev/sdd1 35G 9.6G 25G 28% /cache3

iostat 1 -x
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.07 17.91 4.86 14.60 56.53 260.25 28.27 130.12 16.27 0.45 23.11 3.41 6.64
sdb 0.07 15.32 4.89 11.03 54.70 210.95 27.35 105.47 16.69 0.34 21.25 3.36 5.35
sdc 0.07 14.95 4.87 10.61 55.03 204.58 27.51 102.29 16.78 0.36 23.31 3.38 5.23
sdd 0.07 15.47 4.91 10.45 55.63 207.57 27.81 103.78 17.13 0.39 25.53 3.38 5.19

avg-cpu: %user %nice %sys %iowait %idle
           1.00 0.00 1.49 6.47 91.04

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 3.00 0.00 32.00 0.00 16.00 0.00 10.67 0.01 3.67 3.67 1.10
sdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdc 0.00 0.00 6.00 0.00 48.00 0.00 24.00 0.00 8.00 0.07 12.33 12.33 7.40
sdd 0.00 0.00 9.00 0.00 72.00 0.00 36.00 0.00 8.00 0.06 6.89 5.89 5.30

avg-cpu: %user %nice %sys %iowait %idle
           1.00 0.00 1.49 6.97 90.55

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdb 1.00 0.00 6.00 0.00 80.00 0.00 40.00 0.00 13.33 0.03 5.33 5.33 3.20
sdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdd 0.00 0.00 15.00 0.00 120.00 0.00 60.00 0.00 8.00 0.14 9.40 6.67 10.00

avg-cpu: %user %nice %sys %iowait %idle
           0.50 0.00 1.51 8.54 89.45

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 8.08 0.00 64.65 0.00 32.32 0.00 8.00 0.05 6.75 6.75 5.45
sdb 0.00 0.00 9.09 0.00 72.73 0.00 36.36 0.00 8.00 0.03 3.22 3.22 2.93
sdc 0.00 0.00 7.07 0.00 56.57 0.00 28.28 0.00 8.00 0.03 4.86 4.86 3.43
sdd 0.00 0.00 21.21 0.00 169.70 0.00 84.85 0.00 8.00 0.07 3.10 3.10 6.57

avg-cpu: %user %nice %sys %iowait %idle
           1.50 0.00 1.50 9.00 88.00

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.98 0.00 15.69 0.00 235.29 0.00 117.65 0.00 15.00 0.05 3.38 2.50 3.92
sdb 0.00 0.00 7.84 0.00 62.75 0.00 31.37 0.00 8.00 0.03 3.88 3.88 3.04
sdc 0.00 0.00 9.80 0.00 78.43 0.00 39.22 0.00 8.00 0.09 9.10 7.70 7.55
sdd 0.00 0.00 10.78 0.00 86.27 0.00 43.14 0.00 8.00 0.03 2.82 2.82 3.04

avg-cpu: %user %nice %sys %iowait %idle
           1.50 0.00 2.00 8.00 88.50

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 85.15 0.00 61.39 0.00 1172.28 0.00 586.14 19.10 0.31 5.02 1.56 9.60
sdb 0.00 51.49 0.00 32.67 0.00 673.27 0.00 336.63 20.61 0.16 5.03 2.36 7.72
sdc 0.00 47.52 0.99 31.68 7.92 641.58 3.96 320.79 19.88 0.10 3.09 0.30 0.99
sdd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

avg-cpu: %user %nice %sys %iowait %idle
           1.01 0.00 2.01 21.11 75.88

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 24.24 3.03 48.48 24.24 581.82 12.12 290.91 11.76 0.21 4.08 2.57 13.23
sdb 0.00 11.11 7.07 51.52 56.57 501.01 28.28 250.51 9.52 1.18 20.21 3.43 20.10
sdc 0.00 10.10 7.07 47.47 56.57 452.53 28.28 226.26 9.33 0.25 4.61 2.65 14.44
sdd 0.00 71.72 0.00 90.91 0.00 1301.01 0.00 650.51 14.31 0.48 5.23 1.21 11.01

[14:15:25 root@w3cache2 /etc/bm]$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r b swpd free buff cache si so bi bo in cs us sy id wa
 0 0 0 221364 312600 624440 0 0 27 25 15 21 5 15 72 8
 0 0 0 220140 312648 624800 0 0 228 0 2559 1098 2 2 85 12
 0 0 0 219164 312664 625056 0 0 56 0 2633 1038 2 2 94 4
 0 0 0 219740 312704 625492 0 0 176 3796 2886 1446 2 4 52 44
 0 0 0 218812 312716 625820 0 0 120 0 2506 929 0 1 93 5
 0 0 0 217668 312768 626176 0 0 172 0 2678 1066 1 2 87 9
 0 0 0 217692 312796 626624 0 0 156 0 2509 1105 1 1 88 10
 0 0 0 216764 312840 626988 0 0 204 0 2802 1537 2 2 85 11
 0 1 0 216532 312864 627372 0 0 112 1128 2718 1184 2 2 82 14
 0 0 0 215676 312892 627616 0 0 40 1820 3011 1213 1 2 75 22

[14:15:57 root@w3cache2 /etc/bm]$ mpstat -P ALL 1
Linux 2.6.12-rc2 (w3cache2) 04/14/05

14:16:18 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:19 all 1.49 0.00 0.50 0.00 0.00 0.50 97.51 2549.00
14:16:19 0 0.00 0.00 0.00 0.00 0.00 0.00 100.00 1001.00
14:16:19 1 3.00 0.00 1.00 0.00 0.00 1.00 96.00 1546.00

14:16:19 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:20 all 1.00 0.00 1.00 1.00 0.00 0.50 96.50 2633.00
14:16:20 0 0.00 0.00 0.00 2.00 0.00 0.00 98.00 1001.00
14:16:20 1 2.00 0.00 1.00 0.00 0.00 1.00 95.00 1632.00

14:16:20 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:21 all 2.02 0.00 1.01 5.05 0.00 0.51 91.41 2680.00
14:16:21 0 0.00 0.00 1.00 2.00 0.00 0.00 97.00 1001.00
14:16:21 1 4.00 0.00 2.00 9.00 0.00 2.00 84.00 1679.00

14:16:21 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:22 all 1.49 0.00 0.99 4.95 0.00 1.49 91.09 2530.69
14:16:22 0 0.99 0.00 0.00 6.93 0.00 0.00 92.08 991.09
14:16:22 1 2.97 0.00 0.99 1.98 0.00 1.98 90.10 1540.59

14:16:22 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:23 all 1.00 0.00 1.00 14.00 0.50 1.50 82.00 2821.00
14:16:23 0 0.00 0.00 1.00 10.00 0.00 0.00 89.00 1001.00
14:16:23 1 1.00 0.00 1.00 19.00 1.00 3.00 76.00 1819.00

14:16:23 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:24 all 1.51 0.00 2.01 27.64 0.00 0.50 68.34 2902.00
14:16:24 0 0.00 0.00 0.00 16.00 0.00 0.00 84.00 1001.00
14:16:24 1 3.00 0.00 5.00 39.00 0.00 2.00 52.00 1902.00

14:16:24 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:25 all 1.00 0.00 1.00 11.00 0.00 1.00 86.00 2599.00
14:16:25 0 1.00 0.00 1.00 15.00 0.00 0.00 83.00 1001.00
14:16:25 1 2.00 0.00 1.00 6.00 1.00 2.00 88.00 1597.00

14:16:25 CPU %user %nice %system %iowait %irq %soft %idle intr/s
14:16:26 all 1.50 0.00 1.00 14.00 0.50 1.00 82.00 2806.06
14:16:26 0 0.00 0.00 0.00 23.23 0.00 0.00 76.77 1011.11
14:16:26 1 3.03 0.00 2.02 5.05 0.00 1.01 89.90 1794.95

Connection information for squid:
      Number of clients accessing cache: 0
      Number of HTTP requests received: 3718206
      Number of ICP messages received: 0
      Number of ICP messages sent: 0
      Number of queued ICP replies: 0
      Request failure ratio: 0.00
      Average HTTP requests per minute since start: 2770.8
      Average ICP messages per minute since start: 0.0
      Select loop called: 78572305 times, 1.025 ms avg
Cache information for squid:
      Request Hit Ratios: 5min: 51.2%, 60min: 46.9%
      Byte Hit Ratios: 5min: 12.2%, 60min: 14.5%
      Request Memory Hit Ratios: 5min: 3.5%, 60min: 1.8%
      Request Disk Hit Ratios: 5min: 42.2%, 60min: 37.5%
      Storage Swap size: 39177764 KB
      Storage Mem size: 65428 KB
      Mean Object Size: 14.67 KB
      Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
      HTTP Requests (All): 0.10857 0.09219
      Cache Misses: 0.58309 0.35832
      Cache Hits: 0.00000 0.00562
      Near Hits: 0.58309 0.33943
      Not-Modified Replies: 0.00000 0.00000
      DNS Lookups: 0.00000 0.00000
      ICP Queries: 0.00000 0.00000
Resource usage for squid:
      UP Time: 80516.091 seconds
      CPU Time: 2336.288 seconds
      CPU Usage: 2.90%
      CPU Usage, 5 minute avg: 3.92%
      CPU Usage, 60 minute avg: 3.73%
      Process Data Segment Size via sbrk(): 372460 KB
      Maximum Resident Size: 0 KB
      Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
      Total space in arena: 372460 KB
      Ordinary blocks: 370737 KB 15621 blks
      Small blocks: 0 KB 0 blks
      Holding blocks: 23420 KB 13 blks
      Free Small blocks: 0 KB
      Free Ordinary blocks: 1722 KB
      Total in use: 394157 KB 100%
      Total free: 1722 KB 0%
      Total size: 395880 KB
Memory accounted for:
      Total accounted: 256280 KB
      memPoolAlloc calls: 488694647
      memPoolFree calls: 483062134
File descriptor usage for squid:
      Maximum number of file descriptors: 32768
      Largest file desc currently in use: 1721
      Number of file desc currently in use: 1352
      Files queued for open: 0
      Available number of file descriptors: 31416
      Reserved number of file descriptors: 100
      Store Disk files open: 33
Internal Data Structures:
      2682196 StoreEntries
       13612 StoreEntries with MemObjects
       13395 Hot Object Cache Items
      2670776 on-disk objects
[14:16:26 root@w3cache2 /etc/bm]$ cat /proc/meminfo
MemTotal: 2074340 kB
MemFree: 174956 kB
Buffers: 315304 kB
Cached: 647100 kB
SwapCached: 0 kB
Active: 904464 kB
Inactive: 549432 kB
HighTotal: 1178560 kB
HighFree: 108992 kB
LowTotal: 895780 kB
LowFree: 65964 kB
SwapTotal: 996020 kB
SwapFree: 996020 kB
Dirty: 4660 kB
Writeback: 0 kB
Mapped: 494916 kB
Slab: 431456 kB
CommitLimit: 2033188 kB
Committed_AS: 1321792 kB
PageTables: 1592 kB
VmallocTotal: 114680 kB
VmallocUsed: 5220 kB
VmallocChunk: 109408 kB

[14:17:09 root@w3cache2 /etc/bm]$ cat /proc/net/sockstat
sockets: used 1337
TCP: inuse 2636 orphan 1320 tw 883 alloc 2640 mem 43256
UDP: inuse 5
RAW: inuse 0
FRAG: inuse 0 memory 0

Both squid are use aufs store algoritm.

Best Regards
Paweł Staszewski
ART-COM
+48327522333
+480609183038
Received on Thu Apr 14 2005 - 06:39:09 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT