Date: Thu, 11 Feb 2010 08:57:20 -0800 From: "Li, Qing" <qing.li@bluecoat.com> To: "Balaji G" <balajig81@gmail.com> Cc: qingli@freebsd.org, current@freebsd.org, net@freebsd.org Subject: RE: ECMP enhancement Message-ID: <B583FBF374231F4A89607B4D08578A43046737B1@bcs-mail03.internal.cacheflow.com> References: <B583FBF374231F4A89607B4D08578A43046737AF@bcs-mail03.internal.cacheflow.com> <6dd1343e1002110021t544c09c9uec170c3671e364bb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Balaji, =20 This patch came out of an offline discussion I had=20 with someone else about a month ago. That person was asking about the ECMP usage in general, and he reported a=20 couple of problems with ECMP operation to me privately. =20 This patch was created to address those reported issues. This patch has nothing to do with you and it's not a reply=20 to your email. =20 I have not had any time to review what you sent to me, which was why I asked you to send whatever you have to the mailing lists for anyone else who might be interested in looking at what you've done. =20 But I recommended to you privately to hold off on any back port because there are multiple pieces involved to make the ECMP code effective. For example, the=20 flow-table code needs to be there, too. Both Kip=20 and I are still evolving the implementation.=20 =20 Since you are new to both FreeBSD and the networking kernel, I told you the ECMP code is probably not the best=20 piece to start with, but you seem to ignore whatever I have=20 said completely ... =20 -- Qing =20 ________________________________ From: owner-freebsd-current@freebsd.org on behalf of Balaji G Sent: Thu 2/11/2010 12:21 AM To: Li, Qing Cc: qingli@freebsd.org; current@freebsd.org; net@freebsd.org Subject: Re: ECMP enhancement Hi Qing > I have a patch that addresses the above issues. The patch is available = at: > = http://people.freebsd.org/~qingli/ecmp-linkstate-patch.diff<http://people= .freebsd.org/%7Eqingli/ecmp-linkstate-patch.diff = <http://people.freebsd.org/~qingli/ecmp-linkstate-patch.diff> > Thanks for the reply. I had sent you an email to you on load balancing couple of days back and thanks for the reply. I ll roll in the patch and give it a shot. Cheers, - Balaji On Thu, Feb 11, 2010 at 9:41 AM, Li, Qing <qing.li@bluecoat.com> wrote: > > One of the advantages of enabling ECMP is to allow for connection load > balancing. > Currently the address alias handling method is colliding with the ECMP > code. > For example, when two interfaces are configured on the same prefix, = only > one prefix route is installed. So connection load balancing is not > possible. > > The other advantage of ECMP is for failover. The issue with the = current > code, is > that the interface link-state is not reflected in the route entry. For > example, > if there are two interfaces on the same prefix, the cable on one = interface > is > unplugged, new and existing connections should switch over to the = other > interface. > This is not done today and packets go into a black hole. > > I discussed about these issues on the list about a month ago. > > Also, there is a small bug in the kernel where deleting ECMP routes in = the > userland will always return an error even though the command is > successfully > executed. > > I have a patch that addresses the above issues. The patch is available = at: > > = http://people.freebsd.org/~qingli/ecmp-linkstate-patch.diff<http://people= .freebsd.org/%7Eqingli/ecmp-linkstate-patch.diff = <http://people.freebsd.org/~qingli/ecmp-linkstate-patch.diff> > > > This is not the final version. Your comments are welcome. > > -- Qing > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B583FBF374231F4A89607B4D08578A43046737B1>