[netperf-talk] Problem with Bidirectional Test
Rick Jones
rick.jones2 at hp.com
Thu Jul 23 09:54:22 PDT 2009
Ankit Goyal wrote:
> Hi Rick,
>
> Sorry for late reply as I was out of my place for a week.
>
> I checked in with arp settings and it showed exactly u said :)
> and as my cpu becomes 100% busy when doing test for a port
> bidirectionally , is there any way to make it less busy and get more
> usage of CPU?
There may or may not be interrupt coalescing settings you can tweak for your
driver/NIC combination. After that, assuming it has the usual offloads enabled,
the only thing left is to write more efficient code for the stack/driver/etc.
> And one more thing that the TCP STREAM that we sent for network
> performance, does it give us the link rate or data rate?
It gives the rate at which data is transferred from one user space to the other.
It does not include protocol headers or ACKs etc and so I suspect is what you
called data rate.
> Can we send the encrypted data using netperf and if yes, then how?
Well, if your stack supports a sendfile call, you can encrypt some data into a
file and use TCP_SENDFILE. Apart from that, netperf does not have hooks to call
into crypto routines.
happy benchmarking,
rick jones
More information about the netperf-talk
mailing list