[ovs-discuss] performance problem of openvswitch module in CentOS 6.4

彭勇 ppyy at pubyun.com
Wed Apr 24 02:35:40 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=955815

i installed several 6.4 server with openvswitch module and openvswitch
utility from following repo:

http://rdo.fedorapeople.org/openstack/openstack-grizzly/epel-6/


all server have same problem:

network input performance ok and very bad output performance. only
tcp, udp is ok.

we test with scp, wget, iperf and some utility, only get less than 10
KB/s output from the server with openvswitch module.

here is our config:

#ovs-vsctl show

9be7b1dc-35d0-47d2-b383-6816c8bffe01

    Bridge "br-eth1"

        Port "eth1"

            Interface "eth1"

        Port "br-eth1"

            Interface "br-eth1"

                type: internal

    Bridge br-int

        Port br-int

            Interface br-int

                type: internal

    Bridge "br-eth0"

        Port "eth0"

            Interface "eth0"

        Port "br1000"

            tag: 1000

            Interface "br1000"

                type: internal

        Port "br-eth0"

            Interface "br-eth0"

                type: internal

    ovs_version: "1.9.0"


# cat ifcfg-eth0

DEVICE=eth0

HWADDR=00:8C:FA:12:D7:80

BOOTPROTO=none

ONBOOT=yes

DEVICETYPE=ovs

TYPE=OVSPort

OVS_BRIDGE=br-eth0



# cat ifcfg-br-eth0

DEVICE=br-eth0

BOOTPROTO=none

ONBOOT=yes

DEVICETYPE=ovs

TYPE=OVSBridge


cat ifcfg-br1000

DEVICE=br1000

ONBOOT=yes

DEVICETYPE=ovs

TYPE=OVSIntPort

IPADDR=172.16.0.9

NETMASK=255.255.255.0

GATEWAY=172.16.0.1

OVS_BRIDGE=br-eth0

OVS_OPTIONS="tag=1000"


we then compile and install a kmod from git source of openvswitch:

rpm -i --force --nodeps kmod-openvswitch-1.9.2-1.el6.x86_64.rpm

all is OK now.

we should install it with a option "--nodeps", otherwise we have the
following problem:

rpm -i  kmod-openvswitch-1.9.2-1.el6.x86_64.rpm

error: Failed dependencies:

ksym(nla_put) = 0x37587aff is needed by kmod-openvswitch-1.9.2-1.el6.x86_64



--
Peng Yong



More information about the discuss mailing list