On 10/18/2011 11:19 AM, Shaun McGinnity wrote:
Hi,

We have run some performance tests using the null-plugin transform example.

The test is a simple forward-proxy configuration fetching content from servers 
on our internal network.

With no plugins loaded traffic server runs at ~40% CPU. When we enable the 
plugin the CPU usage jumps to ~50% for the same transaction rate.

Is this increase in CPU to be expected? It seems rather large for a transform 
that is just reading and writing data.

Any advice is appreciated.



I suspect this is as expected, but I'd have to do some tests myself (but feel free to do some valgrind/callgrind tests to get some ideas). There is going to be overhead doing a transform, because it enabled additional code in the processing of the response bodies, regardless if it's a "no-op" or not.

-- leif

Reply via email to