Re: Linux scheduler Implementation details

From: Nick Piggin
Date: Fri Feb 27 2004 - 05:12:20 EST




Sonika Sachdeva wrote:

Hi,

I want to give the loaded system metrics(loadavg, io details etc) as the input to
the simulator program so that it is able to calculate the priority for any new job
that will be submitted.

Then knowing the execution time of that job in a no-load system, I am able to
compute the latency encountered becoz of the load on the system.

How can I reuse the sched.c code to do this?



You can use it to tell your simulator how the Linux kernel will
schedule tasks. I'm not sure exactly what you want, execution time?
latency?

-
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/