Re: Performance tuning advice for plugin

2015-03-11 Thread Otto van der Schaaf
With regard to rescheduling and latency: For ats_pagespeed, changing the fast_signal argument's default from false to true in I_EThread::schedule helped improve latency when scheduling an event from an external thread pool (up to 5 ms per scheduled operation). This ticket [1] at least documents th

RE: Performance tuning advice for plugin

2015-03-11 Thread Bardwell, William
Latency problems with transforms could be missing TSVIOReenable() or TSContCall() to wake up the other sides. Look very carefully at some of the sample uses of Transforms (null-transform append-transform) and try to match the pattern. -William Bardwell

Re: Performance tuning advice for plugin

2015-03-11 Thread Nick Kew
On Wed, 2015-03-11 at 03:10 -0500, Brian Rectanus wrote: > I certainly have some cycles if someone can help point me in the right > direction. Right now I am at a loss as to where to dig. Profiler just shows > a lot of nothing (epoll) happening as you wrote. Hmmm. Is this with or without asynchro

Re: Performance tuning advice for plugin

2015-03-11 Thread Brian Rectanus
I certainly have some cycles if someone can help point me in the right direction. Right now I am at a loss as to where to dig. Profiler just shows a lot of nothing (epoll) happening as you wrote. 10sec @ 10ms polling under full load on CentOS 7 w/8x X5660 @ 2.80GHz shows... total

Re: Performance tuning advice for plugin

2015-03-11 Thread Brian Geffon
I've also observed unexplained latency when it comes to transformations, I think it's time that we dig into this more. The reason we're observing an increase in latency without a corresponding increase in CPU load is because TS simply isn't doing anything, it appears that it's just rescheduling tra

Performance tuning advice for plugin

2015-03-11 Thread Brian Rectanus
All, I am looking for advice on tuning performance of a plugin. As some may know, I have a plugin for trafficserver (using 4.2.2 w/hwloc) that does a lot of inspection of the http traffic (github/ironbee). As such, it can introduce a fair amount of latency due to what should be high CPU usage pars