Re: Linux scheduler Implementation details

From: Sonika Sachdeva
Date: Fri Feb 27 2004 - 05:58:11 EST


I wonder if you could give me some hints to do fair approximations (to calculate
execution time) for scheduling process?

Regards
Sonika

Nick Piggin wrote:

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