Skip to contentSkip to conversation

Benchmark results

DISCUSSION [email protected] 2 participants 2 messages Aug 3, 2008

lore
Share & tools
lore
#0 lore raw

Hey everyone,

I hope you guys can help me explaining a pretty strange result that came up when benchmarking a native Red Hat installation against a Xen DomU (installed in a file container). I used lmbench3 on a dualcore AMD-machine. To make the results comparable, I "unplugged" all CPU cores but one in the native installation (setting the "online"-entry to 0). The DomU had only one vCPU assigned. The installed packages on both machines were identical as well. After doing the initial configuration of lmbench3 I ran a script doing 10 times a "make rerun".

All results seem to be OK somehow. But I cannot explain why Xen is faster than the native installation when creating and deleting files? Its 12ms (DomU) against 24ms (native) for creating a 0K file and 50ms (DomU) against 60ms (native) for creating a 10K file. Please find all the results attached.

Is there any way this is possible? Maybe the communication methods used by the shared device drivers make the virtual machine think the operation has been finished successfully faster than the native way? Is there is anyone out there who can help me understanding this result?

Furthermore: Is there a special recommendation for benchmarking Xen against native installations? I liked lmbench so far since it puts the focus on basic operations... what are your favourites? Is lmbench from a design perspective the wrong tool to use?

I have to find some reliable results so I am really thankful for every single hint here... please feel free to email me directly as well!

Thank you so much in advance!

Best regards,
Bjoern
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

