Re: Linux scheduler Implementation details

From: Nick Piggin
Date: Fri Feb 27 2004 - 04:26:14 EST




Sonika Sachdeva wrote:

Hello List,

I want to simulate the Linux Scheduler, ie Calculate the priorities, counters
and define to some extent how much time a given process will take to execute on
the system. Can anyone suggest some pointers?



It is all in kernel/sched.c, so you can just make a simulator and
plug that code in.

This will perfectly model the scheduler behaviour given some input
from your simulator, which is what you asked for. This has nothing
to do with maximum realtime scheduling latency, of course.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/