Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: Francis.Giraldeau@USherbrooke.ca (Francis Giraldeau)
Subject: [ltt-dev] Experiments on CPU time statistics
Date: Thu, 11 Nov 2010 16:05:18 -0500	[thread overview]
Message-ID: <20101111160518.258760q9al0bhgw8@www.usherbrooke.ca> (raw)
In-Reply-To: <20101111185944.GA27102@Krystal>

Mathieu Desnoyers <compudj at krystal.dyndns.org> a ?crit?:
>> =================================================
>> trace-bonnie.sh : start bonnie++ process for 10s
>>
>> time statistics:
>> real	0m10.715s
>> user	0m0.420s
>> sys	0m6.350s
>>
>>
>> lttv statistics:
>> events count        : 11088588
>> cpu time            : 80.051904112
>
> cpu time should be good. How many cores does you machine have ? 8 ?

Thanks for explainations. Yes, the system has 8 cores. The maximum CPU  
time for 1 second is hence 8 seconds.

>> =================================================
>> sleep 1s : start a sleep of 1s
>>
>> time statistics:
>> real	0m1.002s
>> user	0m0.000s
>> sys	0m0.000s
>>
>>
>> lttv statistics:
>> cpu time            : 7.841686487

How then can we explain that on an idle system, the CPU time is yet  
(almost) the number of CPUs times the trace duration?

Cheer,

Francis





      parent reply	other threads:[~2010-11-11 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 17:50 Francis Giraldeau
2010-11-11 18:59 ` Mathieu Desnoyers
2010-11-11 19:23   ` Michel Dagenais
2010-11-11 21:05   ` Francis Giraldeau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101111160518.258760q9al0bhgw8@www.usherbrooke.ca \
    --to=francis.giraldeau@usherbrooke.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox