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] Performance numbers on PV-on-HVM

Hi Stefano,

Thanks for your response. Please find my responses inline.

On Mon, Sep 27, 2010 at 3:52 PM, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:
On Sat, 25 Sep 2010, Jagadish Nadimpalli wrote:
> Hi,
>
> I measured network performance with netperf on PV-on-HVM:
> Guest Kernel is taken from git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git.

The most up to date branch is 2.6.35-rc5-pvhvm-v7, please use it for
your tests.
 
I will use the latest branch.

Also make sure that the PV interfaces are actually running, in
particular use the right name for the root device ('/dev/xvda',
if you are using 'hda' in your VM config file).
 
Could you please let me know where(config file) can I configure/verify the name for root device.
 
Since I am testing network performance, I verified which network interface is used in the PV-on-HVM VM. I found that there is no Ethernet device displayed in the lspci output of VM. Here is the lspci output on PV-on-HVM VM. The Xen platform device is displayed in lspci. This means that the platform device is used as PV driver in the PV-on-HVM guest. Please correct me if I am wrong.

===========================================================
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB Controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Class ff80: XenSource, Inc. Xen Platform Device (rev 01)
00:05.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI]
===========================================================

I couldn't find the download link for xen-4.0.1-1.fc13.1.src.rpm but I
found the download link for xen-4.0.1-1.fc14.1.src.rpm and it contains
all the bits needed.


> Dom0 Kernel is taken from git://git.kernel.org/pub/scm/linux/kernel/git/jermy/xen.git and switched to stable branch
> xen/stable-2.6.32.x).
> The Kernel configuration is taken from
> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.21-pvops-dom0-xen-stable-x86_64.
>
> The tutorial mentioned that the Kernel configuration has debug enabled and there will be a performance hit but I first
> wanted to get the setup UP and get some performance numbers(I will get the performance numbers by disabling the debug
> parameters in Kernel config and I will let you know those performance numbers). With the above combination, I am able to
> get the PV-on-HVM guest up and running.
>
> My machine has the following harware configuration.
> (1) Chipset - Intel 82Q35
> (2) Processor - Intel Core2 Duo CPU E8400 @ 3.00GHz
>

Performance results might vary significantly depending on whether the
cpu supports EPT or not. Could you please cat /proc/cpuinfo?
If this cpu doesn't support EPT, it might be worth changing test
hardware :)
 
Here is the cat /proc/cpuinfo output:
==================================================
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping    : 10
cpu MHz        : 2992.566
cache size    : 6144 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 1
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good pni est ssse3 cx16 sse4_1 hypervisor lahf_lm
bogomips    : 5985.13
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping    : 10
cpu MHz        : 2992.566
cache size    : 6144 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 1
apicid        : 1
initial apicid    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good pni est ssse3 cx16 sse4_1 hypervisor lahf_lm
bogomips    : 5985.13
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:
=============================================================
 


> Performance setup:
> ==============
> The dom0's Ethernet interface is connected to LAN. The netserver is running on another host that is connected to LAN. The
> netperf client is running on the PV-on-HVM guest. So, we are measuring performance from PV-on-HVM guest to a host on LAN.
> Using netperf, the performance numbers in Mbps are 723, 719, 703, 735, 709, 733 for 6 trails.
>
> Are there any published performance numbers with PV-on-HVM guest? I want to compare my numbers with the published ones.
>

I ran few kernbench a while back, these are the test results:

http://lists.xensource.com/archives/html/xen-devel/2010-05/msg01176.html


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