httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: -DALLOC_STATS
Date Tue, 20 Apr 1999 18:46:47 GMT


On Tue, 20 Apr 1999 TOKILEY@aol.com wrote:

> In a message dated 99-04-20 12:16:24 EDT, Dean Gaudet.
> 
> > The children inherit their counters from the parent ... so subtract
> >  7 mallocs from and 57428 bytes from all the child numbers.  So the
> >  children called malloc 4 times, and allocated a total of 32824 bytes.
> 
> Good stats. It shows that Apache is not 'malloc'ing its brains out, anyway.
> I guess 4 mallocs per child is no big deal unless you get really anal and
> whip out your calculator and start multiplying by thousands of requests.

I don't know why I'm continuing to reply.

Dude, that was 10000 requests.

That's 4 mallocs total, each child served over 1000 requests.  Do the
math.

> But what were the actual requests' coming in? 

I told you, you didn't read my post. 

> What if the request is so simple it doesn't even warrant this sort of 
> overhead? 
> That's where the 'select' based model kicks in.
> 
> I guess we are already being a little 'anal' here...
> But when the gloves come off... microseconds DO count.
> 
> 


Mime
View raw message