Date: Tue, 28 Apr 2015 23:27:28 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: Garrett Wollman <wollman@bimajority.org>, Rick Macklem <rmacklem@uoguelph.ca>, freebsd-net@FreeBSD.org, Mark Schouten <mark@tuxis.nl> Subject: Re: Frequent hickups on the networking layer Message-ID: <20150429062728.GI37063@funkthat.com> In-Reply-To: <20150429051659.GA2180@nparhar-pc> References: <4281350517-9417@kerio.tuxis.nl> <137094161.27589033.1430255162390.JavaMail.root@uoguelph.ca> <21824.26416.855441.21454@hergotha.csail.mit.edu> <20150429051659.GA2180@nparhar-pc>
next in thread | previous in thread | raw e-mail | index | archive | help
Navdeep Parhar wrote this message on Tue, Apr 28, 2015 at 22:16 -0700: > On Wed, Apr 29, 2015 at 01:08:00AM -0400, Garrett Wollman wrote: > > <<On Tue, 28 Apr 2015 17:06:02 -0400 (EDT), Rick Macklem <rmacklem@uoguelph.ca> said: > ... > > > As far as I know (just from email discussion, never used them myself), > > > you can either stop using jumbo packets or switch to a different net > > > interface that doesn't allocate 9K jumbo mbufs (doing the receives of > > > jumbo packets into a list of smaller mbuf clusters). > > > > Or just hack the driver to not use them. For the Intel drivers this > > is easy, and at least for the hardware I have there's no benefit to > > using 9k clusters over 4k; for Chelsio it's quite a bit harder. > > Quite a bit harder, and entirely unnecessary these days. Recent > versions of the Chelsio driver will fall back to 4K clusters > automatically (and on the fly) if the system is short of 9K clusters. > There are even tunables that will let you set 4K as the only cluster > size that the driver should allocate. Can we get this to be the default? and included in more drivers too? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150429062728.GI37063>