I\'m now using the netperf to do some bandwidth test on a Ubuntu machine.
I setup a netperf client and a netperf server in the same host. And I did some intra-host pa