All of lore.kernel.org
 help / color / mirror / Atom feed
* Non-Preempt Test v1.01
@ 2013-10-14 19:05 Raphaël Beamonte
  2013-10-14 22:04 ` Aaron Fabbri
  0 siblings, 1 reply; 4+ messages in thread
From: Raphaël Beamonte @ 2013-10-14 19:05 UTC (permalink / raw)
  To: linux-rt-users, lttng-dev; +Cc: lwn

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

Hi all !

I just released the Non-Preempt Test (npt) version 1.01 which is
available here: http://git.dorsal.polymtl.ca/?p=npt.git

The purpose of this tool is to simulate a small real-time system that
runs with a high priority without being stopped or preempted. To do so,
it first sets its environment (cpu affinity, RT scheduler, memory locked
into RAM with mlockall) and can optionally disable the local IRQs if
compiled with the right options (not defined by default).

The core of the application is a loop that calculates the time gap
between the start of two consecutive loops using the rdtsc asm
instruction, thus a similarity with the hwlat_detector kernel module for
kernel analysis. At the end of its execution, npt computes latencies
statistics for each loop and generates a histogram showing the different
latencies reached and the number of time it reached each one.

This tool can be used to analyse and identify overhead of different
realtime applications as we can compare the latencies in each loops and
thus identify the added latency from a "blank" run. It is released
LTTng-ready and can thus be easily traced. Next versions could include
other userspace tracers ability.

Feedback, collaborations and contributions are welcome!

Regards,
Raphaël Beamonte


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2013-10-16  0:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 19:05 Non-Preempt Test v1.01 Raphaël Beamonte
2013-10-14 22:04 ` Aaron Fabbri
2013-10-15 18:46   ` Raphaël Beamonte
2013-10-16  0:10     ` Aaron Fabbri

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.