LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* PREEMPT_RT + HRT latencies on x86_64 SMP.
@ 2007-01-31 23:24 Stelian Pop
0 siblings, 0 replies; only message in thread
From: Stelian Pop @ 2007-01-31 23:24 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Ingo Molnar, Thomas Gleixner, Philippe Gerum
I have a dual Opteron dual-core machine here and while it behaves quite
well on PREEMPT_RT when using the clock_nanosleep() tests, it doesn't
work so well when using the timer primitives.
I ran the tests on 2.6.20-rc6-rt6 - using the precompiled x86_64 kernel
from Ingo's yum repository. The box is running RHEL 4, libc 2.3.4.
The latencies are reproductible even without any specific load and even
when using cyclictest on one or two threads only:
./cyclictest -b 10000 -t 2 -p 90
1) a standard run gives a few latencies, like in:
0.57 0.16 0.32 1/150 3754
T: 0 ( 3732) P:90 I:1000 C: 10109 Min: 46 Act: 95 Avg: 93 Max: 240
T: 1 ( 3733) P:89 I:1500 C: 6741 Min: 52 Act: 92 Avg: 93 Max: 178
Are the maximum latencies observed here (values around 200-300 us are
common) the expected ones ? Or are they caused by some problems which
needs to be investigated ?
2) some big latencies (>10 ms) are observed in some conditions. I
haven't been able to point out exactly what external activity - if any -
causes this, but it seems to happen every 10 minutes or so :
1.82 1.86 1.53 6/150 3658
T: 0 ( 3621) P:90 I:1000 C:1596828 Min: 20 Act: 25 Avg: 93 Max: 512
T: 1 ( 3622) P:89 I:1500 C:1064525 Min: 53 Act: 95 Avg: 94 Max: 15586
I have captured a latency trace for the above run (using cyclictest -b
as shown above), but I'm not sure it makes much sense. It weights almost
4 MB, so I'll not put in inline, get it from:
Any idea ?
Stelian Pop <email@example.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-31 23:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 23:24 PREEMPT_RT + HRT latencies on x86_64 SMP Stelian Pop
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).