All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Rowand <frank.rowand@am.sony.com>
To: "Rowand, Frank" <Frank_Rowand@sonyusa.com>
Cc: Bhavesh Davda <bhavesh@vmware.com>,
	"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>,
	John Kacur <jkacur@redhat.com>
Subject: Re: [PATCH RT-TESTS] cyclictest: histogram overflow instance tracking
Date: Thu, 25 Oct 2012 15:05:30 -0700	[thread overview]
Message-ID: <5089B7AA.9040507@am.sony.com> (raw)
In-Reply-To: <5089B0DA.2010909@am.sony.com>

On 10/25/12 14:36, Frank Rowand wrote:
> On 10/16/12 10:02, Bhavesh Davda wrote:
>> From: Bhavesh Davda <bhavesh@vmware.com>
>>
>> Add feature to cyclictest histogram mode to track cycle counts every time a
>> sample overflows the histogram limit. This should help identify if there is a
>> timing pattern to jitters in cyclictest runs.
>>
>> Example output (with -h 10):
>>  ...
>>  Histogram Overflows: 00001 00007 00000 00009 00004 00007 00000 00001
>>  Histogram Overflow at cycle number:
>>  Thread 0: 09964
>>  Thread 1: 00000 00004 00006 00008 00010 09962 11594
>>  Thread 2:
>>  Thread 3: 01169 04698 06782 09033 10299 11561 21517 28734 29532
>>  Thread 4: 11574 11580 11583 11586
>>  Thread 5: 00020 09448 13954 14954 18954 20587 24973
>>  Thread 6:
>>  Thread 7: 18950
>>  ...
>>
>> Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
> 
> My comments up to "--" are not meant to be part of the header of the
> following patch.
> 
> I am including the following patch as my review of the patch I am
> replying to.  If the following patch is incorporated into the

One further thought...  The histogram overflow cycle report shows
what cycle the overflow occurred in, not the actual time.  Adding
the merged for all threads cycle times works because the histogram
turns off the "different intervals for different threads" option:

                if (!histogram) /* same interval on CPUs */
                        interval += distance;

but if that ever changes then cycle is not a useful value to be
reporting.

So it seems like it would be useful to convert cycle to a time
in the report.  This is something that would have to be done
anyway in post processing when trying to make use of the report.

-Frank


  reply	other threads:[~2012-10-25 22:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16 17:02 [PATCH RT-TESTS] cyclictest: histogram overflow instance tracking Bhavesh Davda
2012-10-23  1:16 ` Frank Rowand
2012-10-23  1:41   ` Frank Rowand
2012-10-23 18:59     ` Bhavesh Davda
2012-10-23 19:25       ` John Kacur
2012-10-23 19:55         ` Frank Rowand
2012-10-23 19:59           ` Sven-Thorsten Dietrich
2012-10-25 21:36 ` Frank Rowand
2012-10-25 22:05   ` Frank Rowand [this message]
2012-11-13 23:41     ` Frank Rowand
2012-11-13 23:41   ` Frank Rowand
2012-11-13 23:48     ` Bhavesh Davda
2012-11-13 23:53       ` John Kacur
2012-11-14  0:02         ` Frank Rowand
2012-11-14  0:03         ` Bhavesh Davda
2012-11-14  0:04           ` Bhavesh Davda
2012-11-14  0:09             ` John Kacur
2012-11-14  0:17               ` Bhavesh Davda
2012-11-14  0:19                 ` John Kacur

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=5089B7AA.9040507@am.sony.com \
    --to=frank.rowand@am.sony.com \
    --cc=Frank_Rowand@sonyusa.com \
    --cc=bhavesh@vmware.com \
    --cc=jkacur@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.