Tune reader_thread poll timeout value

Mark Wielaard mjw@redhat.com
Wed May 2 08:46:00 GMT 2012


On Tue, 2012-05-01 at 20:09 +0000, Turgis, Frederic wrote:
> The last non tunable or small duration source of wake-up is
> "reader_thread" ppoll timeout value, every 200ms. We compile systemtap
> with a value of 2s or more for our daily use.
> 
> So I am proposing to introduce tunables below as an example. Don't
> know if I should have correlated s and ns, also don't know if this
> should also be applied to relay_old.c. Please tell me if this is an
> acceptable change:

I agree with Frank that it would be nicer to have one "tunable" instead
of two. Also don't forget to add some small documentation to stap.1
describing the default value and implications of tuning it higher/lower.

Thanks,

Mark



More information about the Systemtap mailing list