Hi Dear
Forum!
In my
experience I need to modify a bit the Xen Scheduler. I need to implement a type
of co-scheduling algorithm, which is try to schedule those VMs (on physical
machines) together which are communicating together. This solution should avoid
that situation when the communication of VMs are actives at differnet times
which is slows down the communication.
In the
first round I was thinking to implement a simple algorithm which is only boost
the priority that VM which is receive a message.
I still
haven’t decided that which scheduler will I modify(SEDF or Credit).
I started
to examine the source code of the scheduler. As far as I see there is no similar
solution in schedule.c or in sched_credit.c and sched_sedf.c that if the actual VM received a message or not, or to
boost the priority in case of message receiving VM.
My idea is
that I need gain information from the code of event channel (event_channel.c)
or Reception-I/O ring and create a new function for the schedulers which boost
the priority of the receiving VM.
But I don’t know which function can appropriate
in event_channel.c to get this information, and maybe this idea is not good at
all.
How can I
gain this information and how can I activate or boost the priority of the receiving
VM ?
I would be
happy for any idea!
Thank you
Csaba