lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 01 Feb 2007 00:24:22 +0100
From:	Stelian Pop <stelian@...ies.net>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc:	Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
	Philippe Gerum <rpm@...omai.org>
Subject: PREEMPT_RT + HRT latencies on x86_64 SMP.

Hi,

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:
	http://www.popies.net/tmp/latency-trace-1

Any idea ?

Thanks,
-- 
Stelian Pop <stelian@...ies.net>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