Tune reader_thread poll timeout value
Frank Ch. Eigler
fche@redhat.com
Tue May 15 14:25:00 GMT 2012
Hi, Frederic -
f-turgis wrote:
> [...]
> - with high value such as 5 seconds, low throughput trace is dumped
> only every 5s. So of course, do not use probe timer.s(1) to get
> trace dumped every s on command line, you will have 5 correct infos
> in 1 shot every 5s.
>
> - no impact in performance, when trace throughput is high, ppoll()
> returns before timeout expires. [...]
I'm missing something. Why does the second item not moot the first?
IOW, if we poll with a 5s timeout, why wouldn't the timer.s(1) reports
wake up the ppoll() to avoid waiting till 5s?
- FChE
More information about the Systemtap
mailing list