From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nauman Rafique" Subject: CPU scheduling of domains and vcpus Date: Mon, 21 Apr 2008 13:52:21 -0400 Message-ID: <1301abeb0804211052i2c498568ue1a761ae8a618029@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0829006349==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0829006349== Content-Type: multipart/alternative; boundary="----=_Part_1136_8861031.1208800341345" ------=_Part_1136_8861031.1208800341345 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline My question is related to an earlier discussion on the list ( http://lists.xensource.com/archives/html/xen-devel/2007-03/msg01395.html). Is there any plan for implementing gang scheduling (of all vcpus of a domain) in xen? I see that gang scheduling is mentioned in almost all the latest talks about xen (posted on xen.org). It seems to me that gang scheduling would be desirable, specially if there are synchronization points (lock and semaphores) in guest OS and applications. I understand that gang scheduling can lead to wasted cycles, but that might be acceptable in certain situations. In fact, wasted cycles can probably be avoided by doing opportunisitic gang scheduling (i.e. gang schedule, unless there would be wasted cycles) and by carefully choosing the number of vcpus. -- Nauman Rafique Purdue University ------=_Part_1136_8861031.1208800341345 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline My question is related to an earlier discussion on the list (http://lists.xensource.com/archives/html/xen-devel/2007-03/msg01395.html).
Is there any plan for implementing gang scheduling (of all vcpus of a domain) in xen? I see that gang scheduling is mentioned in almost all the latest talks about xen (posted on xen.org).
It seems to me that gang scheduling would be desirable, specially if there are synchronization points (lock and semaphores) in guest OS and applications. I understand that gang scheduling can lead to wasted cycles, but that might be acceptable in certain situations. In fact, wasted cycles can probably be avoided by doing opportunisitic gang scheduling (i.e. gang schedule, unless there would be wasted cycles) and by carefully choosing the number of vcpus.

--
Nauman Rafique
Purdue University
------=_Part_1136_8861031.1208800341345-- --===============0829006349== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0829006349==--