linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Clark Williams <williams@redhat.com>
To: Isaac Griswold-Steiner <isaac.griswold.steiner@gmail.com>
Cc: jkacur@redhat.com, linux-rt-users@vger.kernel.org, joshc@ni.com,
	Isaac Griswold-Steiner <isaac.griswoldsteiner@ni.com>
Subject: Re: [PATCH RFC] rdtscbench: a nohz_full validation and benchmarking tool
Date: Fri, 11 Dec 2015 14:40:27 -0600	[thread overview]
Message-ID: <20151211144027.099b2fa0@sluggy.hsv.redhat.com> (raw)
In-Reply-To: <1440189958-6959-1-git-send-email-isaac.griswoldsteiner@ni.com>

On Fri, 21 Aug 2015 15:45:58 -0500
Isaac Griswold-Steiner <isaac.griswold.steiner@gmail.com> wrote:

> From: Isaac Griswold-Steiner <isaac.griswoldsteiner@ni.com>
> 
> rdtscbench is a cyclictest-like tool that spawns a thread per cpu. Each thread
> measures the difference in cycle count (using the tsc) during the execution of a
> tight loop.
> 
> This is a simple tool intended to be used for the validation of nohz_full CPU
> configurations. As the validation of nohz_full CPUs is the objective, the tool
> avoids the usage of system calls, timers, or anything that might break nohz_full.
> 


Isaac,

A question and a request.

Was there any particular reason you used sleep() rather than clock_nanosleep() in your cycles_per_second function? I see that you did ten samples but wondered if the slop from a HZ-based wakeup might still introduce some error, as opposed to a more precise programmed wakeup. 

Also, I'd appreciate it if you would expand a bit on the usage section in your README file, specifically how you tune a system prior to running rdtscbench, what output indicates that your tuning is *not* working, versus when to know you're doing the right things. It's probably as simple as saying "if the max latency numbers are spiking you have a problem" but it's good to be explicit about that sort of thing. 

Thanks,
Clark

  parent reply	other threads:[~2015-12-11 20:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 20:45 [PATCH RFC] rdtscbench: a nohz_full validation and benchmarking tool Isaac Griswold-Steiner
2015-12-11 16:26 ` Sebastian Andrzej Siewior
2015-12-11 16:44   ` Clark Williams
2015-12-11 20:40 ` Clark Williams [this message]
     [not found]   ` <CAGt1KTzAuFcOez1mq9m1Cs7=dEOyS_Q8aBNfjfdx_x_2Mg0ePg@mail.gmail.com>
2015-12-18 15:40     ` Clark Williams
2015-12-21 13:15       ` John Kacur
2015-12-23 20:26         ` Isaac Griswold-Steiner
2015-12-23 20:43         ` [PATCH v2 " Isaac Griswold-Steiner

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=20151211144027.099b2fa0@sluggy.hsv.redhat.com \
    --to=williams@redhat.com \
    --cc=isaac.griswold.steiner@gmail.com \
    --cc=isaac.griswoldsteiner@ni.com \
    --cc=jkacur@redhat.com \
    --cc=joshc@ni.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).