cd results && make summary percent 2>/dev/null | more make[1]: Entering directory `/benchmark/lmbench3/results'

L M B E N C H 3 . 0 S U M M A R Y
------------------------------------
(Alpha software, do not distribute)

Basic system parameters
------------------------------------------------------------------------------

Host                 OS Description              Mhz  tlb  cache  mem   scal
                                                     pages line   par   load
                                                           bytes  
--------- ------------- ----------------------- ---- ----- ----- ------ ----
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.2800    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.0300    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.0200    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.0200    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.1300    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.0200    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.1400    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.0100    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.1500    1
xen-1cpu  Linux 2.6.18-                    1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0200    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1
nativ-1cp Linux 2.6.18-              nativ-1cpu 2800    32   128 1.0100    1

Processor, Processes - times in microseconds - smaller is better
------------------------------------------------------------------------------
Host OS Mhz null null open slct sig sig fork exec sh
call I/O stat clos TCP inst hndl proc proc proc
--------- ------------- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----

xen-1cpu  Linux 2.6.18- 2800 0.87 1.29 2.69 5.45 5.20 1.08 2.78 418. 1043 3264
xen-1cpu  Linux 2.6.18- 2800 0.85 1.29 2.64 5.53 5.25 1.03 2.71 467. 1092 3159
xen-1cpu  Linux 2.6.18- 2800 0.85 1.27 2.68 5.58 5.18 1.04 2.74 465. 1103 3121
xen-1cpu  Linux 2.6.18- 2800 0.82 1.27 2.65 5.52 5.22 1.03 2.69 461. 1102 3146
xen-1cpu  Linux 2.6.18- 2800 0.84 1.28 2.64 5.69 5.24 1.05 2.79 456. 1090 3119
xen-1cpu  Linux 2.6.18- 2800 0.84 1.28 2.64 5.53 5.20 1.02 2.72 455. 1094 3125
xen-1cpu  Linux 2.6.18- 2800 0.85 1.29 2.62 5.50 5.22 1.01 2.80 464. 1089 3147
xen-1cpu  Linux 2.6.18- 2800 0.84 1.31 2.65 5.50 5.22 1.00 2.72 463. 1095 3130
xen-1cpu  Linux 2.6.18- 2800 0.84 1.29 2.69 5.51 5.20 1.04 2.74 457. 1093 3138
xen-1cpu  Linux 2.6.18- 2800 0.84 1.29 2.66 5.35 5.21 1.03 2.78 469. 1095 3133

nativ-1cp Linux 2.6.18- 2800 0.19 0.44 2.02 3.45 6.92 0.28 1.25 125. 407. 1905 nativ-1cp Linux 2.6.18- 2800 0.19 0.51 2.19 3.57 10.7 0.28 1.25 126. 404. 1903 nativ-1cp Linux 2.6.18- 2800 0.19 0.49 1.84 3.12 10.6 0.28 1.40 129. 398. 1903 nativ-1cp Linux 2.6.18- 2800 0.19 0.46 2.03 3.31 4.80 0.28 1.32 125. 403. 1910 nativ-1cp Linux 2.6.18- 2800 0.19 0.50 2.04 3.35 9.60 0.28 1.18 123. 403. 1905 nativ-1cp Linux 2.6.18- 2800 0.19 0.47 1.96 3.29 4.57 0.28 1.25 126. 399. 1894 nativ-1cp Linux 2.6.18- 2800 0.19 0.45 1.95 3.22 7.39 0.28 1.26 123. 398. 1925 nativ-1cp Linux 2.6.18- 2800 0.19 0.45 2.16 3.28 4.56 0.28 1.37 129. 400. 1919 nativ-1cp Linux 2.6.18- 2800 0.19 0.43 1.92 3.10 9.63 0.28 1.34 128. 413. 1954 nativ-1cp Linux 2.6.18- 2800 0.24 0.47 1.84 3.33 4.49 0.33 1.49 125. 410. 1931

Basic integer operations - times in nanoseconds - smaller is better
-------------------------------------------------------------------
Host OS intgr intgr intgr intgr intgr
bit add mul div mod
--------- ------------- ------ ------ ------ ------ ------

xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
xen-1cpu  Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.1
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.1
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.1
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.1
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0
nativ-1cp Linux 2.6.18- 0.3600 0.0100 0.1600   15.4   15.0

Basic float operations - times in nanoseconds - smaller is better
-----------------------------------------------------------------

Host                 OS  float  float  float  float
                         add    mul    div    bogo
--------- ------------- ------ ------ ------ ------ 
xen-1cpu  Linux 2.6.18- 1.4400 1.4500 6.3500 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3500 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3300 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3200 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3500 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3200 5.6200
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3500 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3300 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3500 5.5900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 6.3500 5.5900

nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3500 5.6500 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3400 5.6700 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3500 5.6200 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3500 5.6400 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3500 5.6200 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3700 5.6500 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3500 5.6300 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3500 5.6600 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3500 5.6300 nativ-1cp Linux 2.6.18- 1.4300 1.4500 6.3600 5.6600

Basic double operations - times in nanoseconds - smaller is better
------------------------------------------------------------------
Host OS double double double double
add mul div bogo
--------- ------------- ------ ------ ------ ------

xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7600 7.2900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7800 7.2900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7700 7.2800
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7700 7.2800
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7600 7.2900
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7800 7.2800
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7800 7.2800
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7600 7.2800
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7800 7.2800
xen-1cpu  Linux 2.6.18- 1.4300 1.4500 7.7900 7.3100

nativ-1cp Linux 2.6.18- 1.4400 1.4500 7.7800 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7800 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7800 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7800 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7800 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7900 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.8200 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7800 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7800 7.3000 nativ-1cp Linux 2.6.18- 1.4300 1.4500 7.7900 7.3200

Context switching - times in microseconds - smaller is better
-------------------------------------------------------------------------
Host OS 2p/0K 2p/16K 2p/64K 8p/16K 8p/64K 16p/16K 16p/64K
ctxsw ctxsw ctxsw ctxsw ctxsw ctxsw ctxsw
--------- ------------- ------ ------ ------ ------ ------ ------- -------

xen-1cpu  Linux 2.6.18- 2.4900 2.7300 5.2100 4.2200 7.2100 4.63000    38.6
xen-1cpu  Linux 2.6.18- 2.5800 2.7300 5.2600 4.1400 8.0800 4.90000    47.2
xen-1cpu  Linux 2.6.18- 2.5800 2.6400 5.2400 4.1100 7.5000 4.09000    46.4
xen-1cpu  Linux 2.6.18- 2.7100 2.7800 5.2500 4.2000 8.0400 5.10000    43.5
xen-1cpu  Linux 2.6.18- 2.5400 2.7500 5.3900 4.1100 7.6700 4.84000    44.0
xen-1cpu  Linux 2.6.18- 2.5200 2.7400 5.1500 4.2100 6.7300 4.60000    40.1
xen-1cpu  Linux 2.6.18- 2.6100 2.6600 5.3000 4.1800 7.5800 4.68000    41.5
xen-1cpu  Linux 2.6.18- 2.5900 2.7400 5.2100 4.2000 6.8300 4.65000    43.0
xen-1cpu  Linux 2.6.18- 2.5100 2.6300 5.2100 4.0400 6.6800 4.74000    43.8
xen-1cpu  Linux 2.6.18- 2.5700 2.8100 5.1000 4.2200 8.5200 4.81000    43.2
nativ-1cp Linux 2.6.18- 0.7400 0.8200 3.2200 1.7600 4.1600 1.91000    37.3
nativ-1cp Linux 2.6.18- 0.6000 0.8600 3.0400 1.8100 4.8200 1.78000    38.4
nativ-1cp Linux 2.6.18- 0.6500 0.7600 3.2500 1.8200 3.8800 1.82000    40.3
nativ-1cp Linux 2.6.18- 0.6200 0.8000 3.3900 1.7700 7.1800 2.28000    38.8
nativ-1cp Linux 2.6.18- 0.7800 0.8500 3.3700 1.8600 3.7200 1.97000    36.4
nativ-1cp Linux 2.6.18- 0.6400 0.8100 3.3600 1.8100 4.3400 2.46000    36.0
nativ-1cp Linux 2.6.18- 0.5600 0.7500 3.0700 1.7400 4.1200 2.23000    33.0
nativ-1cp Linux 2.6.18- 0.6500 0.9100 3.3100 1.8700 4.3100 1.90000    37.5
nativ-1cp Linux 2.6.18- 0.6100 0.7900 3.4100 1.7200 4.5600 1.86000    33.8
nativ-1cp Linux 2.6.18- 0.5800 0.8300 3.1500 1.8200 4.1600 2.28000    37.9

*Local* Communication latencies in microseconds - smaller is better
---------------------------------------------------------------------
Host OS 2p/0K Pipe AF UDP RPC/ TCP RPC/ TCP
ctxsw UNIX UDP TCP conn
--------- ------------- ----- ----- ---- ----- ----- ----- ----- ----

xen-1cpu  Linux 2.6.18- 2.490  12.1 19.5  17.6  23.7  20.8  29.2  54.
xen-1cpu  Linux 2.6.18- 2.580  12.0 19.8  17.4  23.7  20.9  28.8  55.
xen-1cpu  Linux 2.6.18- 2.580  12.0 19.2  17.4  23.6  21.0  28.5  55.
xen-1cpu  Linux 2.6.18- 2.710  12.1 19.3  17.4  23.6  21.1  28.3  55.
xen-1cpu  Linux 2.6.18- 2.540  12.9 19.3  17.4  23.7  21.2  28.7  55.
xen-1cpu  Linux 2.6.18- 2.520  12.2 19.4  17.4  23.6  21.1  28.4  55.
xen-1cpu  Linux 2.6.18- 2.610  12.9 19.4  17.4  23.7  21.2  28.8  55.
xen-1cpu  Linux 2.6.18- 2.590  13.0 19.5  17.6  23.7  21.1  28.7  55.
xen-1cpu  Linux 2.6.18- 2.510  12.0 19.3  17.2  23.8  21.3  28.6  55.
xen-1cpu  Linux 2.6.18- 2.570  13.0 19.2  17.5  23.9  21.1  28.6  55.
nativ-1cp Linux 2.6.18- 0.740 4.631 7.59 9.379  12.8  12.1  16.7 126.
nativ-1cp Linux 2.6.18- 0.600 4.756 8.19 9.929  12.9  12.4  17.2 131.
nativ-1cp Linux 2.6.18- 0.650 4.589 7.62 9.214  12.7  12.2  16.7 123.
nativ-1cp Linux 2.6.18- 0.620 4.587 7.97 9.319  13.1  12.1  17.7 126.
nativ-1cp Linux 2.6.18- 0.780 4.582 8.30  10.0  13.1  12.6  16.8 128.
nativ-1cp Linux 2.6.18- 0.640 4.628 7.88 9.579  13.9  12.3  17.7 130.
nativ-1cp Linux 2.6.18- 0.560 4.575 7.80 9.656  13.2  12.5  17.5 125.
nativ-1cp Linux 2.6.18- 0.650 4.986 8.12 9.576  12.9  12.3  17.3 127.
nativ-1cp Linux 2.6.18- 0.610 4.635 7.69  10.0  13.1  12.2  16.7 125.
nativ-1cp Linux 2.6.18- 0.580 4.782 7.80 9.993  13.8  12.1  17.7 126.

File & VM system latencies in microseconds - smaller is better
-------------------------------------------------------------------------------

Host                 OS   0K File      10K File     Mmap    Prot   Page   100fd
                        Create Delete Create Delete Latency Fault  Fault  selct
--------- ------------- ------ ------ ------ ------ ------- ----- ------- -----
xen-1cpu  Linux 2.6.18-   11.9 9.2752   51.7   18.5   14.3K 0.848 3.97750 2.628
xen-1cpu  Linux 2.6.18-   12.3 9.3171   53.8   19.4   15.4K 0.864 4.06550 2.619
xen-1cpu  Linux 2.6.18-   12.3 9.6721   53.7   19.1   15.5K 0.910 4.16050 2.596
xen-1cpu  Linux 2.6.18-   12.1 9.5280   41.9   19.1   15.7K 0.944 4.19680 2.588
xen-1cpu  Linux 2.6.18-   12.1 9.4666   46.8   19.8   15.8K 0.892 4.18000 2.638
xen-1cpu  Linux 2.6.18-   12.1 9.4604   53.5   19.7   16.5K 0.918 4.22680 2.598
xen-1cpu  Linux 2.6.18-   12.3 9.7807   48.2   19.6   16.0K 0.905 4.25190 2.625
xen-1cpu  Linux 2.6.18-   12.2 9.7652   52.0   20.4   16.0K 0.896 4.23290 2.695
xen-1cpu  Linux 2.6.18-   12.3 9.6259   53.6   20.1   16.0K 0.867 4.26970 2.629
xen-1cpu  Linux 2.6.18-   12.2 9.6403   52.7   19.6   16.1K 0.861 4.27980 2.613
nativ-1cp Linux 2.6.18-   24.8   14.5   59.5   26.4  5090.0 0.554 1.52850 4.263
nativ-1cp Linux 2.6.18-   26.3   16.1   58.7   27.3  5118.0 0.585 1.71360 4.251
nativ-1cp Linux 2.6.18-   24.9   15.4   60.5   26.3  4892.0 0.612 1.52190 1.942
nativ-1cp Linux 2.6.18-   24.4   16.1   58.7   27.2  5277.0 0.373 1.66030 1.953
nativ-1cp Linux 2.6.18-   24.3   14.7   59.5   26.5  5130.0 0.627 1.54020 1.924
nativ-1cp Linux 2.6.18-   23.9   16.1   57.8   26.1  5080.0 0.571 1.55070 1.980
nativ-1cp Linux 2.6.18-   25.6   15.5   68.7   26.8  5214.0 0.502 1.75650 1.941
nativ-1cp Linux 2.6.18-   24.7   14.4   58.3   25.4  5014.0 0.552 1.73150 1.965
nativ-1cp Linux 2.6.18-   25.6   15.2   60.4   26.4  5080.0 0.321 1.67840 1.973
nativ-1cp Linux 2.6.18-   25.8   15.2   61.6   27.0  5221.0 0.694 1.71090 1.967

*Local* Communication bandwidths in MB/s - bigger is better
-----------------------------------------------------------------------------
Host OS Pipe AF TCP File Mmap Bcopy Bcopy Mem Mem
UNIX reread reread (libc) (hand) read write
--------- ------------- ---- ---- ---- ------ ------ ------ ------ ---- -----

xen-1cpu  Linux 2.6.18- 1764 2004 812. 1285.7 1889.5  834.1  819.5 1644 1121.
xen-1cpu  Linux 2.6.18- 1762 1976 797. 1120.6 1405.6  705.4  724.1 1436 966.3
xen-1cpu  Linux 2.6.18- 1772 1997 852. 1119.6 1420.5  718.9  727.7 1446 987.7
xen-1cpu  Linux 2.6.18- 1758 2004 828. 1115.8 1429.3  720.6  730.2 1448 991.7
xen-1cpu  Linux 2.6.18- 1749 1946 827. 1109.9 1434.8  721.6  733.2 1457 996.8
xen-1cpu  Linux 2.6.18- 1777 1987 818. 1113.4 1440.1  725.4  742.8 1462 1001.
xen-1cpu  Linux 2.6.18- 1761 1961 827. 1109.8 1445.2  728.9  741.3 1465 1005.
xen-1cpu  Linux 2.6.18- 1768 2002 830. 1108.5 1447.9  731.0  744.8 1470 1009.
xen-1cpu  Linux 2.6.18- 1764 1937 813. 1107.7 1453.0  735.3  746.8 1473 1008.
xen-1cpu  Linux 2.6.18- 1764 1959 808. 1108.2 1457.6  734.2  748.8 1476 1017.
nativ-1cp Linux 2.6.18- 2025 2274 777. 1166.8 1447.4  820.8  872.0 1471 1088.
nativ-1cp Linux 2.6.18- 1988 2392 717. 1162.2 1447.0  820.0  871.3 1471 1089.
nativ-1cp Linux 2.6.18- 2054 2255 784. 1162.4 1447.6  820.9  871.9 1470 1089.
nativ-1cp Linux 2.6.18- 2044 2242 743. 1159.4 1446.4  820.0  871.2 1471 1090.
nativ-1cp Linux 2.6.18- 2050 2233 727. 1159.8 1446.9  820.4  871.4 1471 1090.
nativ-1cp Linux 2.6.18- 2022 2271 776. 1160.9 1448.8  819.6  871.3 1471 1089.
nativ-1cp Linux 2.6.18- 1970 2258 750. 1156.8 1446.7  821.0  871.9 1472 1089.
nativ-1cp Linux 2.6.18- 2013 2236 773. 1161.4 1452.6  822.2  874.2 1476 1094.
nativ-1cp Linux 2.6.18- 2018 2273 763. 1158.8 1447.0  820.1  873.1 1472 1090.
nativ-1cp Linux 2.6.18- 2026 2230 773. 1157.1 1448.2  818.6  871.2 1472 1090.

Memory latencies in nanoseconds - smaller is better
(WARNING - may not be correct, check graphs)
------------------------------------------------------------------------------

Host                 OS   Mhz   L1 $   L2 $    Main mem    Rand mem    Guesses
--------- -------------   ---   ----   ----    --------    --------    -------
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4630  138.4       238.0
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4590  153.3       246.5
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4590  152.8       247.9
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4610  152.5       251.5
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4600  152.2       255.2
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4590  151.8       255.6
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4650  151.6       252.0
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4600  151.3       258.4
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4600  118.9       256.0
xen-1cpu  Linux 2.6.18-  2800 1.0720 4.4630  150.7       253.6
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4620  164.7       237.4
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4640  164.7       244.2
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4630  164.7       239.9
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4600  164.6       243.0
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4590  164.8       241.8
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4640  164.7       245.2
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4640  164.7       249.4
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4630  163.9       249.9
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4590  164.6       251.5
nativ-1cp Linux 2.6.18-  2800 1.0740 4.4650  164.6       250.8

make[1]: Leaving directory `/benchmark/lmbench3/results'

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

If the virtual disc is a loopback-mounted file then the domU is probably benefitting from dom0's buffer cache (i.e., domU is happening to exploit dom0's memory to cache its own data).

-- Keir

Quoted 41 lines · On 3/8/08 17:51, "[email protected]" <[email protected]> wrote:

Hey everyone,

I hope you guys can help me explaining a pretty strange result that came up when benchmarking a native Red Hat installation against a Xen DomU (installed in a file container). I used lmbench3 on a dualcore AMD-machine. To make the results comparable, I "unplugged" all CPU cores but one in the native installation (setting the "online"-entry to 0). The DomU had only one vCPU assigned. The installed packages on both machines were identical as well. After doing the initial configuration of lmbench3 I ran a script doing 10 times a "make rerun".

All results seem to be OK somehow. But I cannot explain why Xen is faster than the native installation when creating and deleting files? Its 12ms (DomU) against 24ms (native) for creating a 0K file and 50ms (DomU) against 60ms (native) for creating a 10K file. Please find all the results attached.

Is there any way this is possible? Maybe the communication methods used by the shared device drivers make the virtual machine think the operation has been finished successfully faster than the native way? Is there is anyone out there who can help me understanding this result?

Furthermore: Is there a special recommendation for benchmarking Xen against native installations? I liked lmbench so far since it puts the focus on basic operations... what are your favourites? Is lmbench from a design perspective the wrong tool to use?

I have to find some reliable results so I am really thankful for every single hint here... please feel free to email me directly as well!

Thank you so much in advance!

Best regards,
Bjoern
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel