[#7219] ethernet in buffer test can't generate netperf_tcp_stream data
Submitted By: Mingquan Pan
Open Date
2012-07-31 03:46:17
Priority:
Medium Assignee:
Bob Liu
Status:
Open Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
ADI-trunk/svn-5764
App binary format:
N/A
Summary: ethernet in buffer test can't generate netperf_tcp_stream data
Details:
ethernet in buffer test can't generate netperf_tcp_stream data now.
pawn /bin/sh^M
^[[?1034huclinux55-bf537-cf:~/work/cruise/checkouts/uclinux-dist/testsuites/ethernet> sud ^Mo ./netserver_x86 ^M
root's password:^M
Starting netserver at port 12865^M
server_set_up: binding the socket: Address already in use^M
uclinux55-bf537-cf:~/work/cruise/checkouts/uclinux-dist/testsuites/ethernet> ps ^Maux| grep netserver_x86 | head -1 ^M
root 16584 0.0 0.0 2064 360 ? S Jul27 0:00 ./netserver_x86^M
uclinux55-bf537-cf:~/work/cruise/checkouts/uclinux-dist/testsuites/ethernet> cd /^M
root:/> ^[[6nnetperf -H 10.100.4.174 -t TCP_RR -l 600 > netperf_tcp_rr ^M
root:/> ^[[6nnetperf -H 10.100.4.174 -t TCP_STREAM -l 600 > netperf_tcp_stream ^M
root:/> ^[[6ncat netperf_tcp_rr^M
TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.100.4.174 (10.100.4.174) port 0 AF_INET^M
Local /Remote^M
Socket Size Request Resp. Elapsed Trans.^M
Send Recv Size Size Time Rate ^M
bytes Bytes bytes bytes secs. per sec ^M
^M
16384 87380 1 1 600.00 3794.90 ^M
16384 87380 ^M
root:/> ^[[TransRate 3794.90
6ncat netperf_tcp_stream^M
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.100.4.174 (10.100.4.174) port 0 AF_INET^M
netperf: receive_response: no response received. errno 110 counter 0^M
root:/> ^[[6n
Last passed time: 2012_Jul_25_19_26.
Uclinux-dist version: 10746.
Kernel verion: , Git-id is not found!
Case 1 ...FAIL
Follow-ups
--- Bob Liu 2012-08-13 04:50:39
root:/> netperf -H 10.100.4.174 -t TCP_RR -l 1
TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.100.4.174
(10.100.4.174) port 0 AF_INET
Local /Remote
Socket Size Request Resp. Elapsed Trans.
Send Recv Size Size Time Rate
bytes Bytes bytes bytes secs. per sec
16384 87380 1 1 1.00 4028.23
16384 87380
root:/>
root:/> netperf -H 10.100.4.174 -t -t TCP_STREAM -l 1
The test you requested is unknown to this netperf.
Please verify that you have the correct test name,
and that test family has been compiled into this netperf.
root:/> netperf -H 10.100.4.174 -t TCP_STREAM -l 1
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.100.4.174
(10.100.4.174) port 0 AF_INET
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 16384 16384 1.00 83.08
root:/>
root:/> netperf -H 10.100.4.174 -t TCP_STREAM -l 10
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.100.4.174
(10.100.4.174) port 0 AF_INET
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
87380 16384 16384 10.00 85.05
root:/> version
kernel: Linux release 3.5.0-ADI-2012R1-pre-00811-g842eea3, build #156 Mon
Aug 13 16:10:10 CST 2012
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-2012R1-RC2)
user-dist: release svn-10540, build #27 Mon Aug 13 16:09:45 CST 2012
root:/>
--- Mingquan Pan 2012-08-15 06:02:09
root:/> ^[[6nversion^M
kernel: Linux release 3.5.0-ADI-2012R1-pre-00797-g367b7b2, build #553 Fri
Jul 27 20:06:19 CST 2012^M
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5764) ^M
user-dist: release svn-10752, build #7991 Fri Jul 27 20:05:46 CST 2012^M
root:/> ^[[6nsuccessful boot attempt
************** STEP 3: Start testing.
ifconfig eth0 10.100.4.50^M
root:/> ^[[6nPHY: bfin_mii_bus-0:01 - Link is Up - 100/Full^M
************** STEP 4: Untar netperf.
spawn /bin/sh^M
uclinux50-bf537-9960-1836:~/work/cruise/checkouts/uclinux-dist/testsuites/etherne^Met>
sudo ./netserver_x86 ^M
root's password:^M
Starting netserver at port 12865^M
server_set_up: binding the socket: Address already in use^M
uclinux50-bf537-9960-1836:~/work/cruise/checkouts/uclinux-dist/testsuites/etherne^Met>
ps aux| grep netserver_x86 | head -1 ^M
root 2551 0.0 0.0 2128 68 ? Ss 19:41 0:00
./netserver_x86^M
uclinux50-bf537-9960-1836:~/work/cruise/checkouts/uclinux-dist/testsuites/etherne^Met>
cd /^M
root:/> ^[[6nnetperf -H 10.100.4.174 -t TCP_RR -l 600 > netperf_tcp_rr
^M
root:/> ^[[6nnetperf -H 10.100.4.174 -t TCP_STREAM -l 600 >
netperf_tcp_stream ^M
root:/> ^[[6ncat netperf_tcp_rr^M
TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.100.4.174
(10.100.4.174) port 0 AF_INET^M
Local /Remote^M
Socket Size Request Resp. Elapsed Trans.^M
Send Recv Size Size Time Rate ^M
bytes Bytes bytes bytes secs. per sec ^M
^M
16384 87380 1 1 600.00 4101.09 ^M
16384 87380 ^M
root:/> ^[[TransRate 4101.09
6ncat netperf_tcp_stream^M
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.100.4.174
(10.100.4.174) port 0 AF_INET^M
netperf: receive_response: no response received. errno 110 counter 0^M
root:/> ^[[6n
Last passed time: 2012_Jul_26_15_52.
Uclinux-dist version: 10746.
Kernel verion: , Git-id is not found!
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found