|
Re: Scheduling processes-threads and questions...
|
12/12/2008 10:45 AM
post18509
|
Re: Scheduling processes-threads and questions...
Andreas Polychronopoulos wrote:
> *) I would like to create a number of processes(single threaded) and run them on a Neutrino x86 system using the FIFO
> scheduling, and measure the execution time of each process.
Is FIFO scheduling your objective, or your proposed method of getting execution times? If all you want is exections
times, the most accurate way to do that is with an instrumented kernel and use the "System Profiler" view of Momementics
to analyse it after the fact.
> 2) The other solution i thought is to create a new image of Neutrino where i haved enabled only the FIFO scheduling-
> algorithm.Altering some files as nano_sched.c, ker_sched.c in the services/system/ker/ directory perhaps i can enable
> only the FIFO algorithm for all threads and processes.
Interesting. Let us know if that boots. FIFO scheduling is inherently dangerous. One tiny infinite-loop anywhere and the
whole system will hang.
-ad
|
|
|