NAS

100Mb/s only with Gigabit switch

6 3989
worx  
Hi,

I'm using bananian, and when i use a gigabit switch, my banana pi keep 100Mb/s network speed.

Any feedback ?

Thanks
I can't really help you with the issue. But I can say that the Banana Pi can work behind a gigabit switch. I'm using a TPlink 5 port Gigabit switch and my Banana Pi works as it's supposed to be at 1000Mbit/s link speed. I didn't have to change any settings for that. It worked out of the box.

So, maybe you can check your cables and the settings of the switch, if it's a managed one...

worx  
You are right ... I tried a third cable, and now it's ok !

tkaiser  
If you speak about link negotiation then you should check with dmesg:
  1. root@bananas ~ # dmesg | grep Link
  2. [   29.151929] PHY: sunxi_gmac-0:00 - Link is Up - 1000/Full
Copy the Code
When it's not 1000/Full then either the switch or the cable (use CAT 5e or better) doesn't support it. When it's about 'real world' network transfers then there exist many reasons why you won't be able to saturate a GBit link using the Banana Pi without extensive system tuning -- even then it's not possible to achieve the theoretical GBit ethernet throughput possible with more expensive devices.

I got between 484MB/sec and 530MB/sec with iperf during the testing I did for my review

http://www.mikronauts.com/banana-pi/bpi-review/6/

tkaiser  
Edited by tkaiser at Mon Nov 3, 2014 06:33
mikronauts replied at Sun Nov 2, 2014 15:22
I got between 484MB/sec and 530MB/sec with iperf during the testing I did for my review


When all tunables are adjusted correctly you will be able to achieve even higher speeds depending on the direction of traffic and whether the second CPU core jumps in or not (I still don't get it why this is sometimes true and most of the times not).

Here are some results collected on 29-Sep-2014 when I compared network performance with Bananian and Igor's image between Banana Pi and a MacBook Pro (capable of approx. 940 MBits/sec):

1) Client sends to BananaPi

1.1) Igor's "Banana PI Debian" (performance / 1200 MHz scaling_max_freq):
  1. [  4]  0.0-10.0 sec   781 MBytes   655 Mbits/sec
  2. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 50956
  3. [  5]  0.0-10.0 sec   673 MBytes   565 Mbits/sec
  4. [  4] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 50958
  5. [  4]  0.0-10.0 sec   805 MBytes   675 Mbits/sec
  6. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 50960
  7. [  5]  0.0-10.0 sec   621 MBytes   521 Mbits/sec
  8. [  4] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 50961
  9. [  4]  0.0-10.0 sec   767 MBytes   642 Mbits/sec
Copy the Code
1.2) Bananian (ondemand / 1008 MHz scaling_max_freq):
  1. [  4]  0.0-10.0 sec   946 MBytes   793 Mbits/sec
  2. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51032
  3. [  5]  0.0-10.0 sec   952 MBytes   798 Mbits/sec
  4. [  4] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51033
  5. [  4]  0.0-10.0 sec   952 MBytes   798 Mbits/sec
  6. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51036
  7. [  5]  0.0-10.0 sec   970 MBytes   813 Mbits/sec
  8. [  4] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51037
  9. [  4]  0.0-10.0 sec   559 MBytes   468 Mbits/sec
  10. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51041
  11. [  5]  0.0-10.0 sec   983 MBytes   824 Mbits/sec
Copy the Code
1.3) Bananian (performance / 1200 MHz scaling_max_freq):
  1. [  4]  0.0-10.0 sec   987 MBytes   828 Mbits/sec
  2. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51143
  3. [  5]  0.0-10.0 sec  1.07 GBytes   915 Mbits/sec
  4. [  4] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51151
  5. [  4]  0.0-10.0 sec   992 MBytes   831 Mbits/sec
  6. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51152
  7. [  5]  0.0-10.0 sec   991 MBytes   831 Mbits/sec
  8. [  4] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51154
  9. [  4]  0.0-10.0 sec  1.04 GBytes   894 Mbits/sec
  10. [  5] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51157
  11. [  5]  0.0-10.0 sec  1.04 GBytes   896 Mbits/sec
  12. [  4] local 192.168.83.44 port 5001 connected with 192.168.83.70 port 51158
  13. [  4]  0.0-10.0 sec  1.06 GBytes   913 Mbits/sec
Copy the Code
2) BananaPi sends to client:

2.1) Igor's "Banana PI Debian" (performance / 1200 MHz scaling_max_freq):
  1. [  4]  0.0-10.0 sec   559 MBytes   469 Mbits/sec
  2. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 58055
  3. [  4]  0.0-10.0 sec   560 MBytes   469 Mbits/sec
  4. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 58056
  5. [  4]  0.0-10.0 sec   560 MBytes   469 Mbits/sec
  6. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 58057
  7. [  4]  0.0-10.0 sec   560 MBytes   469 Mbits/sec
  8. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 58058
  9. [  4]  0.0-10.0 sec   560 MBytes   469 Mbits/sec
Copy the Code
2.2) Bananian (performance / 1200 MHz scaling_max_freq):
  1. [  4]  0.0-10.0 sec   804 MBytes   674 Mbits/sec
  2. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 43009
  3. [  4]  0.0-10.0 sec   566 MBytes   474 Mbits/sec
  4. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 43010
  5. [  4]  0.0-10.0 sec   573 MBytes   480 Mbits/sec
  6. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 43011
  7. [  4]  0.0-10.0 sec   576 MBytes   482 Mbits/sec
  8. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 43012
  9. [  4]  0.0-10.0 sec   567 MBytes   475 Mbits/sec
  10. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 43013
  11. [  4]  0.0-10.0 sec   821 MBytes   688 Mbits/sec
  12. [  4] local 192.168.83.70 port 5001 connected with 192.168.83.44 port 43016
Copy the Code

tkaiser,

Thanks, when I have a bit of time I'll try the tuning you suggest!

You have to log in before you can reply Login | Sign Up

Points Rules