On Wed, Aug 10, 2011 at 1:13 PM, Marek Lindner lindner_marek@yahoo.de wrote:
On Wednesday, August 10, 2011 12:43:58 Max Ip wrote:
When I checked the CPU usage at different nodes (using netperf), I found the following results.
TCP CPU utilization send local from C to B = 5.84% TCP CPU utilzation send local from B to A = 2.37% TCP CPU utilization from C to A (2-hop environment) = 9.19%
UDP CPU utilization send local from C to B = 0.75% UDP CPU utilization send local from B to A = 3.85% UDP CPU utilization send local from C to A (2-hop environment) = 4.31%
May I ask how you measured the batman-adv CPU usage ? Or is this simply the load created by netperf ?
Before we can speculate why the load is so high / low, we need to know what was measured in the first place.
Regards, Marek
For the test, I run netperf on server and client.
What I mean from by
TCP CPU utilization send local from C to B = 5.84%
is
netperf -H 192.168.101.156 -t TCP_STREAM -c -C
B (192.168.101.156) was set as netperf server and C was client. So, from client we send default TCP_STREAM created by netperf. So, bulk data transfer performance between 2 nodes can be measured in terms of throughput and CPU utilization in sending data. For more details :
http://www.netperf.org/svn/netperf2/tags/netperf-2.5.0/doc/netperf.html#TCP_...
The receive socket size bytes, send socket size bytes and send message size bytes were set to the default values i.e 87380, 16384 and 16384 respectively. The command gave the CPU utilization of 5.84% on node C (sending node).
I hope the explanation is clear.
Thanks. Max