squid-3 testing

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 27 Aug 2003 20:36:33 -0600

Here's the current stats from a squid-3 test. I'm not terribly impressed.

Throughput wise, AUFS is about the same as squid-2.5. No surprises there.
I'll be interested in seeing how squid-3+coss and squid-3+epoll performs.

But, squid seems to be taking an _awfully_ large amount of RAM: ie,

adrian 5815 7.6 5.9 327452 61472 pts/2 S Aug27 81:20 /home/adrian/work/squid/squid3/src/squid -ND

.. which is for an aufs squid w/ 2gig of disk cache. I'm passing a slow (30req/sec)
datacomm-1 load through it.

Here's something I knocked up which prints the _size_ of each of the mapped
reigons. a reigon with a 0 inode number and no file means anonymous RAM..

adrian@mierda:~/work/squid/squid3/src$ perl /home/adrian/work/mierda/utilities/map-usage/map.pl 5815 | more
08048000 0810f000 (815104) r-xp 00000000 21:06 216220 /home/adrian/work/squid/squid3/src/squid
0810f000 08130000 (135168) rw-p 000c6000 21:06 216220 /home/adrian/work/squid/squid3/src/squid
08130000 0981a000 (24027136) rwxp 00000000 00:00 0
40000000 40012000 (73728) r-xp 00000000 21:01 195704 /lib/ld-2.3.2.so
40012000 40013000 (4096) rw-p 00012000 21:01 195704 /lib/ld-2.3.2.so
40013000 40014000 (4096) rw-p 00000000 00:00 0
40020000 40024000 (16384) r-xp 00000000 21:01 195843 /lib/libcrypt-2.3.2.so
40024000 40025000 (4096) rw-p 00004000 21:01 195843 /lib/libcrypt-2.3.2.so
40025000 4004c000 (159744) rw-p 00000000 00:00 0
4004c000 40058000 (49152) r-xp 00000000 21:01 195868 /lib/libpthread-0.10.so
40058000 40059000 (4096) rw-p 0000c000 21:01 195868 /lib/libpthread-0.10.so
40059000 4009b000 (270336) rw-p 00000000 00:00 0
4009b000 400a8000 (53248) r-xp 00000000 21:01 195863 /lib/libresolv-2.3.2.so
400a8000 400a9000 (4096) rw-p 0000d000 21:01 195863 /lib/libresolv-2.3.2.so
400a9000 400ab000 (8192) rw-p 00000000 00:00 0
400ab000 400bb000 (65536) r-xp 00000000 21:01 195849 /lib/libnsl-2.3.2.so
400bb000 400bc000 (4096) rw-p 00010000 21:01 195849 /lib/libnsl-2.3.2.so
400bc000 400bf000 (12288) rw-p 00000000 00:00 0
400bf000 40155000 (614400) r-xp 00000000 21:01 452527 /usr/lib/libstdc++.so.5.0.5
40155000 4016c000 (94208) rw-p 00096000 21:01 452527 /usr/lib/libstdc++.so.5.0.5
4016c000 40171000 (20480) rw-p 00000000 00:00 0
40171000 40192000 (135168) r-xp 00000000 21:01 195847 /lib/libm-2.3.2.so
40192000 40193000 (4096) rw-p 00020000 21:01 195847 /lib/libm-2.3.2.so
40193000 4019a000 (28672) r-xp 00000000 21:01 194019 /lib/libgcc_s.so.1
4019a000 4019b000 (4096) rw-p 00007000 21:01 194019 /lib/libgcc_s.so.1
4019b000 402ad000 (1122304) r-xp 00000000 21:01 195841 /lib/libc-2.3.2.so
402ad000 402b2000 (20480) rw-p 00111000 21:01 195841 /lib/libc-2.3.2.so
402b2000 405dd000 (3321856) rw-p 00000000 00:00 0
4060a000 40612000 (32768) r-xp 00000000 21:01 195855 /lib/libnss_files-2.3.2.so
40612000 40613000 (4096) rw-p 00007000 21:01 195855 /lib/libnss_files-2.3.2.so
40613000 40654000 (266240) rw-p 00000000 00:00 0
40676000 406ba000 (278528) rw-p 00063000 00:00 0
406d6000 41694000 (16506880) rw-p 000c3000 00:00 0
416b5000 416d7000 (139264) rw-p 010a2000 00:00 0
416e2000 41726000 (278528) rw-p 00000000 00:00 0
4173a000 417c2000 (557056) rw-p 00058000 00:00 0
417c8000 4182b000 (405504) rw-p 011b5000 00:00 0
41835000 4189b000 (417792) rw-p 01222000 00:00 0
418a5000 419ff000 (1417216) rw-p 01292000 00:00 0
41a1b000 41afb000 (917504) rw-p 01408000 00:00 0
41b05000 41b27000 (139264) rw-p 014f2000 00:00 0
41b3b000 41b7f000 (278528) rw-p 01528000 00:00 0
41b89000 41c25000 (638976) rw-p 01576000 00:00 0
41c2f000 41d19000 (958464) rw-p 0161c000 00:00 0
41d23000 41dbf000 (638976) rw-p 01710000 00:00 0
41dd3000 41e87000 (737280) rw-p 0016e000 00:00 0
41e91000 41ed5000 (278528) rw-p 0022c000 00:00 0
41edf000 42039000 (1417216) rw-p 0027a000 00:00 0
4204d000 4209b000 (319488) rw-p 003e8000 00:00 0
420aa000 42194000 (958464) rw-p 01a97000 00:00 0
42197000 4223d000 (679936) rw-p 01b84000 00:00 0
42255000 422a3000 (319488) rw-p 01c42000 00:00 0
422b7000 4242f000 (1540096) rw-p 01ca4000 00:00 0
42442000 4249a000 (360448) rw-p 01e2f000 00:00 0
4249d000 425e9000 (1359872) rw-p 01e8a000 00:00 0
425fb000 426ae000 (733184) rw-p 01fe8000 00:00 0
426c2000 42732000 (458752) rw-p 020af000 00:00 0
4273d000 427e7000 (696320) rw-p 0212a000 00:00 0
42805000 4287f000 (499712) rw-p 021f2000 00:00 0
428ca000 428ec000 (139264) rw-p 022b7000 00:00 0
4290c000 429ca000 (778240) rw-p 022f9000 00:00 0
429ec000 42a18000 (180224) rw-p 023d9000 00:00 0
42a1a000 42a3c000 (139264) rw-p 02407000 00:00 0
42a68000 42ab6000 (319488) rw-p 02455000 00:00 0
42ae8000 42b0a000 (139264) rw-p 024d5000 00:00 0
42b2c000 42b4e000 (139264) rw-p 02519000 00:00 0
42b8f000 42bb1000 (139264) rw-p 0257c000 00:00 0
af800000 af801000 (4096) ---p 00000000 00:00 0
af801000 afa00000 (2093056) rwxp 00001000 00:00 0
afa00000 afa01000 (4096) ---p 00000000 00:00 0
afa01000 afc00000 (2093056) rwxp 00001000 00:00 0
afc00000 afc01000 (4096) ---p 00000000 00:00 0
afc01000 afe00000 (2093056) rwxp 00001000 00:00 0
afe00000 afe01000 (4096) ---p 00000000 00:00 0
afe01000 b0000000 (2093056) rwxp 00001000 00:00 0
b0000000 b0001000 (4096) ---p 00000000 00:00 0
b0001000 b0200000 (2093056) rwxp 00001000 00:00 0

[snip..]
bf601000 bf800000 (2093056) rwxp 00001000 00:00 0
bffd8000 c0000000 (163840) rwxp fffd9000 00:00 0
Total anon mem: 332595200

.. which, is quite scary. Because:

        Storage Swap size: 1905292 KB
        Storage Mem size: 3791077 KB
        Mean Object Size: 15.49 KB

Now, I'm going to do a little poking to see if I can find where it is _but_
its not showing up in MemPools.

Any suggestions?

Adrian
Received on Wed Aug 27 2003 - 20:36:40 MDT

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