From: Peter Teoh Subject: Bunching of hypercalls/Xenbus Date: Sun, 26 Aug 2007 08:16:21 +0800 Message-ID: <01fe01c7e776$5734e530$9a010a0a@eeyore> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0035983127==" 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 This is a multi-part message in MIME format. --===============0035983127== Content-Type: multipart/alternative; boundary="----=_NextPart_000_01FB_01C7E7B9.62966D20" This is a multi-part message in MIME format. ------=_NextPart_000_01FB_01C7E7B9.62966D20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Apologies for the new questions - please enlighten me. In the traditional Linux kernels, we have the delayed I/O concept to = improvement performance. The disk block I/O request is bunched = together whenever possible with the previous block request, for = performance reason. Analogously, due to the large overheads in making hypercalls, is it = possible that we can do this? Ie, the core instructions will still be = executed in its original order, but the overheads of making the multiple = VM exit/entry are all bunched together and executed once. The = hypercalls necessarily are coming from different CPU, right? Can = further improvement be made by removing the atomicity requirements of = the CPU instruction that triggered off the VM exit condition? (sometimes = at least?) If so then it may be possible to bunch together hypercalls = from the same CPU as well. Similarly, for the Xenbus state transition machine - can we improve = performance in inter-domain communication - but not necessarily = satisfying all Xenbus request immediately all the time? Can it be done = both for PV and HVM scenario? ------=_NextPart_000_01FB_01C7E7B9.62966D20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Apologies for the new questions - please enlighten=20 me.
 
In the traditional Linux kernels, we have the = delayed I/O=20 concept to improvement performance.   The disk block I/O = request is=20 bunched together whenever possible with the previous block request, for=20 performance reason.
 
Analogously, due to the large overheads in making = hypercalls,=20 is it possible that we can do this?   Ie, the core = instructions will=20 still be executed in its original order, but the overheads of making the = multiple VM exit/entry are all bunched together and executed = once.  =20 The hypercalls necessarily are coming from different CPU, = right?   Can=20 further improvement be made by removing the atomicity requirements of = the CPU=20 instruction that triggered off the VM exit condition? (sometimes at=20 least?)   If so then it may be possible to bunch together = hypercalls=20 from the same CPU as well.
 
Similarly, for the Xenbus state transition machine - = can we=20 improve performance in inter-domain communication = - but not=20 necessarily satisfying all Xenbus request immediately all the = time?  =20 Can it be done both for PV and HVM scenario?
------=_NextPart_000_01FB_01C7E7B9.62966D20-- --===============0035983127== 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 --===============0035983127==--