Re: [ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-02 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 04:34:29PM -0700, Joe Stringer wrote: > When dealing with a large number of ports, one of the performance > bottlenecks is that we loop through all netdevs in the main loop. Miimon > is a contributor to this, checking all devices even if it has never been > enabled. > > Thi

[ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Joe Stringer
When dealing with a large number of ports, one of the performance bottlenecks is that we loop through all netdevs in the main loop. Miimon is a contributor to this, checking all devices even if it has never been enabled. This patch introduces a counter for the number of netdevs with miimon configu

Re: [ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Joe Stringer
On 1 November 2013 13:31, Ben Pfaff wrote: > On Fri, Nov 01, 2013 at 01:06:39PM -0700, Joe Stringer wrote: > > When dealing with a large number of ports, one of the performance > > bottlenecks is that we loop through all netdevs in the main loop. Miimon > > is a contributor to this, executing eve

Re: [ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 01:06:39PM -0700, Joe Stringer wrote: > When dealing with a large number of ports, one of the performance > bottlenecks is that we loop through all netdevs in the main loop. Miimon > is a contributor to this, executing even if it is not enabled on any > devices. > > This pa

[ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Joe Stringer
When dealing with a large number of ports, one of the performance bottlenecks is that we loop through all netdevs in the main loop. Miimon is a contributor to this, executing even if it is not enabled on any devices. This patch introduces a counter for the number of netdevs with miimon configured.