Hi

Using open vswitches  v.2.5.0 with virtualization on Linux/KVM and having 
random issues with cross VMs talk and wondering about increasing drops seen on 
the switch it self on my hypervisor nodes when similar drops are not really 
seen on any VM ports or the physical ports.

netstat 
How may I debug this further?

TIA

/Steffen

root@n1:~# dpkg -l | grep vsw
ii  openvswitch-common             2.5.0-1                        amd64        
Open vSwitch common components
ii  openvswitch-switch             2.5.0-1                        amd64        
Open vSwitch switch implementations

# #drops increases on the SW
root@n1:~# date; ifconfig vmbr1
Wed Jun  1 15:09:01 CEST 2016
vmbr1     Link encap:Ethernet  HWaddr 00:11:0a:66:4e:e4  
          BROADCAST MULTICAST  MTU:9000  Metric:1
          RX packets:0 errors:0 dropped:9772488 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@n1:~# date; ifconfig vmbr1
Wed Jun  1 15:09:02 CEST 2016
vmbr1     Link encap:Ethernet  HWaddr 00:11:0a:66:4e:e4  
          BROADCAST MULTICAST  MTU:9000  Metric:1
          RX packets:0 errors:0 dropped:9772526 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# phys bond/ethX show now drops, though such is involved in inter VM talk 
across Nodes
root@n1:~# date; ifconfig eth8
Wed Jun  1 15:11:59 CEST 2016
eth8      Link encap:Ethernet  HWaddr 00:11:0a:66:4e:e4  
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:2758913294 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3979061228 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2300708314294 (2.0 TiB)  TX bytes:3102510622880 (2.8 TiB)

root@n1:~# date; ifconfig eth9
Wed Jun  1 15:12:01 CEST 2016
eth9      Link encap:Ethernet  HWaddr 00:11:0a:66:4e:e5  
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:5114356820 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3989127418 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3992175997619 (3.6 TiB)  TX bytes:3082466863348 (2.8 TiB)

root@n1:~# date; ifconfig bond1
Wed Jun  1 15:12:05 CEST 2016
bond1     Link encap:Ethernet  HWaddr 6a:53:2e:33:06:94  
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# the switch
root@n1:~# ovs-vsctl show
953aa71d-6533-4571-9b04-15f7f18573cb
    Bridge "vmbr1"
        Port "vlan20"
            tag: 20
            Interface "vlan20"
                type: internal
        Port "vlan21"
            tag: 21
            Interface "vlan21"
                type: internal
        Port "vlan13"
            tag: 13
            Interface "vlan13"
                type: internal
        Port "vlan12"
            tag: 12
            Interface "vlan12"
                type: internal
        Port "fwln400o1"
            tag: 41
            Interface "fwln400o1"
                type: internal
        Port "tap400i0"
            tag: 40
            Interface "tap400i0"
        Port "tap400i3"
            tag: 43
            Interface "tap400i3"
        Port "tap400i4"
            tag: 44
            Interface "tap400i4"
        Port "tap400i5"
            tag: 45
            Interface "tap400i5"
        Port "vlan11"
            tag: 11
            Interface "vlan11"
                type: internal
        Port "bond1"
            Interface "eth9"
            Interface "eth8"
        Port "tap400i2"
            tag: 42
            Interface "tap400i2"
        Port "vmbr1"
            Interface "vmbr1"
                type: internal
    ovs_version: "2.5.0"

root@n1:~# netstat -in
Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
bond0      9000 0  65539717      0  24137 0      56859469      0      0      0 
BMmRU
bond1      9000 0         0      0      0 0             0      0      0      0 
BMRU
eth0       9000 0  58985974      0      1 0      56453753      0      0      0 
BMsRU
eth4       9000 0   6553743      0      0 0        405716      0      0      0 
BMsRU
eth8       9000 0  2763987924      0      0 0      3987144556      0      0     
 0 BMRU
eth9       9000 0  5124763397      0      0 0      3996885335      0      0     
 0 BMRU
fwbr400i1  9000 0    535553      0      5 0             0      0      0      0 
BMRU
fwln400o1  9000 0  2988634355      0      0 0      2435589574      0      0     
 0 BMRU
lo        65536 0    453734      0      0 0        453734      0      0      0 
LRU
tap400i0   9000 0    418054      0      0 0        230427      0      0      0 
BMPRU
tap400i1   9000 0  2435310686      0      0 0      2971548593      0    107     
 0 BMPRU
tap400i2   9000 0  2631058950      0      0 0      2407994165      0      0     
 0 BMPRU
tap400i3   9000 0    437467      0      0 0        412371      0      0      0 
BMPRU
tap400i4   9000 0    295074      0      0 0        140022      0      0      0 
BMPRU
tap400i5   9000 0    592124      0      0 0        598874      0      0      0 
BMPRU
vlan11     9000 0    248374      0     20 0        367102      0      0      0 
BMRU
vlan12     9000 0    269341      0     20 0        427551      0      0      0 
BMRU
vlan13     9000 0  65014527      0      0 0      60678510      0      0      0 
BMRU
vlan20     9000 0   9075994      0      0 0      14119348      0      0      0 
BMRU
vlan21     9000 0   9263124      0      0 0      14201017      0      0      0 
BMRU
vmbr0      9000 0  65363048      0 669710 0      56063960      0      0      0 
BMRU

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to