[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] co-scheduler modification


  • To: <xen-devel@xxxxxxxxxxxxx>
  • From: Kerti Csaba <csocskos@xxxxxxxxxxx>
  • Date: Sun, 8 Jul 2012 15:47:36 +0200
  • Delivery-date: Sun, 08 Jul 2012 13:48:26 +0000
  • Importance: Normal
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.