This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/9822] reduce timer load
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 4 Feb 2009 23:41:45 -0000
- Subject: [Bug runtime/9822] reduce timer load
- References: <20090204222045.9822.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mhiramat at redhat dot com 2009-02-04 23:41 -------
(In reply to comment #0)
> - the runtime/time.c timekeeping widgetry that uses jiffies to keep the per-cpu
> khz estimates updated
This ensures the accuracy of the self-own version of gettimeofday_*.
- if the script doesn't use gettimeofday_*, just disable timer. And if the
script use gettimeofday_s, increase the timer interval.
or
- after cpu-khz estimating period, don't use timer(or increase interval to 1sec)
until cpu-freq is changed.
or
- improve upstream kernel not to use locks.
> - the runtime/transport/utt.c stuff that flushes buffers to userspace
This is for avoiding deadlock of global timer lock. I think one possible
solution is using tracepoint in scheduler to wakeup waiting reader thread as
ftrace do.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9822
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.