On Wed, Nov 17, 2010 at 11:33:50PM -0800, Andrew Morton wrote:
Yeah, I just use PCP to tell me what the CPU usage is in a nice
graph. The link below is an image of the "overview" monitoring tab I
have - total CPU, IOPS, bandwidth, XFS directory ops and context
switches. Here's the behaviour an increasing number of dd's with
this series looks like:
http://userweb.kernel.org/~dgc/io-less-throttle-dd.png
Left to right, that 1 dd, 2, 4, 8, 16 and 32 dd's, then a gap, then
the 8-way fs_mark workload running. These are all taken at a 5s
sample period.
FWIW, on the 32 thread dd (the right most of the set of pillars),
you can see the sudden increase in system CPU usage in the last few
samples (which corresponds to the first few dd's completing and
exiting) that I mentioned previously.
Basically, I'm always looking at the total CPU usage of a workload,
memory usage of caches, etc, in this manner. Sure, I use stuff like
time to get numbers to drop out of test scripts, but most of my
behavioural analysis is done through observing differences between
two charts and then looking deeper to work out what changed...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--