From: Matthieu Bec <mbec@gmto.org>
To: linux-rt-users@vger.kernel.org
Subject: good load / stress suite?
Date: Tue, 15 May 2012 16:08:13 -0700 [thread overview]
Message-ID: <4FB2E1DD.7020203@gmto.org> (raw)
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
next reply other threads:[~2012-05-15 23:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 23:08 Matthieu Bec [this message]
2012-05-16 1:55 ` good load / stress suite? Steven Rostedt
2012-05-16 15:55 ` Clark Williams
2012-05-19 0:17 ` Matthieu Bec
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=4FB2E1DD.7020203@gmto.org \
--to=mbec@gmto.org \
--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 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.