Scheduler extensions
Hi!
I'm a PhD student who is currently doing research on multicore real-time scheduling. I'm considering using Xenomai as a base for my research experiments, but this would require me to replace or extend the current scheduler. So far I have found no documents detailing how the scheduler is implemented or how to extend it (if possible). Could you point me to information regarding the scheduler?
Thank you in advance.
BR
Jonas Flodin
Quoted 10 lines · Jonas Flodin
Hi!
I'm a PhD student who is currently doing research on multicore real-time scheduling. I'm considering using Xenomai as a base for my research experiments, but this would require me to replace or extend the current scheduler. So far I have found no documents detailing how the scheduler is implemented or how to extend it (if possible). Could you point me to information regarding the scheduler?
There is no documentation on the scheduling core. You should probably start with ksrc/nucleus/sched*.c, and include/nucleus/sched*.h, having a look at the files implementing the plain FIFO policy in sched-rt*.
Hint: the scheduling core is meant to be extensible, adding a new policy entails providing an implementation for a new struct xnsched_class object. Make sure to read the comments in the files implementing the existing policies (-rt, -sporadic, -tp), they usually mention details on the calling context and requirements for the handlers defined by the xnsched_class type.
Quoted 10 lines
Thank you in advance.
BR
Jonas Flodin_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.