packets per second tool for CLI - and question about checksum_errs

Rudy crapsh at monkeybrains.net
Wed Aug 21 15:52:52 UTC 2019




On 8/20/19 10:43 PM, moridin wrote:
> systat -ifstat -pps
Awesome, that was the command I needed for PPS.  Chalk it up to Another 
re-inventing the wheel!

The script does spotlight Checksum Errors on the Intel ethernet ports - 
should I be concerned with those errors?

#sysctl dev.ix. | grep checksum
dev.ix.3.mac_stats.checksum_errs: 26
dev.ix.2.mac_stats.checksum_errs: 20844466
dev.ix.1.mac_stats.checksum_errs: 16621802
dev.ix.0.mac_stats.checksum_errs: 8562140

netstat -i" doesn't show any errors.


I am reading up on tuning for a router here:
  https://people.freebsd.org/~olivier/talks/2018_AsiaBSDCon_Tuning_FreeBSD_for_routing_and_firewalling-Paper.pdf
and here:
  https://calomel.org/freebsd_network_tuning.html

Adding in " -tso4 -tso6 -lro" flags as well as adjusting the 
kern.random.harvest.mask - I keep hoping one of them will help with the 
+Checksum Errors, but I guess if the packets are bad getting to the box, 
then the errors are what they are: errors.


Rudy



More information about the freebsd-net mailing list