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-users

Re: [Xen-users] Poor performance on bandwidth, Xen 4.0.1 kernel pvops 2.

To: Olivier Hanesse <olivier.hanesse@xxxxxxxxx>
Subject: Re: [Xen-users] Poor performance on bandwidth, Xen 4.0.1 kernel pvops 2.6.32.24
From: Rémi BERNIER <R.BERNIER@xxxxxxxxxxx>
Date: Tue, 23 Nov 2010 15:06:05 +0100
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx, xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Nov 2010 06:08:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinmnUtwEADLO4Ynw2Z5rEHk6F+XvcgYFKGh+_BO@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

All is identical...
I have no idea now...
If someone can help me..

For resume, on my dom0 with Xen 4.01 and kernel pvops 2.6.32.24 I have an average of 140Mbits/s bandwidth whereas I have a gigabit network card



Olivier Hanesse <olivier.hanesse@xxxxxxxxx>

23/11/2010 13:18

A
Rémi BERNIER <R.BERNIER@xxxxxxxxxxx>
cc
Objet
Re: [Xen-users] Poor performance on bandwidth, Xen 4.0.1 kernel pvops 2.6.32.24





lsmod | grep bnx           
bnx2                   57273  0

modinfo bnx2   
filename:       /lib/modules/2.6.32-bpo.5-xen-amd64/kernel/drivers/net/bnx2.ko
firmware:       bnx2/bnx2-rv2p-09ax-5.0.0.j3.fw
firmware:       bnx2/bnx2-rv2p-09-5.0.0.j3.fw
firmware:       bnx2/bnx2-mips-09-5.0.0.j3.fw
firmware:       bnx2/bnx2-rv2p-06-5.0.0.j3.fw
firmware:       bnx2/bnx2-mips-06-5.0.0.j3.fw                                                                                                                                      
version:        2.0.2                                                                                                                                                              
license:        GPL                                                                                                                                                                
description:    Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver                                                                                                                
author:         Michael Chan <
mchan@xxxxxxxxxxxx>                                                                                                                                  
srcversion:     8F18532C0D4FFBC79D95E9D                                                                                                                                            
alias:          pci:v000014E4d0000163Csv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d0000163Bsv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d0000163Asv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d00001639sv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d000016ACsv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d000016AAsv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*                                                                                                                 
alias:          pci:v000014E4d0000164Csv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d0000164Asv*sd*bc*sc*i*                                                                                                                               
alias:          pci:v000014E4d0000164Asv0000103Csd00003106bc*sc*i*                                                                                                                 
alias:          pci:v000014E4d0000164Asv0000103Csd00003101bc*sc*i*                                                                                                                 
depends:                                                                                                                                                                           
vermagic:       2.6.32-bpo.5-xen-amd64 SMP mod_unload modversions                                                                                                                  
parm:           disable_msi:Disable Message Signaled Interrupt (MSI) (int)                                                                                                         


Voilà :)

2010/11/23 Rémi BERNIER <R.BERNIER@xxxxxxxxxxx>

Thanks !!


And your:


#lsmod | grep bnx


Regards,


Rémi



Olivier Hanesse <olivier.hanesse@xxxxxxxxx>

23/11/2010 12:42


A
Rémi BERNIER <R.BERNIER@xxxxxxxxxxx>
cc
Objet
Re: [Xen-users] Poor performance on bandwidth, Xen 4.0.1 kernel pvops 2.6.32.24







Hello,

I got the backports version :

dpkg -l | grep firmware-bnx2
ii  firmware-bnx2                               0.24~bpo50+1               Binary firmware for Broadcom NetXtremeII

Hope this helps.

Olivier

2010/11/23 Rémi BERNIER <
R.BERNIER@xxxxxxxxxxx>

Hello Olivier Hanesse and thanks for your answer !!


It's good to know this ! So now I would like to know the diffrence between you and me... What's your network card and have you installed the package "firmware-bnx2" ?

Can you give me the result of:


#dpkg -l | grep firmware-bnx2

For me:

ii  firmware-bnx2                       0.14 lenny2                Binary firmware for Broadcom NetXtremeII


and #lsmod | grep bnx

For me, just:

bnx2                   63308  0


Really thanks,


Rémi




Hello,

Between 2 lenny dom0 with pvops kernel "2.6.32-26~bpo50+1" from debian backports, bnx2 (version 2.0.2) module seems good.

I got "1.10 GBytes    941 Mbits/sec"

Regards

Olivier

2010/11/23 Rémi BERNIER <
R.BERNIER@xxxxxxxxxxx>

Hello all,


I have tested on the new server XEN-B with the default lenny install, kernel 2.6.26-2-amd64, i have the driver bnx2 with version 1.7.5 and the result of iperf is perfect (average 900Mbits/sec on bandwidth)

