On Thu, Nov 26, 2020 at 9:25 PM Paolo Valerio <[email protected]> wrote:
>
> Hi Mark,
>
> Mark Gray <[email protected]> writes:
>
> > From: Aaron Conole <[email protected]>
> >
> > Currently, the channel handlers are polled globally. On some
> > systems, this causes a thundering herd issue where multiple
> > handler threads become active, only to do no work and immediately
> > sleep.
> >
> > The approach here is to push the netlink socket channels to discreet
> > handler threads to process, rather than polling on every thread.
> > This will eliminate the need to wake multiple threads.
> >
> > To check:
> >
> > ip netns add left
> > ip netns add right
> > ip link add center-left type veth peer name left0 netns left
> > ip link add center-right type veth peer name right0 netns right
> > ip link set center-left up
> > ip link set center-right up
> > ip -n left ip link set left0 up
> > ip -n left ip addr add 172.31.110.10/24 dev left0
> > ip -n right ip link set right0 up
> > ip -n right ip addr add 172.31.110.11/24 dev right0
> >
>
> I think the "ip -n" sequence should be like:
>
> ip -n left link set left0 up
>
> Paolo
>
Right, good catch!
--
Matteo Croce
perl -e 'for($t=0;;$t++){print chr($t*($t>>8|$t>>13)&255)}' |aplay
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev