Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

Poor wired network speed with Android

11

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
11

Poor wired network speed with Android

Posted at 1/5/2015 23:43:41      View:6711 | Replies:11        Print      Only Author   [Copy Link] 1#

I received my Firefly RK3288 a few days ago and have been running XBMC in Android. When connected through a wired LAN cable to my home network, streaming playback is often halting for "Buffering...X%". Disconnecting the cable, running wifi instead gives better, albeit not perfect, performance. Today I measured the network speed on the four different variants and the results were as follows:

                    Wifi                Wired

Android        40-50 Mbps    2-3 Mbps

Lubuntu       40-50 Mbps    40-50 Mbps


For some reason the wired LAN connection doesn't work properly under Android, while I get not problem under Lubuntu. Hence, it doesn't look as if it is hardware related.


Any ideas?


Thanks,

Tomas

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/6/2015 14:25:41        Only Author  2#

Hi Tomas  ,


I got exactly the same problem here under android AND linux. here are my statements . Network transfert is ugly when speed is 1000 FULL Negociated or Fixed.


If you force 100/Full on your interface (i dont know how to make it on Android) iperf indicated about 90MB.


I dont know if it's hardware side or kernel side but the problem is here with all linux/android (even self compile) image i tried. I tried with an other giga switch , problem is the same.


I dont know if Firefly staff is around but i never receive "Real" answer for my problem


Pacopad

Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 1/6/2015 15:10:27        Only Author  3#
Our team is working on this problem.
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/6/2015 17:08:12        Only Author  4#

Happy to hear that team is on the way : )




Best regards

Pacopad
Reply

Use props Report

308

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
308
Posted at 1/13/2015 11:39:00        Only Author  5#

find out a way to solve this problem.

only debug rx_delay can solve. Only for 1000Speed

kernel/arch/arm/boot/dts/firefly-rk3288.dts

  1. &gmac {
  2. //      pmu_regulator = "act_ldo5";
  3. //      pmu_enable_level = <1>; //1->HIGH, 0->LOW
  4. //      power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
  5.         reset-gpio = <&gpio4 GPIO_B0 GPIO_ACTIVE_LOW>;
  6.         phy-mode = "rgmii";
  7.         clock_in_out = "input";
  8.         tx_delay = <0x30>;
  9.         rx_delay = <0x16>;
Copy the code

I try to modify rx_delay = <0x16> , the speed finally get well . of course , I try 0x14 or 0x18.


Both of we can modify rx_delay to try to fix  this problem.

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/13/2015 14:46:06        Only Author  6#
Hi ,

i'll try that ASAP?

Thank you for posting

Pacopad
Reply

Use props Report

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107
Posted at 1/14/2015 00:34:19        Only Author  7#
I tried modified parameter, But it is not working on Ubuntu with modified 0x16 rx_delay. It works only for minutes with eth0 gigabit interface, and it stops network functionality. It is very unstable on Ubuntu.?
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 1/15/2015 14:51:04        Only Author  8#

Thank you Leungtek, you are a chief


[  4] local 192.168.1.1 port 49954 connected with 192.168.1.73 port 5001

[ ID] Interval       Transfer     Bandwidth

[  4]  0.0- 2.0 sec   178 MBytes   748 Mbits/sec

[  4]  2.0- 4.0 sec   176 MBytes   737 Mbits/sec

[  4]  4.0- 6.0 sec   174 MBytes   731 Mbits/sec

[  4]  6.0- 8.0 sec   179 MBytes   751 Mbits/sec

[  4]  8.0-10.0 sec   183 MBytes   769 Mbits/sec


Seems to work well with Android

Pacopad

Reply

Use props Report

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107
Posted at 1/15/2015 19:42:36        Only Author  9#
I tried on Unbuntu with this delay but I stops network functionality. Do you have any problem with 0x16 rx_delay? Could you let me know to how to fix a slow problem on Unbuntu?
Reply

Use props Report

11

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
11
Posted at 1/16/2015 02:37:14        Only Author  10#

@leungtek: As I am not a developer,?I kind of meant some further instructions on where/how to find and modify the file referred to.?




Thank you.
Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list