From mboxrd@z Thu Jan 1 00:00:00 1970 From: xuehai zhang Subject: Re: open/stat64 syscalls run faster on Xen VM than standard Linux Date: Mon, 28 Nov 2005 10:27:54 -0600 Message-ID: <438B300A.8080209@cs.uchicago.edu> References: <907625E08839C4409CE5768403633E0B0EAAC4@sefsexmb1.amd.com> <438B2753.4020401@cs.uchicago.edu> <1133194042.3976.2.camel@orbit.scot.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1133194042.3976.2.camel@orbit.scot.redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Stephen C. Tweedie" Cc: "Petersson, Mats" , Tim Freeman , Kate Keahey , Xen Mailing List List-Id: xen-devel@lists.xenproject.org Stephen, Thanks for the reply. >>I mounted the loopback file in dom0, chrooted to the mountpoint and redid the experiment. The >>results is attached below. The time of open and stat64 calls is similar to the XenLinux case and >>also much smaller than the standard Linux case. So, either using loopback file as backend of >>XenLinux or directly mounting it in local filesystem will result in some benefit (maybe just caused >>by the extra layer of block caching) for the performance of some system calls. > > > What time, exactly, is being measured here? Is it wall-clock > gettimeofday? Or only elapsed time inside the domU? The time is collected and reported by strace by using the gettimeofday function. > It would be > enlightening to re-measure the performance by counting the number of > times these operations can be completed in a second, just to get a > second opinion and to determine if the difference is genuine or if it's > just an artifact of how we're measuring time when multiple domains are > involved. Your questioning makes sense to me. But I am not very sure about how to effectively count how many these operations can be completed in a second. Can you give me some hint? Thanks again. Xuehai