Re: sched-devel feedback

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andr? Goddard Rosa <andre.goddard@...>
Cc: Peter Zijlstra <a.p.zijlstra@...>, Mike Galbraith <efault@...>, <linux-kernel@...>
Date: Thursday, September 27, 2007 - 2:54 am

* Andr? Goddard Rosa <andre.goddard@gmail.com> wrote:


cool! :-)


i'm wondering, in previous schedulers, under what situations did you 
notice smoothness problems? Was the scenario in any way deterministic, 
or just random delays that are hard to describe?

Just in case you have smoothness problems in the future, a good way of 
measuring it objectively is to enable CONFIG_SCHED_DEBUG=y and 
CONFIG_SCHEDSTATS=y and to monitor the se.wait_max field in the 
/proc/PID/tasks/*/sched file[s].

Every time there's some ruckle or other smoothness problem, that field's 
value should increase. (a few milliseconds up to a few dozen 
milliseconds is fine normally - anything above 100 msecs is probably 
less fine.) By looking at that latency field you can compare two 
kernels. (And by echoing 0 to the sched file you can clear these stats.) 

So by saying "under .23-rc8 se.wait_max was 50 msecs while in .24-rc1 it 
increased to 250 msecs" everyone can effectively complain to us about 
smoothness problems :-)


you are welcome!

	Ingo
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sched-devel feedback, André Goddard Rosa, (Wed Sep 26, 9:28 pm)
Re: sched-devel feedback, Ingo Molnar, (Thu Sep 27, 2:54 am)