Date: Tue, 3 May 2011 15:00:20 -0700 From: Jack Vogel <jfvogel@gmail.com> To: Michael Schmiedgen <schmiedgen@gmx.net> Cc: Olivier Smedts <olivier@gid0.org>, FreeBSD current mailing list <current@freebsd.org>, Mike Tancsa <mike@sentex.net> Subject: Re: problems with em(4) since update to driver 7.2.2 Message-ID: <BANLkTin1ykoo80%2B9iWe%2Bg5ib1DXw%2B05BgQ@mail.gmail.com> In-Reply-To: <4DC078BD.9080908@gmx.net> References: <BANLkTinrfZbO%2BMUDDuzsoaN1y-=_O8LgNA@mail.gmail.com> <4D94A354.9080903@sentex.net> <AANLkTik_XPsVWL-KqHkPic1KQ0SdCSk6u_9ykRefi3VE@mail.gmail.com> <BANLkTi=K5ASG9TWLAh5r%2Bzo9Wy1stMf9WA@mail.gmail.com> <BANLkTikPPzxZ6XRAaqrvdeXBp=Ydvz7hNg@mail.gmail.com> <BANLkTi=rhZ0dyO6Zq13jY6-NKVE8n24YyQ@mail.gmail.com> <4DC07013.9070707@gmx.net> <BANLkTi=DmQsVvJOaoxMr5GPOLkjs7sdTxQ@mail.gmail.com> <4DC078BD.9080908@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
It has nothing to do with load, it has to do with the prerequisites to init your interfaces. The amount you need is fixed, it doesn't vary with load. Every RX descriptor needs one, so its simple math, number-of-interfaces X number-of-queues X size of the ring. If you have other network interfaces beside Intel they also consume mbufs remember. Jack On Tue, May 3, 2011 at 2:50 PM, Michael Schmiedgen <schmiedgen@gmx.net>wrote: > On 03.05.2011 23:24, Jack Vogel wrote: > >> If you get the setup receive structures fail, then increase the >> nmbclusters. >> >> If you use standard MTU then what you need are mbufs, and standard size >> clusters (2K). >> Only when you use jumbo frames will you need larger. >> >> You must configure enough, its that simple. >> > > I doubled the nmbclusters as well. But nothing happened. > > I have no load on this machine and nothing special > configured. > > Thanks, > Michael >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTin1ykoo80%2B9iWe%2Bg5ib1DXw%2B05BgQ>