(04-06-2016, 12:06 PM)joey Wrote: I am not sure if it will help, but I just wanted to throw this out there.
I was having problems with my pine running Ubuntu dropping every few packets when running a constant ping from my windows box: "ping -t -w 25 pine"
I tried a bunch of things in software, nothing seemed to solve the problem. Out of frustration, I just unplugged the Ethernet cable, waited for 5 ping fails, then plugged it back in. After that the connection was flawless. I have no idea why it did this, but it is consistent. Every time I have weird packet loss issues, unplugging and replugging the pine into the switch "fixes" it until the next reboot. I tried swapping ports on my switch with my raspberry pi, which doesn't have this issue, but it seems specific to the pine. To me this sounds similar to what you are experiencing. If it's dropping packets, your speed tests will be significantly impacted by failed TCP packets that need to be re-sent.
I tried with 3 different switches/routers including a FritzBox 7490, actual firmware 6.50, so i don't think it may be a problem with 'some certain' switches. Even with the 100MBit mode mentioned above i'm getting max 55MBits, so this is significantly too slow and with GB-LAN its even slower.
(04-06-2016, 11:38 AM)longsleep Wrote: Well, i do not know - i guess there are some incompatibilities with certain switches.
This is what you get with any of my images without further optimization regarding IRQ's and buffer sizes. The tests below is running Ubuntu Xenial on Pine and the other end is a ODROID-C1+ which is probably not optimal but i did not want to max out the Pine64 and instead just check _if_ i could reproduce a problem on the 2GB model.
Pine64+2GB as server:
Code:root@pine64-2gb:~# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.59 port 5001 connected with 192.168.1.232 port 42916
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 475 MBytes 398 Mbits/sec
Pine64+2GB as client:
Code:root@pine64-2gb:~# iperf -c 192.168.1.232
------------------------------------------------------------
Client connecting to 192.168.1.232, TCP port 5001
TCP window size: 22.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.59 port 51122 connected with 192.168.1.232 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 555 MBytes 465 Mbits/sec
There are some other numbers in the forum somewhere already, including instructions how to tune things a bit more.
OK, thats impressive, comparing to my actual max. 55MBits about 9times faster. But how to get there?
Still a linux newbie with several EEE-PCs, PI's, LattePanda and some Desktops/Laptops running Win10. Now also proudly using Pine64+ 2GB and gigabit LAN