21 messages in com.xensource.lists.xen-develRE: [Xen-devel] open/stat64 syscalls ...
FromSent OnAttachments
xuehai zhang28 Nov 2005 00:20 
Petersson, Mats28 Nov 2005 06:36 
Anthony Liguori28 Nov 2005 06:38 
Petersson, Mats28 Nov 2005 06:44 
xuehai zhang28 Nov 2005 06:47 
xuehai zhang28 Nov 2005 06:59 
xuehai zhang28 Nov 2005 07:28 
xuehai zhang28 Nov 2005 07:50 
Stephen C. Tweedie28 Nov 2005 08:06 
Petersson, Mats28 Nov 2005 08:14 
xuehai zhang28 Nov 2005 08:27 
Stephen C. Tweedie28 Nov 2005 09:10.c
xuehai zhang28 Nov 2005 09:16 
Petersson, Mats28 Nov 2005 10:16 
Anthony Liguori28 Nov 2005 11:36 
Tim Freeman28 Nov 2005 20:49 
xuehai zhang29 Nov 2005 04:39 
xuehai zhang29 Nov 2005 04:57 
Petersson, Mats29 Nov 2005 04:59 
xuehai zhang29 Nov 2005 05:27 
xuehai zhang29 Nov 2005 05:47 
Subject:RE: [Xen-devel] open/stat64 syscalls run faster on Xen VM than standard Linux
From:Petersson, Mats (mats@amd.com)
Date:11/28/2005 06:36:18 AM
List:com.xensource.lists.xen-devel

-----Original Message----- From: xen-@lists.xensource.com [mailto:xen-@lists.xensource.com] 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.

Thanks. Xuehai

[snip of tables]