Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2014 18:33:06 +0100
From:      Gerrit =?ISO-8859-1?Q?K=FChn?= <gerrit.kuehn@aei.mpg.de>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: igb Could not setup receive structures (again)
Message-ID:  <20141121183306.d057ff1743e2a1e04ae55f93@aei.mpg.de>
In-Reply-To: <CAFOYbcnNMFneGN9GhHQDia4GYfhdYjoSMgGF_0_V7RbLMUyNWQ@mail.gmail.com>
References:  <20141121114852.8b7d9a6c071c3e0799d5f30c@aei.mpg.de> <CAFOYbcnNMFneGN9GhHQDia4GYfhdYjoSMgGF_0_V7RbLMUyNWQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Nov 2014 08:22:31 -0800 Jack Vogel <jfvogel@gmail.com> wrote
about Re: igb Could not setup receive structures (again):

JV> After you get the error do a `netstat -m` and see what the state of the
JV> 9K jumbo pool is, for that is the size you would be using.

Hm...

---
root@mclane:~ #	netstat -m
20472/33783/54255 mbufs in use (current/cache/total)
20461/31381/51842/1014856 mbuf clusters in use (current/cache/total/max)
20461/29764 mbuf+clusters out of packet secondary zone in use (current/cache)
0/191/191/507428 4k (page size) jumbo clusters in use (current/cache/total/max)
0/3425/3425/150349 9k jumbo clusters in use (current/cache/total/max)
0/0/0/84571 16k jumbo clusters in use (current/cache/total/max)
46040K/102796K/148836K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/10/0 requests for jumbo clusters denied (4k/9k/16k)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile

root@mclane:~ #	ifconfig igb1 mtu 9000

root@mclane:~ #	netstat -m
16373/37882/54255 mbufs in use (current/cache/total)
16369/35473/51842/1014856 mbuf clusters in use (current/cache/total/max)
16369/33856 mbuf+clusters out of packet secondary zone in use (current/cache)
0/191/191/507428 4k (page size) jumbo clusters in use (current/cache/total/max)
0/3425/3425/150349 9k jumbo clusters in use (current/cache/total/max)
0/0/0/84571 16k jumbo clusters in use (current/cache/total/max)
36831K/112005K/148836K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/12/0 requests for jumbo clusters denied (4k/9k/16k)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile

---


JV> Depending on the specific device type you may have up to 8 rings
JV> per interface, and with a ring size of 1K...
JV> It does seem like you should have enough, but maybe something else
JV> in your system is using the pool? As I said, look at netstat, it
JV> should give you the truth, and then adjust the allocated size to fit
JV> your needs.

I must admit that I cannot make much of this output... looks all fine to me?


cu
  Gerrit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141121183306.d057ff1743e2a1e04ae55f93>