From owner-freebsd-net@FreeBSD.ORG Fri Aug 23 21:44:10 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E0C039CD; Fri, 23 Aug 2013 21:44:10 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id CD319262B; Fri, 23 Aug 2013 21:44:10 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 2EBDE1A3E10; Fri, 23 Aug 2013 14:44:10 -0700 (PDT) Message-ID: <5217D7A9.109@freebsd.org> Date: Fri, 23 Aug 2013 14:44:09 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Vijay Singh Subject: Re: Making IB a first class citizen. References: <521792CF.2060905@freebsd.org> <536C3E8E-5998-4A3B-A019-127F6C00B277@gmail.com> In-Reply-To: <536C3E8E-5998-4A3B-A019-127F6C00B277@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , "net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 21:44:10 -0000 On 8/23/13 2:29 PM, Vijay Singh wrote: > We've been running with this change at work for some time and it doesn't seem to be impacting performance at all. We have a statically routed environment though. Also if we really want to optimize for performance wrt routing then IMHO we need to bring back route caching to the tcpcb. Just a thought. Thanks Vijay, I'll give a little more time and then push this change in. -Alfred > Sent from my iPhone > > On Aug 23, 2013, at 1:52 PM, Adrian Chadd wrote: > >> .. should just check to see what impact it has on performance in the >> general case. that may change the cache behaviour of the ARP / routing >> table code. >> >> >> >> -adrian >> >> >> >> On 23 August 2013 09:50, Alfred Perlstein wrote: >> >>> Hello -net. >>> >>> This email is about making Infiniband a first class citizen of the FreeBSD >>> kernel. >>> >>> Right now we have one #ifdef OFED in the src tree that makes compiling >>> modules a real challenge: >>> >>> In sys/net/if_llatbl.h the "struct llentry" size changes based on if OFED >>> is compiled in or not, only by 16 bytes because Infiniband uses 20bytes for >>> MAC. I am wondering if it would be OK to just unifdef this part to make >>> inifiband a first class citizen of the kernel. Otherwise maybe we can >>> reverse the ifdef so that it's WITHOUT_OFED and by default have it on. >>> >>> I understand that we can not do this for FreeBSD 9.x due to breaking >>> network ABI, however I think we still have time to do so in FreeBSD 10.x. >>> >>> If there's no objection I'd like to push this change into head in the next >>> day or two. The only difference is +16 bytes to the "struct llentry". >>> >>> Comments? >>> >>> ______________________________**_________________ >>> 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-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-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >