Subject: Re: Some Xen performance measurements
To: None <port-xen@NetBSD.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: port-xen
Date: 04/02/2005 09:42:54
Martti Kuparinen wrote:
> dom0 and all domUs were rebooted between tests. The actual test sequence
> was this:
>
> rm -rf /usr/src/sys/arch/i386/compile/GENERIC
> cd /usr/src/sys/arch/i386/conf
> config GENERIC
> cd ../compile/GENERIC
> time make dependall
>
> Results
> =======
>
> 1 x NetBSD 1024 MB GENERIC
> --------------------------
> 446.60 real 405.61 user 31.97 sys
>
> 1 x NetBSD 128 MB XEN0
> ----------------------
> 490.51 real 411.75 user 63.14 sys
>
> 1 x NetBSD 128 MB XENU (vnd with 2 GB file-as-disk)
> ---------------------------------------------------
> 492.76 real 415.54 user 61.42 sys
>
> 1 x NetBSD 128 MB XENU (direct access to the wd0x partition)
> ------------------------------------------------------------
> 493.13 real 415.02 user 61.98 sys
>
> 4 x NetBSD 128 MB XENU (vnd with 2 GB file-as-disk)
> ---------------------------------------------------
> 1633.38 real 1396.94 user 177.58 sys
> 1641.86 real 1404.19 user 195.83 sys
> 1642.72 real 1403.38 user 196.25 sys
> 1633.69 real 1394.42 user 176.68 sys
>
> 4 x NetBSD 128 MB XENU (direct access to the wd0x partitions)
> -------------------------------------------------------------
> 1626.80 real 1396.27 user 174.35 sys
> 1642.40 real 1405.37 user 196.97 sys
> 1627.71 real 1395.80 user 174.98 sys
> 1642.59 real 1406.99 user 195.47 sys
Here are the results with "time make -j4 dependall"
4 x NetBSD 128 MB XENU (direct access to the wd0x partitions)
-------------------------------------------------------------
1613.45 real 1442.26 user 213.59 sys
1635.57 real 1449.69 user 227.25 sys
1613.03 real 1442.24 user 218.88 sys
1634.59 real 1449.50 user 232.37 sys
> I ran the same tests with VMware Workstation 4.5.2 (build 8848)
> running on Linux 2.6.10.
>
> 1 x VMware (NetBSD 3.99.2 / 128 MB)
> -----------------------------------
> 677.25 real 228.42 user 465.22 sys
>
> 4 x VMware (NetBSD 3.99.2 / 128 MB)
> -----------------------------------
> 1956.27 real 684.74 user 1292.46 sys
> 1980.40 real 699.26 user 1294.21 sys
> 2003.97 real 706.11 user 1307.21 sys
> 1972.71 real 680.16 user 1322.24 sys
I don't have access to VMware GSX or ESX so someone else
has to do the mesurements in those environments.
This is with HT active in the BIOS so half of the VMs are
using the "second" processor.
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 128 0 r---- 308.2
netbsd1 2 127 1 -b--- 804.4 9602
netbsd2 3 127 0 -b--- 798.0 9603
netbsd3 4 127 1 -b--- 803.6 9604
netbsd4 5 127 0 -b--- 797.6 9605
Martti