[LTP] [PATCH v2] [RFC] pselect01: Tune thresholds

Cyril Hrubis chrubis@suse.cz
Mon May 15 14:36:28 CEST 2017


Hi!
> while looking at fs/select.c I noticed that it also takes
> current->timer_slack_ns into account and uses that if 
> slack is smaller. Would it make sense to add ...?
>   slack_per_scall = MAX(slack_per_scall, prctl(PR_GET_TIMERSLACK) / 1000);
> The default is 50us, so maybe the 250us in formula covers this already?

I guess that the 50us is included in the 250us already. So what about
adding the line you sugests and decreasing the 250us to 200us?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list