From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gianluca Guida Subject: Re: Re: Poor performance on HVM (kernbench) Date: Thu, 11 Sep 2008 16:17:15 +0100 Message-ID: <48C9367B.6090003@eu.citrix.com> References: <1e16a9ed0809101123m71a12030v7d06501f6467f93@mail.gmail.com> <1e16a9ed0809101422p6a58304dxaa1a92847109a518@mail.gmail.com> <48C8EC48.6080507@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030401090101010006030200" Return-path: In-Reply-To: <48C8EC48.6080507@eu.citrix.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: deshantm@gmail.com Cc: Muli Ben-Yehuda , Anthony Liguori , xen-devel mailing list List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------030401090101010006030200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Gianluca Guida wrote: > Todd Deshane wrote: >> Xen 3.3 should be an improvement with shadow3 right? I made a few test, in an amd64 kernel, with shadow2 and shadow 3. Results attached. What you can see is that in 1 vcpu environment the two system compare very well (with shadow3 being 1.5% faster that shadow2, system time being much lower). It's disturbing that in 2 vcpus, instead, the shadow2 is about 11% faster. I'll try to look at that and make the shadow3 algorithm a bit more linux-friendly but, in general, I don't think that the slow down was due *only* to shadow3. Was it a 32bit guest? PAE? Thanks, Gianluca 1 vcpu, shadow2 Thu Sep 11 14:09:14 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 4 Run (std deviation): Elapsed Time 414.792 (0.4772) User Time 303.276 (0.508409) System Time 111.148 (0.592891) Percent CPU 99.2 (0.447214) Context Switches 25682.6 (146.046) Sleeps 28827.8 (99.8884) 1 vcpu, shadow3 Thu Sep 11 13:16:23 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 4 Run (std deviation): Elapsed Time 408.948 (1.96799) User Time 326.482 (0.553191) System Time 81.184 (2.0058) Percent CPU 99 (0) Context Switches 25239.6 (205.305) Sleeps 28995 (152.91) 2 vcpus, shadow2 Thu Sep 11 11:59:27 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 8 Run (std deviation): Elapsed Time 223.144 (0.709704) User Time 314.844 (0.933852) System Time 121.536 (1.46827) Percent CPU 195.2 (0.447214) Context Switches 27307.4 (249.907) Sleeps 34875.6 (212.731) 2 vcpus, shadow3 Thu Sep 11 12:32:41 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 8 Run (std deviation): Elapsed Time 251.832 (1.27152) User Time 368.878 (0.745366) System Time 124.472 (1.15751) Percent CPU 195.4 (0.547723) Context Switches 28585.2 (135.509) Sleeps 35620.4 (447.023) --------------030401090101010006030200 Content-Type: text/x-log; name="kernbench.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kernbench.log" 1 vcpu, shadow2 Thu Sep 11 14:09:14 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 4 Run (std deviation): Elapsed Time 414.792 (0.4772) User Time 303.276 (0.508409) System Time 111.148 (0.592891) Percent CPU 99.2 (0.447214) Context Switches 25682.6 (146.046) Sleeps 28827.8 (99.8884) 1 vcpu, shadow3 Thu Sep 11 13:16:23 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 4 Run (std deviation): Elapsed Time 408.948 (1.96799) User Time 326.482 (0.553191) System Time 81.184 (2.0058) Percent CPU 99 (0) Context Switches 25239.6 (205.305) Sleeps 28995 (152.91) 2 vcpus, shadow2 Thu Sep 11 11:59:27 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 8 Run (std deviation): Elapsed Time 223.144 (0.709704) User Time 314.844 (0.933852) System Time 121.536 (1.46827) Percent CPU 195.2 (0.447214) Context Switches 27307.4 (249.907) Sleeps 34875.6 (212.731) 2 vcpus, shadow3 Thu Sep 11 12:32:41 EDT 2008 2.6.18-4-amd64 Average Optimal load -j 8 Run (std deviation): Elapsed Time 251.832 (1.27152) User Time 368.878 (0.745366) System Time 124.472 (1.15751) Percent CPU 195.4 (0.547723) Context Switches 28585.2 (135.509) Sleeps 35620.4 (447.023) --------------030401090101010006030200 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 --------------030401090101010006030200--