Re: mempools conversions, more ..

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 8 Oct 2000 13:49:28 +0800

On Fri, Oct 06, 2000, Andres Kroonmaa wrote:

> From current running (quite idle) squid,
> Given (1 min averages):
>
> comm_accept 1749 29.15 /sec
> comm_open 700 11.67 /sec
> comm_close 1550 25.83 /sec
> comm_connect_addr 1421 23.68 /sec
> storeRelease 1045 17.42 /sec
> comm_udp_sendto 894 14.90 /sec
>

Ok. 30 req/second ?

> We do:
>
> memPoolAlloc 201818 3363.63 /sec
> memPoolFree 197610 3293.50 /sec
> xfree 23207 386.78 /sec
> xmalloc 57803 963.38 /sec
> xcalloc 12083 201.38 /sec
> xstrncpy 21615 360.25 /sec
> xstrdup 35825 597.08 /sec
> xstrndup 1530 25.50 /sec
> xrealloc 2 0.03 /sec
>
> hell of alot, I'd say.

Yum. Jesus, thats a lot of memory usage. at 30 requests/second thats
a LOT of calls to mempoolalloc/mempoolfree. Do you have any hints as to
what exactly is abusing memory that bad? I can think of a few places
myself in the storage manager .. :-)

adrian

-- 
Adrian Chadd			"If a butterfly flaps its wings in China,
<adrian@creative.net.au>	    will a woman get naked in Amsterdam?"
				      -- Ashley Penney on Chaos Theory
Received on Sat Oct 07 2000 - 23:49:36 MDT

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