This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/9822] reduce timer load


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]