distributed-system-analysis / pbench

A benchmarking and performance analysis framework
http://distributed-system-analysis.github.io/pbench/
GNU General Public License v3.0
186 stars 108 forks source link

RFE: oc tool for bench, use windowed samples vs. rolled up profiles. #186

Open timothysc opened 8 years ago

timothysc commented 8 years ago

Currently we the register-tool --name=oc ... ​ gives us a rolled up aggregate profile of the code vs a windowed sampling which can be done via the web-connection.  

This issue is a RFE to request to collect pprof data periodically via the default 30 second window size.

e.g. - collect once a minute over the run, each snapshot takes 30 seconds to run.

/cc @jeremyeder

jeremyeder commented 8 years ago

I think @ofthecurerh might already have a working prototype. @ofthecurerh @ekuric can you guys coordinate on who will do this?

ekuric commented 8 years ago

@jeremyeder @timothysc @ofthecurerh I will work on this, need to include #158 too, are we now just looking into web profile, leaving out cpu/mem one?

timothysc commented 8 years ago

web will yield whatever type of data you are looking for be it cpu or memory. The current profile dump of cpu | memory happens from the start time of the process and can be skewed as a result.

Ideally I would like to see the window in which there was a spike, vs. getting a larger view where that spike is averaged away.

jeremyeder commented 8 years ago

Hmm @atheurer have you any existing examples of driver scripts that leverage pbench-tool-trigger ? We could say ... when cpu > X then scrape pprof web endpoint?

On Thu, Mar 10, 2016 at 11:11 AM, Timothy St. Clair < notifications@github.com> wrote:

web will yield whatever type of data you are looking for be it cpu or memory. The current profile dump of cpu | memory happens from the start time of the process and can be skewed as a result.

Ideally I would like to see the window in which there was a spike, vs. getting a larger view where that spike is averaged away.

— Reply to this email directly or view it on GitHub https://github.com/distributed-system-analysis/pbench/issues/186#issuecomment-194929012 .

-- Jeremy Eder