Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Network performance

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2

Network performance

Posted at 12/28/2014 18:20:30      View:9685 | Replies:6        Print      Only Author   [Copy Link] 1#

Hi everybody



My board has ethernet problems in 1000/full mode , iperf output indicates 1,5mbps in tcp. When i force 100/full i got 90mbps in iperf. Résults are the same under linux and android


Is it a kernel bug ??


Thx you

Pacopad

Reply

Use props Report

2442

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2442
Posted at 12/29/2014 09:18:33        Only Author  2#
show the attachme which include kernel log when connect 1000 mode.
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 12/29/2014 16:32:03        Only Author  3#

Hi Zhansb,


here is the full boot log http://pastebin.com/KhHqCQwb


Then when i put the wire in 100Mbps switch


[  326.247106] libphy: stmmac-0:01 - Link is Down

[  336.087163] stmmc_pltfr_fix_mac_speed: fix speed to 100

[  336.087181] stmmc_pltfr_fix_mac_speed: fix speed for RGMII

[  336.087190] libphy: stmmac-0:01 - Link is Up - 100/Full


I got packet loss when i ping a computer on my network.

ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.874 ms

64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.499 ms

64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.417 ms

64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.622 ms

64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.495 ms

64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.390 ms

64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.415 ms

64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=0.461 ms

64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=0.415 ms

64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=0.469 ms

64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=0.427 ms

64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=0.491 ms

64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=0.440 ms

64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=0.611 ms

64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=0.583 ms

64 bytes from 192.168.1.1: icmp_seq=19 ttl=64 time=0.441 ms

64 bytes from 192.168.1.1: icmp_seq=20 ttl=64 time=0.510 ms

64 bytes from 192.168.1.1: icmp_seq=21 ttl=64 time=0.579 ms

^C

--- 192.168.1.1 ping statistics ---

21 packets transmitted, 18 received, 14% packet loss, time 19994ms

rtt min/avg/max/mdev = 0.390/0.507/0.874/0.115 ms



I'm an IT Tech so i got all basic verifications, i changed switch and wires. My network is ok with other computers and devices.


Thx for your help

Pacopad

Reply

Use props Report

2442

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2442
Posted at 12/30/2014 09:47:27        Only Author  4#

make sure your network cable and router support 1000M?


if they are correct ,the log will be like this:

[  453.385496] stmmc_pltfr_fix_mac_speed: fix speed to 1000
[  453.385735] stmmc_pltfr_fix_mac_speed: fix speed for RGMII
[  453.385844] libphy: stmmac-0:01 - Link is Up - 1000/Full

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 12/30/2014 16:25:38        Only Author  5#

Hi,


The 1000/full logs are in the pastebin Line 1135.


My network is giga ok , working good with computer and PS3 and synology ds415


Please could you give me a réal way to Check ?? I tryed at office i got same matter, is my board défective ???


Pacopad

Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 12/30/2014 19:34:36        Only Author  6#
try connect device and computer directly .
set a static ip for device . make sure the same network segment and under the 1000/Full environment
try to ping your computer again .check the Packet loss rate and iperf your computer ip again.
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 12/30/2014 21:19:42        Only Author  7#

Here are results of my tests



COMPUTER <-> FIREFLY DIRECTLY CONNECTED 1000/FULL


Mac-Pro:~ pacopad$ iperf -c 192.168.1.151 -i2 -t120

------------------------------------------------------------

Client connecting to 192.168.1.151, TCP port 5001

TCP window size:  129 KByte (default)

------------------------------------------------------------

[  4] local 192.168.1.1 port 50131 connected with 192.168.1.151 port 5001

[ ID] Interval       Transfer     Bandwidth

[  4]  0.0- 2.0 sec   256 KBytes  1.05 Mbits/sec

[  4]  2.0- 4.0 sec   256 KBytes  1.05 Mbits/sec

[  4]  4.0- 6.0 sec   128 KBytes   524 Kbits/sec

[  4]  6.0- 8.0 sec   128 KBytes   524 Kbits/sec

[  4]  8.0-10.0 sec  0.00 Bytes  0.00 bits/sec

[  4] 10.0-12.0 sec   128 KBytes   524 Kbits/sec

[  4] 12.0-14.0 sec  0.00 Bytes  0.00 bits/sec

^C[  4] 14.0-16.0 sec   128 KBytes   524 Kbits/sec

[  4] 16.0-18.0 sec  0.00 Bytes  0.00 bits/sec

[  4] 18.0-20.0 sec  0.00 Bytes  0.00 bits/sec

[  4] 20.0-22.0 sec  0.00 Bytes  0.00 bits/sec

[  4]  0.0-23.7 sec  1.12 MBytes   399 Kbits/sec


COMPUTER <-> FIREFLY DIRECTLY CONNECTED 100/FULL FORCED ON FIREFLY

Mac-Pro:~ pacopad$ iperf -c 192.168.1.151 -i2 -t120

------------------------------------------------------------

Client connecting to 192.168.1.151, TCP port 5001

TCP window size:  129 KByte (default)

------------------------------------------------------------

[  4] local 192.168.1.1 port 50137 connected with 192.168.1.151 port 5001

[ ID] Interval       Transfer     Bandwidth

[  4]  0.0- 2.0 sec  22.8 MBytes  95.4 Mbits/sec

[  4]  2.0- 4.0 sec  22.6 MBytes  94.9 Mbits/sec

[  4]  4.0- 6.0 sec  22.5 MBytes  94.4 Mbits/sec

[  4]  6.0- 8.0 sec  22.4 MBytes  93.8 Mbits/sec

[  4]  8.0-10.0 sec  22.4 MBytes  93.8 Mbits/sec

[  4] 10.0-12.0 sec  22.4 MBytes  93.8 Mbits/sec

[  4] 12.0-14.0 sec  22.6 MBytes  94.9 Mbits/sec

[  4] 14.0-16.0 sec  22.1 MBytes  92.8 Mbits/sec

[  4] 16.0-18.0 sec  22.5 MBytes  94.4 Mbits/sec

^C[  4]  0.0-19.4 sec   218 MBytes  94.3 Mbits/sec



COMPUTER <-> NAS SYNOLOGY THROUGH NETWORK

Mac-Pro:~ pacopad$ iperf -c 192.168.1.2 -i2 -t120

------------------------------------------------------------

Client connecting to 192.168.1.2, TCP port 5001

TCP window size:  129 KByte (default)

------------------------------------------------------------

[  4] local 192.168.1.1 port 50159 connected with 192.168.1.2 port 5001

[ ID] Interval       Transfer     Bandwidth

[  4]  0.0- 2.0 sec   223 MBytes   935 Mbits/sec

[  4]  2.0- 4.0 sec   223 MBytes   934 Mbits/sec

[  4]  4.0- 6.0 sec   223 MBytes   935 Mbits/sec

[  4]  6.0- 8.0 sec   223 MBytes   934 Mbits/sec

[  4]  8.0-10.0 sec   223 MBytes   934 Mbits/sec

[  4] 10.0-12.0 sec   223 MBytes   935 Mbits/sec

[  4] 12.0-14.0 sec   223 MBytes   934 Mbits/sec

[  4] 14.0-16.0 sec   223 MBytes   934 Mbits/sec

[  4] 16.0-18.0 sec   223 MBytes   935 Mbits/sec

^C[  4]  0.0-18.7 sec  2.04 GBytes   935 Mbits/sec


It really think there is a problem and that's not located on my network

I 'll try to compile a 3.17 kernel to see if there are changes


Thx

Pacopad

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list