Hello :
    There  10 VMs  in openvswitch . these  VMs  access Internet through  NAT  
host.therefore  There are a lot of  internet ipaddr  through OVS.
and  add  flows Following:
ovs-ofctl add-flow br0 "dl_type=0x0800,nw_proto=1 priority=900 
idle_timeout=0,actions=normal"
ovs-ofctl add-flow br0 "dl_type=0x0806 priority=900 
idle_timeout=0,actions=normal"
ovs-ofctl add-flow br0 "dl_type=0x8035 priority=900 
idle_timeout=0,actions=normal"
ovs-ofctl add-flow br0 "dl_type=0x0800,nw_proto=17 priority=900 
idle_timeout=0,actions=normal"
ovs-ofctl add-flow br0 "dl_type=0x0800,nw_proto=6 priority=900 
idle_timeout=0,actions=normal"
ovs-ofctl add-flow br0 "dl_type=0x0800 priority=900 
idle_timeout=0,actions=normal"


but  OVS   high load still.  How to reduce the OVS  load ?  thanks.






-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  PID USER      PR  NI  VIRT  RES  SHR S %CPU    MEM    TIME+  COMMAND          
                                                                                
                                
 3145 root      20   0 1083m  29m   1608 S 565.7     0.0  21813:37 
/opt/apps/openvswitch/sbin/ovs-vswitchd --pidfile --detach  


[@sh5_44.1 ~]# ovs-dpctl dump-flows |wc -l
53651


[@sh5_44.1 ~]# ovs-ofctl dump-flows br0|wc -l
7309


[@sh5_44.1 ~]# ovs-vsctl get bridge br0  other-config:flow-eviction-threshold 
"4000"



[@sh5_44.1 ~]# ovs-vsctl  --version
ovs-vsctl (Open vSwitch) 2.1.3
Compiled Nov  3 2014 16:47:48


[@sh5_44.1 ~]# uptime 
 12:15:04 up 2 days, 19:39,  1 user,  load average: 702.12, 711.86, 711.05







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

Reply via email to