Re: [ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

2017-10-20 Thread quan_hp...@heetian.com
Hi,All, The file descriptors are "netlink". $sudo lsof -p $(pidof ovs-vswitchd) ovs-vswit 2197 root *297u netlink 0t0 42309398 GENERIC ovs-vswit 2197 root *298u netlink 0t0 42309399 GENERIC ovs-vswit 2197 root *299u sock

Re: [ovs-discuss] Rate limit based on IP

2017-10-20 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 04:58:06PM +0800, BALL SUN wrote: > I understood that OVS has rate shaping based on port, is there any way > to perform rate shaping on IP level? You can use the flow table to assign packets to queues based on destination IP, then assign different queues different rates

Re: [ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

2017-10-20 Thread Ben Pfaff
On Fri, Oct 20, 2017 at 06:56:26PM +0800, quan_hp...@heetian.com wrote: > Hi All, > I searched a mail list like my problem. > https://mail.openvswitch.org/pipermail/ovs-discuss/2017-March/043817.html > > $sudo lsof -p $(pidof ovs-vswitchd) | wc -l > 115536 > $cat /proc/$(cat

[ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

2017-10-20 Thread quan_hp...@heetian.com
Hi All, I searched a mail list like my problem. https://mail.openvswitch.org/pipermail/ovs-discuss/2017-March/043817.html $sudo lsof -p $(pidof ovs-vswitchd) | wc -l 115536 $cat /proc/$(cat /var/run/openvswitch/ovs-vswitchd.pid)/limits | grep open Max open files99

Re: [ovs-discuss] Rate limit based on IP

2017-10-20 Thread Guoshuai Li
you can try the meter in the dpdk environment. It can base on a flow. https://github.com/openvswitch/ovs/blob/fa10e59a6b9a894644c99f39035afc427d09a490/tests/dpif-netdev.at#L208 Hi I understood that OVS has rate shaping based on port, is there any way to perform rate shaping on IP level? -

[ovs-discuss] Add new ACTION

2017-10-20 Thread Prabhu
 Hello all, I want to implement a custom action which should handle the below process defined as FLOW actions: Buffer size : 1000 Table:0 Rule 1 ->  IN_PORT  match MAC Address1 and ACTION:send_to_buffer_0, go_to_table1 (buffer should log its backlog) Rule 2 ->  IN_PORT match MAC Address2 and

[ovs-discuss] Rate limit based on IP

2017-10-20 Thread BALL SUN
Hi I understood that OVS has rate shaping based on port, is there any way to perform rate shaping on IP level? - RBK ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss