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>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 07 Jul 2008 14:16:49 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] sched_clock updates

Working with ftrace on linux-tip, I found a few problems with the sched_clock
code that is suppose to help an unstable TSC keep accurate time. The
problem I was seeing was on a box with a stable TSC. The time would
jump around a lot. One would think that code to help unstable TSC keep
time would not be a problem with a stable TSC.

The main change was the patch that handled the dynamic ticks. That was
the culprit of bein off by several jiffies.

With these patches applied, ftrace is quite a bit better with respect to time.
But there is still jumps that happen that do not happen with sched_clock.

I'm suspecting that the problems that still exist have more to do with
time updates or a drift between the TSC and the clock used for GTOD.

Anyway, enjoy,

-- Steve

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