All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Masters <jonathan@jonmasters.org>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, tglx@linutronix.de, mingo@elte.hu,
	rostedt@goodmis.org
Subject: [PATCH 0/1] Hardware Latency Detector (formerly SMI detector)
Date: Thu, 11 Jun 2009 00:58:29 -0400	[thread overview]
Message-ID: <20090611045829.714510042@jonmasters.org> (raw)

Hi folks,

Please find attached my second re-write of the SMI detector, now called the
Hardware Latency Detector. This is a loadable module that grabs the CPU for
configurable periods of time (all under stop_machine()) and samples the TSC
looking for discontinuity. If observed latencies exceed a threshold (for
example caused by an System Management Interrupt or similar) then the
event is recorded in a global ring_buffer, readable via debugfs.

The previous version was too x86-centric, since there is no reason one could
not also use this newly renamed hwlat_detector on any supported platform with
some kind of underlying firmware/virtualization issues effecting observable
system latency measurements.

Thanks to akpm and others for feedback comments so far.

Changes since the previous version:

- Renamed to hwlat_detector
- Followed Andrew's cleanup advice
- Rewritten the documentation

Jon.

             reply	other threads:[~2009-06-11  4:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11  4:58 Jon Masters [this message]
2009-06-11  4:58 ` [PATCH 1/1] hwlat_detector: A system hardware latency detector Jon Masters
2009-06-22 19:17   ` Andrew Morton
2009-06-22 20:58     ` Jon Masters
2009-06-22 21:20       ` Andrew Morton
2009-06-22 21:26         ` Jon Masters

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=20090611045829.714510042@jonmasters.org \
    --to=jonathan@jonmasters.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /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.