Did you see more mbuf alloc failures in between these calls?



-adrian


On Fri, 25 Apr 2025 at 15:37, Nuno Teixeira <edua...@freebsd.org> wrote:

> Before iperf3:
>
> netstat -mb
> 27/8103/8130 mbufs in use (current/cache/total)
> 1/5333/5334/1009905 mbuf clusters in use (current/cache/total/max)
> 0/4318 mbuf+clusters out of packet secondary zone in use (current/cache)
> 0/3810/3810/504952 4k (page size) jumbo clusters in use
> (current/cache/total/max)
> 0/0/0/149615 9k jumbo clusters in use (current/cache/total/max)
> 0/0/0/84158 16k jumbo clusters in use (current/cache/total/max)
> 9K/27931K/27940K 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/0/0 requests for jumbo clusters denied (4k/9k/16k)
> 0 sendfile syscalls
> 0 sendfile syscalls completed without I/O request
> 0 requests for I/O initiated by sendfile
> 0 pages read by sendfile as part of a request
> 0 pages were valid at time of a sendfile request
> 0 pages were valid and substituted to bogus page
> 0 pages were requested for read ahead by applications
> 0 pages were read ahead by sendfile
> 0 times sendfile encountered an already busy page
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
>
> After iperf3 (trigger)
>
> % netstat -mb
> 26/8104/8130 mbufs in use (current/cache/total)
> 1/5333/5334/1009905 mbuf clusters in use (current/cache/total/max)
> 0/4318 mbuf+clusters out of packet secondary zone in use (current/cache)
> 0/3810/3810/504952 4k (page size) jumbo clusters in use
> (current/cache/total/max)
> 0/0/0/149615 9k jumbo clusters in use (current/cache/total/max)
> 0/0/0/84158 16k jumbo clusters in use (current/cache/total/max)
> 8K/27932K/27940K 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/0/0 requests for jumbo clusters denied (4k/9k/16k)
> 0 sendfile syscalls
> 0 sendfile syscalls completed without I/O request
> 0 requests for I/O initiated by sendfile
> 0 pages read by sendfile as part of a request
> 0 pages were valid at time of a sendfile request
> 0 pages were valid and substituted to bogus page
> 0 pages were requested for read ahead by applications
> 0 pages were read ahead by sendfile
> 0 times sendfile encountered an already busy page
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
>
> Adrian Chadd <adrian.ch...@gmail.com> escreveu (sexta, 25/04/2025 à(s)
> 23:33):
> >
> > there's nothing odd in the stats output.
> >
> > Try netstat -mb before and after. This error really feels like it's
> somewhere else in the kernel.
> >
> >
> >
> > -adrian
> >
>
>
> --
> Nuno Teixeira
> FreeBSD UNIX:  <edua...@freebsd.org>   Web:  https://FreeBSD.org
>

Reply via email to