Obtaining CPU time and wait time for Sysbench runs

Asked by Dan FitzGerald on 2014-10-23

I've been doing some research into the execution time values returned by SysBench. If I understand it correctly, "Total Time" is the end-to-end (wall) time of the benchmarks, whereas "Total Time Taken by Event Execution" is the sum of the wall times taken by each benchmark thread.

Is there any way to determine the CPU time (process time) or the wait time (I/O wait time) of a SysBench run?

Question information

Language:
English Edit question
Status:
Answered
For:
sysbench Edit question
Assignee:
No assignee Edit question
Last query:
2014-10-23
Last reply:
2014-10-24
Alexey Kopytov (akopytov) said : #1

> I've been doing some research into the execution time values returned by SysBench. If I understand it correctly, "Total Time" is the end-to-end (wall) time of the benchmarks, whereas "Total Time Taken by Event Execution" is the sum of the wall times taken by each benchmark thread.

That’s correct.

> Is there any way to determine the CPU time (process time) or the wait time (I/O wait time) of a SysBench run?

No, people usually run vmstat/iostat in parallel to collect those kinds of stats.

Can you help with this problem?

Provide an answer of your own, or ask Dan FitzGerald for more information if necessary.

To post a message you must log in.