19.01.2019 17:21, Bruce Evans wrote:

> Your problem looks more like lost interrupts.  All em NICs should interrupt
> at the default interrupt moderation rate of 8 kHz under load.  Once there
> are are that many interrupts, there is not much else that can go wrong (nfs
> would have to be working to generate that many interrupts).

I have a patch (in production since 8.x) that makes em(4) support 
hw.em.max_interrupt_rate
just like igb(4) supports hw.igb.max_interrupt_rate:

http://www.grosbein.net/freebsd/patches/em_sysctl-11.0.diff.gz

It also brings in sysctls dev.em.X.max_interrupt_rate and 
hw.em.max_interrupt_rate sets defaults for them.

I use hw.em.max_interrupt_rate=32000 for 1GB link passing average sized packets
(about 600 bytes per packet at average) but driver's default 8000 should be 
nearly fine
for full size packets (1500 or above) and this 8000 limit cannot be reason for 
such low throughput.

> Bugs in iflib are easy to avoid by running FreeBSD-11.  PRO-1000 is supported
> by most versions of FreeBSD and doesn't have the bug fixed by the above in
> FreeBSD[7-11].

Agreed.

_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to