Hi list,

I'm working under CentOS, so the kernel is 
2.6.32-358.123.2.openstack.el6.x86_64.
openvswitch.x86_64      1.11.0_8ce28d-1.el6ost

I have two physical machine in the test, each of them have a 10 Gb NIC card.
The bandwidth between the two machine using iperf can achieve 9.41Gb/s.

After enable gre follow guide 
http://networkstatic.net/configuring-vxlan-and-gre-tunnels-on-openvswitch/#!prettyPhoto
The bandwitdth between the two nodes are really low.
Only  122 Kbits/s !!!!

Anyone know why this happen ????

Thanks.
-chen

My node 1: run command "iperf -c  10.1.2.11"

ovs-vsctl show
218f9b54-b3e8-47ac-8563-58ff91ca57e9
    Bridge br-int
        Port "gre1"
            Interface "gre1"
                type: gre
                options: {remote_ip="192.101.11.104"}
        Port br-int
            Interface br-int
                type: internal
ovs_version: "1.11.0"

ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=6542.818s, table=0, n_packets=1756, n_bytes=1436504, 
idle_age=5992, priority=0 actions=NORMAL

ifconfig
br-int    Link encap:Ethernet  HWaddr 7A:93:7F:77:B5:48
          inet addr:10.1.2.10  Bcast:10.1.2.255  Mask:255.255.255.0
          inet6 addr: fe80::e899:ff:fe32:df3f/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:413 errors:0 dropped:0 overruns:0 frame:0
          TX packets:507 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:32086 (31.3 KiB)  TX bytes:690110 (673.9 KiB)

eth0      Link encap:Ethernet  HWaddr 00:25:90:79:D3:F4
          inet addr:192.168.11.103  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::225:90ff:fe79:d3f4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53322614 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10325270 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10586110139 (9.8 GiB)  TX bytes:2822791581 (2.6 GiB)
          Memory:dfd20000-dfd40000

eth4      Link encap:Ethernet  HWaddr 00:1B:21:D5:34:EC
          inet addr:192.101.11.103  Bcast:192.101.11.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:21ff:fed5:34ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:20351591 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9158853 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:28390873276 (26.4 GiB)  TX bytes:12372083654 (11.5 GiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1396 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:155046 (151.4 KiB)  TX bytes:155046 (151.4 KiB)

ethtool eth4
Settings for eth4:
        Supported ports: [ FIBRE ]
        Supported link modes:   10000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: No
        Advertised link modes:  10000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10000Mb/s
        Duplex: Full
        Port: Direct Attach Copper
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: off
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

My node 2: run command "iperf -s"
ovs-vsctl show
46b797bd-7982-4c73-b5f9-039506d48f1d
    Bridge br-int
        Port "gre1"
            Interface "gre1"
                type: gre
                options: {remote_ip="192.101.11.103"}
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "1.11.0"

ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=6777.408s, table=0, n_packets=1580, n_bytes=906468, 
idle_age=6029, priority=0 actions=NORMAL

ifconfig
br-int    Link encap:Ethernet  HWaddr 4A:01:B0:7C:64:43
          inet addr:10.1.2.11  Bcast:10.1.2.255  Mask:255.255.255.0
          inet6 addr: fe80::746b:58ff:fe17:e660/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:517 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:434200 (424.0 KiB)  TX bytes:42046 (41.0 KiB)

eth0      Link encap:Ethernet  HWaddr 00:25:90:79:D2:5C
          inet addr:192.168.11.104  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::225:90ff:fe79:d25c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53346180 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10328933 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10596097803 (9.8 GiB)  TX bytes:2828265083 (2.6 GiB)
          Memory:dfd20000-dfd40000

eth4      Link encap:Ethernet  HWaddr 00:1B:21:A1:1A:18
          inet addr:192.101.11.104  Bcast:192.101.11.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:21ff:fea1:1a18/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:49976926 errors:0 dropped:0 overruns:0 frame:0
          TX packets:751929 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27163063649 (25.2 GiB)  TX bytes:51395221 (49.0 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2278 (2.2 KiB)  TX bytes:2278 (2.2 KiB)

ethtool eth4
Settings for eth4:
        Supported ports: [ FIBRE ]
        Supported link modes:   10000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: No
        Advertised link modes:  10000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10000Mb/s
        Duplex: Full
        Port: Direct Attach Copper
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: off
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to