linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* good load / stress suite?
@ 2012-05-15 23:08 Matthieu Bec
  2012-05-16  1:55 ` Steven Rostedt
  0 siblings, 1 reply; 4+ messages in thread
From: Matthieu Bec @ 2012-05-15 23:08 UTC (permalink / raw)
  To: linux-rt-users

Hello all,

I was wondering what people used to check RT_PREEMPT behavior under 
load/stress?

I'm trying to test the accuracy of my timers and have a test where I 
setup a kernel module with an hr-timer flipping RTS bit on serial COM0 
periodically, which I can look on an oscilloscope. the scope triggers on 
rising edge, I call jitter what shows on the falling side:
under no specific load I get ~ 10 us (worst case waiting a long time)


My initial idea for stressing the system was to compile a kernel, make 
-j 8 (#cores) that I thought would exercise CPU and IO if anything. As 
it happens, it's "mostly good" but I do get occasional (but repeatable) 
wild excursions (>100us)

Looking around, I found a tool called 'stress' - 
http://weather.ou.edu/~apw/projects/stress/
Under these new conditions, the system behaves really well again ~20 us 
stable all the way.

So both tests give different result, I'm not sure which to trust.
I was thinking maybe there is some weird interaction with the kernel and 
building the kernel that make the 'bad' test invalid?

I have RT_PREEMPT 3.0.18-rt34 SMP x86_64

Thanks,
-- 
Matthieu


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

end of thread, other threads:[~2012-05-19  0:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 23:08 good load / stress suite? Matthieu Bec
2012-05-16  1:55 ` Steven Rostedt
2012-05-16 15:55   ` Clark Williams
2012-05-19  0:17     ` Matthieu Bec

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).