public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Hardware Latency Detector (formerly SMI detector)
@ 2009-06-11  4:58 Jon Masters
  2009-06-11  4:58 ` [PATCH 1/1] hwlat_detector: A system hardware latency detector Jon Masters
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Masters @ 2009-06-11  4:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, tglx, mingo, rostedt

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-22 21:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11  4:58 [PATCH 0/1] Hardware Latency Detector (formerly SMI detector) Jon Masters
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox