netmap overrun counters
Luigi Rizzo
rizzo at iet.unipi.it
Thu Apr 28 19:06:30 UTC 2016
On Thursday, April 28, 2016, bazzoola <bazzoola at gmail.com> wrote:
>
>
> On 04/28/2016 11:35 AM, Navdeep Parhar wrote:
> > On 04/28/2016 11:13, bazzoola wrote:
> >> Hi!
> >>
> >> Two questions:
> >>
> >> (1) Is there a way to know when netmap rx rings overrun? Most NIC
> >> drivers provide MPC (missed packet count) and sysctl for rx_overrun.
> >>
> >> I would like to know if my application is not reading as fast, i.e., no
> >> frames are being dropped.
> >
> > A NIC's hardware counters don't distinguish between netmap or normal
> > operation so you can monitor the existing sysctls for rx drops/overruns.
> >
> > Regards,
> > Navdeep
> >
>
> Navdeep,
>
> I am not asking about NIC's ring overrun. As you know netmap has its own
> rings. Is there a way to know if netmap's rx ring overrun?
Overruns by definition can only be counted by the NIC
Cheers
Luigi
>
> Thanks for your input.
> _______________________________________________
> freebsd-net at freebsd.org <javascript:;> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org
> <javascript:;>"
>
--
-----------------------------------------+-------------------------------
Prof. Luigi RIZZO, rizzo at iet.unipi.it . Dip. di Ing. dell'Informazione
http://www.iet.unipi.it/~luigi/ . Universita` di Pisa
TEL +39-050-2217533 . via Diotisalvi 2
Mobile +39-338-6809875 . 56122 PISA (Italy)
-----------------------------------------+-------------------------------
More information about the freebsd-net
mailing list