* [Bug runtime/16603] New: time loss-of-synchrony on fluctuating-cpufreq unsynchronized-tsc boxes
@ 2014-02-18 17:40 fche at redhat dot com
2014-02-18 20:17 ` [Bug runtime/16603] " fche at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2014-02-18 17:40 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=16603
Bug ID: 16603
Summary: time loss-of-synchrony on fluctuating-cpufreq
unsynchronized-tsc boxes
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
On some old boxes (AMD Athlon(tm) X2 Dual Core Processor BE-2300)
and perhaps NUMA ones, TSC values are not synchronized across cores,
and CPUFREQ changes give a good workout for the runtime/time.c code.
One assumption in the cpufreq notification callback has been found
to be invalid with modern kernels: that the notifier is itself
executed on the CPU whose frequency changed. If it isn't, we cannot
update together the then-correct base time/get_cycles pair. That
can lead to wild jumps or drifts of time.
global t
probe timer.profile { t[cpu()]=gettimeofday_s() }
probe timer.s(1) { foreach (c in t) printf("%d %s ", c, ctime(t[c]))
printf("\n") }
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/16603] time loss-of-synchrony on fluctuating-cpufreq unsynchronized-tsc boxes
2014-02-18 17:40 [Bug runtime/16603] New: time loss-of-synchrony on fluctuating-cpufreq unsynchronized-tsc boxes fche at redhat dot com
@ 2014-02-18 20:17 ` fche at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2014-02-18 20:17 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=16603
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
commit 590a9ae1acc4
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-18 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18 17:40 [Bug runtime/16603] New: time loss-of-synchrony on fluctuating-cpufreq unsynchronized-tsc boxes fche at redhat dot com
2014-02-18 20:17 ` [Bug runtime/16603] " fche at redhat dot com
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 read-only IMAP folder(s) and NNTP newsgroup(s).