WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] open/stat64 syscalls run faster on Xen VM than standard

To: "xuehai zhang" <hai@xxxxxxxxxxxxxxx>, "Xen Mailing List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] open/stat64 syscalls run faster on Xen VM than standard Linux
From: "Petersson, Mats" <mats.petersson@xxxxxxx>
Date: Mon, 28 Nov 2005 15:36:40 +0100
Delivery-date: Mon, 28 Nov 2005 14:37:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX0KMWMN4M4ZjDhShyrJAK0NiLPcgAADBcw
Thread-topic: [Xen-devel] open/stat64 syscalls run faster on Xen VM than standard Linux
 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> xuehai zhang
> Sent: 28 November 2005 08:21
> To: Xen Mailing List
> Subject: [Xen-devel] open/stat64 syscalls run faster on Xen 
> VM than standard Linux
> 
> Dear all,
> When I debugged the execution performance of an application 
> using strace, I found there are some system calls like open 
> and stat64 which run faster on XenLinux than the standard 
> Linux. The following is the output of running "strace -c 
> /bin/sh -c /bin/echo foo" on both systems. An open call runs 
> averagely 109 usec on standard Linux but only 41 usecs on 
> XenLinux. An stat64 call runs
> 75 usecs on standard Linux but only 19 usecs on XenLinux.
> The Xen VM runs on the same physical machine as the standard 
> Linux. It uses loopback files in dom0 as the backends of VBDs.
> Any insight is highly appreciated.

And are you using the same Loopback file-system when running native
Linux? If not, it's probably the main cause of the difference. 

--
Mats

> Thanks.
> Xuehai
> 
[snip of tables]


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel