httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Chuguev" <>
Subject Re: mod_disk_cache and atimes
Date Wed, 26 Mar 2008 15:15:06 GMT
Hi Dirk-Willem,

Can you please clarify your mentioning the bucket-brigade footprint?  
Are they so slow they make memory-based cache no more efficient then  
disk-based one? Or the opposite: sendfile() works so well that serving  
content from memory is not any faster?

I'm developing an Apache output filter for highly loaded servers and  
proxies that juggles small-size buckets and brigades extensively. I'm  
not at the stage yet where I can do performance tests but if I knew  
this would definitely impact performance, I would perhaps switch to  
fixed-size buffers straight away...

Thank you.

On 26 Mar 2008, at 14:43, Dirk-Willem van Gulik wrote:
> On Mar 25, 2008, at 8:04 PM, Akins, Brian wrote:
>> Use really small files so you won't fill up pipe.  Using 1 1x1 gif,  
>> I run
>> out of CPU before I run out of bandwidth.
> Agreed. This is what I was working on.
>> My cache size is smaller and is in /dev/shm.
> In that case - you are not going to see any delta with a mem-disk or  
> real disk :). I am hoping that mod_mem_cache can be made faster  
> though -- as it can in theory dispense with a lot more than just  
> mod_memmap. But the footprint of the bucked-brigades seems such that  
> it barely matters (and I am right now stuck on the CPU which has the  
> ethernet card its IRQ beeing way too afine).
> Dw

View raw message