So I think is the version of driver bnx2 (2.0.2) on the pvops kernel 2.6.32.24 who raises worries.

Someone have the same problem ? How I can bypass this ?

Really thanks in advance for your answer !!


For information, I'm on debian Lenny 5.0.6 with a Dell PowerEdge 2950


Rémi



Hello list,


I have two differents installation Xen Hypervisor on two identical physical server, on the same switch :

The problem is on my new server (Xen 4.0.1 with pvops kernel 2.6.32.24), I have bad performance on bandwidth

I have test with a files copy and "iperf".

Result iperf average:

                                                       Transfert                Bandwidth

XEN-A -> Windows Physical:        1005 MBytes   843 Mbits/sec

XEN-B -> Windows Physical:        522 MBytes    438 Mbits/sec

Windows Physical -> XEN-A:        477 MBytes   399 Mbits/sec

Windows Physical -> XEN-B:        175 MBytes   146 Mbits/sec


It's the same network card but on the new installation, the module bnx2 have a new version...
Maybe i haven't activate or forget something...

If you have an idea, I listen you !! Thanks in advance !

This is the details of two installations:


XEN-A:

- XEN 3.2.1 kernel 2.6.26-2-xen-amd64

#xm info

release                : 2.6.26-2-xen-amd64

version                : #1 SMP Sun Jun 21 08:09:04 UTC 2009

machine                : x86_64

nr_cpus                : 4

nr_nodes               : 1

cores_per_socket       : 2

threads_per_core       : 1

cpu_mhz                : 1995

hw_caps                : bfebfbff:20100800:00000000:00000140:0004e33d:00000000:00000001

total_memory           : 24570

free_memory            : 918

node_to_cpu            : node0:0-3

xen_major              : 3

xen_minor              : 2

xen_extra              : -1

xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64

xen_scheduler          : credit

xen_pagesize           : 4096

platform_params        : virt_start=0xffff800000000000

xen_changeset          : unavailable

cc_compiler            : gcc version 4.3.1 (Debian 4.3.1-2)

cc_compile_by          : waldi

cc_compile_domain      :
debian.org
cc_compile_date        : Sat Jun 28 09:32:18 UTC 2008

xend_config_format     : 4


#lspci -v

09:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)

       Subsystem: Dell Device 01b2

       Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16

       Memory at f4000000 (64-bit, non-prefetchable) [size=32M]

       Capabilities: [40] PCI-X non-bridge device

       Capabilities: [48] Power Management version 2

       Capabilities: [50] Vital Product Data <?>

       Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

       Kernel driver in use: bnx2

       Kernel modules: bnx2


#ethtool -i peth0

driver: bnx2

version: 1.7.5

firmware-version: 2.9.1

bus-info: 0000:05:00.0



XEN-B:

- XEN 4.0.1 kernel pvops 2.6.32.24

#xm info

release                : 2.6.32.24

version                : #1 SMP Thu Oct 14 10:56:13 CEST 2010

machine                : x86_64

nr_cpus                : 4

nr_nodes               : 1

cores_per_socket       : 2

threads_per_core       : 1

cpu_mhz                : 1995

hw_caps                : bfebfbff:20100800:00000000:00000940:0004e33d:00000000:00000001:00000000

virt_caps              : hvm

total_memory           : 24570

free_memory            : 10

node_to_cpu            : node0:0-3

node_to_memory         : node0:10

node_to_dma32_mem      : node0:9

max_node_id            : 0

xen_major              : 4

xen_minor              : 0

xen_extra              : .1

xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64

xen_scheduler          : credit

xen_pagesize           : 4096

platform_params        : virt_start=0xffff800000000000

xen_changeset          : unavailable

xen_commandline        : loglvl=all guest_loglvl=all sync_console console_to_ring com1=19200,8n1 console=com1

cc_compiler            : gcc version 4.3.2 (Debian 4.3.2-1.1)

cc_compile_by          : root

cc_compile_domain      :
test.com
cc_compile_date        : Thu Oct 14 03:37:34 EDT 2010

xend_config_format     : 4


#ethtool -i peth0

driver: bnx2

version: 2.0.2

firmware-version: 2.9.1

bus-info: 0000:05:00.0


#lspci -v

09:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)

       Subsystem: Dell Device 01b2

       Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 1245

       Memory at f4000000 (64-bit, non-prefetchable) [size=32M]

       Capabilities: [40] PCI-X non-bridge device

       Capabilities: [48] Power Management version 2

       Capabilities: [50] Vital Product Data <?>

       Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+

       Kernel driver in use: bnx2


       Kernel modules: bnx2
_______________________________________________
Xen-users mailing list

Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list

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

Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Poor performance on bandwidth, Xen 4.0.1 kernel pvops 2.6.32.24, Rémi BERNIER <=