Hiya,

This is a simple hack to attempt to remove the mempoolalloc/free
done for each comm_write(). This is against squid-2.6.

http://www.creative.net.au/diffs/20060811-comm-1.diff

Its dirty and meant as a proof of concept.
I noticed that ~8% of the total mempool allocations in some of my
profiling was just allocating and freeing the single instance
of CommWriteStateData that fd_table[fd].rwstate would point to.

I'd like some comments please.




Adrian

Reply via email to