Here is a patch that add multithread support to tools/tools/netrate/netblast (I've used the netreceive code).
WARNING: It need full review because it's my first try with pthread.
Fix: Patch attached with submission follows:
I've updated my patch for displaying approx througput (ethernet and payload):
Network admin want ethernet throughput but system admin want payload
Here are an output example:
netblast 22.214.171.124 4121 10 30 `sysctl -n hw.ncpu`
netblast 4 threads sending on UDP port 4121
send calls: 37678622
send errors: 5996263
send success: 31682359
approx send rate: 1056078
approx error rate: 0
approx Ethernet throughput: 439 Mib/s
approx payload throughput: 84 Mib/s
I've attached the patch for 9-stable and -current to this mail, but
you can found it here too (if gmail mangle the attached file):
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped