From: Rick Jones <rick.jones2@hp.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jean-Michel Hautbois <jhautbois@gmail.com>, netdev@vger.kernel.org
Subject: Re: TCP communication for raw image transmission
Date: Thu, 05 Jan 2012 10:41:18 -0800 [thread overview]
Message-ID: <4F05EECE.1000708@hp.com> (raw)
In-Reply-To: <1325757891.2415.7.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
On 01/05/2012 02:04 AM, Eric Dumazet wrote:
> Le jeudi 05 janvier 2012 à 10:57 +0100, Jean-Michel Hautbois a écrit :
>> # netperf -H 192.168.0.1 -c -l 10 -t UDP_STREAM -- -m 1500
>> MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
>> 192.168.0.1 (192.168.0.1) port 0 AF_INET
>> Socket Message Elapsed Messages CPU Service
>> Size Size Time Okay Errors Throughput Util Demand
>> bytes bytes secs # # 10^6bits/sec % SU us/KB
>>
>> 106496 1500 10.00 54477 0 0.0 65.34 100.000
>> 1073741824 2.25 0 0.0 65.34 -1.000
>>
>
> Hmm... this sounds you have half duplex somewhere ?
Why? A netperf UDP_STREAM test is "purely" unidirectional (*). I
suspect the numbers look funny thanks to the 32-bit compilation bugs
(format statement issues).
Apart from updating to the top of trunk bits from
http://www.netperf.org/svn/netperf2/trunk , another way to run the test
with the existing bits would be to get the explicit "omni" output going
with something akin to:
netperf -H 192.168.0.1 -t omni -c -l 10 -- -T UDP -m 1500
raj@tardy:~/netperf2_trunk$ src/netperf -t omni -H localhost -c -l 10 --
-T udp -m 1500
OMNI Send TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
localhost.localdomain () port 0 AF_INET
Local Local Local Elapsed Throughput Throughput Local
Local Remote Remote Local Remote Service
Send Socket Send Socket Send Time Units CPU CPU
CPU CPU Service Service Demand
Size Size Size (sec) Util Util
Util Util Demand Demand Units
Final Final %
Method % Method
1254744 1254744 1500 10.00 12869.82 10^6bits/s 42.05 S
-1.00 U 1.071 -1.000 usec/KB
Or to avoid the wraps, use the keyval output format:
raj@tardy:~/netperf2_trunk$ src/netperf -t omni -H localhost -c -l 10 --
-T udp -m 1500 -k
OMNI Send TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
localhost.localdomain () port 0 AF_INET
LSS_SIZE_END=1390392
LSS_SIZE_END=1390392
LOCAL_SEND_SIZE=1500
ELAPSED_TIME=10.00
THROUGHPUT=12640.22
THROUGHPUT_UNITS=10^6bits/s
LOCAL_CPU_UTIL=41.19
LOCAL_CPU_METHOD=S
REMOTE_CPU_UTIL=-1.00
REMOTE_CPU_METHOD=U
LOCAL_SD=1.068
REMOTE_SD=-1.000
SD_UNITS=usec/KB
One could also whittle the output down by using the omni output
selectors -
http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#Omni-Output-Selection
rick jones
* well, there may be a stray, delayed TCP ACKnowledgement on the control
connection while the UDP traffic is flowing, but even that I believe
will be from netperf to netserver - ie in the direction the UDP_STREAM
traffic is going
next prev parent reply other threads:[~2012-01-05 18:51 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-02 15:21 TCP communication for raw image transmission Jean-Michel Hautbois
2012-01-02 15:59 ` Eric Dumazet
2012-01-02 16:08 ` Jean-Michel Hautbois
2012-01-02 16:29 ` Eric Dumazet
2012-01-02 16:40 ` Jean-Michel Hautbois
2012-01-02 16:52 ` Eric Dumazet
2012-01-02 16:52 ` Eric Dumazet
2012-01-02 17:04 ` Jean-Michel Hautbois
2012-01-02 17:20 ` Jean-Michel Hautbois
2012-01-02 17:41 ` Eric Dumazet
2012-01-02 18:00 ` Jean-Michel Hautbois
2012-01-02 18:02 ` Jean-Michel Hautbois
2012-01-03 7:36 ` Jean-Michel Hautbois
2012-01-03 8:06 ` Eric Dumazet
2012-01-05 8:50 ` Jean-Michel Hautbois
2012-01-03 22:35 ` Rick Jones
2012-01-05 9:13 ` Jean-Michel Hautbois
2012-01-05 9:40 ` Eric Dumazet
2012-01-05 9:48 ` Jean-Michel Hautbois
2012-01-05 9:55 ` Eric Dumazet
2012-01-05 9:57 ` Jean-Michel Hautbois
2012-01-05 10:04 ` Eric Dumazet
2012-01-05 18:41 ` Rick Jones [this message]
2012-01-05 18:53 ` Eric Dumazet
2012-01-05 19:26 ` Rick Jones
2012-01-05 18:32 ` Rick Jones
2012-01-05 9:49 ` Eric Dumazet
2012-01-04 9:57 ` David Laight
2012-01-04 11:16 ` Jean-Michel Hautbois
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F05EECE.1000708@hp.com \
--to=rick.jones2@hp.com \
--cc=eric.dumazet@gmail.com \
--cc=jhautbois@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).