C1 network performance

Post Reply
kanoa
Posts: 1
Joined: Wed Jan 07, 2015 7:22 am
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

C1 network performance

Unread post by kanoa » Wed Jan 07, 2015 9:58 am

I have a new C1 and I'm testing the network performance. Using iperf to a directly connected server I'm getting ~270 megabits/sec in a single thread and ~340 in two threads, I cannot get any more than that in any configuration of threads and buffer sizes. The server can routinely measure >990 megabits/sec to a high performance client so I do not think the server is a limiting factor.

Has anyone else measured the actual C1 network performance?

ryecoaaron
Posts: 99
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, odroid-hc2, cloudshell xu4, cloudshell2 xu4, odroid go, odroid go advance, odroid-n2
Location: Wisconsin
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by ryecoaaron » Wed Jan 07, 2015 10:43 am

I have tested using samba and rsync. I'm seeing about the same numbers.

magnum_pi
Posts: 206
Joined: Tue Mar 05, 2013 6:37 am
languages_spoken: English, Japanese, French, Irish
ODROIDs: U2, X2, XU, U3
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by magnum_pi » Wed Jan 07, 2015 1:25 pm

I got about 240Mbps with iperf when C1 was sending, but around 279 when it was receiving. I clocked it as being about 3 times the speed of a Raspberry Pi.

I was also doing some transcoding on the C1 and I transferred a 990Mb file to it using netcat (lowest-overhead program I could think of) it only managed 12.78MB/s (megabytes, which is 102.24Mbps). Not great, but perhaps disk I/O on either end contributed to some of the slowdown.

bad friend
Posts: 4
Joined: Mon Jan 05, 2015 11:11 pm
languages_spoken: english, german
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by bad friend » Thu Jan 08, 2015 6:01 am

I'm just getting ~160KB/sec no matter from what server. Even from my NAS! The LEDs on the C1 itself and the one on my router are indicating a GBit connection, though.
I tried different cables and different ports to no avail. My downlink usually serves 75Mbit/sec, hence ~9MB. So the C1 is just able to use 1,8% of my internet speed.
This network speed renders any streaming (even in the local network) useless.
I'm using a pretty much untouched Linux installation with all packages in their newest version.

Do you have any idea what could be the matter?

Demetris
Posts: 30
Joined: Sun Jan 04, 2015 6:29 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by Demetris » Thu Jan 08, 2015 6:38 am

Sure amlogic soc

User avatar
odroid
Site Admin
Posts: 33340
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 385 times
Been thanked: 454 times
Contact:

Re: C1 network performance

Unread post by odroid » Thu Jan 08, 2015 11:45 am

We heard some Gbit switches/hubs caused the issue. :(
Here is a temporary solution.
http://forum.odroid.com/viewtopic.php?f=111&t=8004

bad friend
Posts: 4
Joined: Mon Jan 05, 2015 11:11 pm
languages_spoken: english, german
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by bad friend » Thu Jan 08, 2015 7:24 pm

Thanks for your hints.
I'm using a NETGEAR Nighthawk AC1900 (R7000) router. All other devices in my network work like a charm.

After changing the network speed to 100Mbit via

Code: Select all

sudo ethtool -s eth0 speed 100 duplex full autoneg off
on the C1 the speed improved a lot (to about 3,5MB, that's 28Mbit), it's still not that great.
Is there a hope for this bug to get fixed?

Temren
Posts: 6
Joined: Tue Feb 03, 2015 1:14 pm
languages_spoken: english, turkish
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by Temren » Fri Sep 25, 2015 11:31 pm

Code: Select all

sudo lshw -class network
  *-network               
       description: Ethernet interface
       physical id: 2
       logical name: eth0
       serial: 00:1e:**:**:**:**
       size: 1Gbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=meson-eth duplex=full ip=192.168.0.10 link=yes multicast=yes port=MII speed=1Gbit/s
lshw comes up with that 1Gbit/s is avaliable.

But my Odroid C1's ethernet jack led blinks in orange, apparently it means only 100Mbit connection is in use. And my network copying speed peaks at 6 MB/s (I have a gigabit router)

How can I improve samba file server copying speeds on my network? I connected a WD My passport Ultra external HDD to my odroid via USB port (It is NTFS) and I'd expect speeds close to 30 mb/s

User avatar
odroid
Site Admin
Posts: 33340
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 385 times
Been thanked: 454 times
Contact:

Re: C1 network performance

Unread post by odroid » Mon Sep 28, 2015 9:41 am

Yes, the network storage speed could be 25~30MB/s.
What is the result of iperf test?
What is the result of dd test?

Temren
Posts: 6
Joined: Tue Feb 03, 2015 1:14 pm
languages_spoken: english, turkish
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by Temren » Tue Sep 29, 2015 5:20 am

Code: Select all

sudo hdparm -Tt /dev/sda1

/dev/sda1:
 Timing cached reads:   1554 MB in  2.00 seconds = 776.96 MB/sec
 Timing buffered disk reads: 102 MB in  3.00 seconds =  33.95 MB/sec
Read speed is close to 34 MB/s

Code: Select all

Client connecting to 192.168.0.31, TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.16 port 41001 connected with 192.168.0.31 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  38.8 MBytes  32.5 Mbits/sec
This is the first time I ran iperf test on a computer, it shows 32.5 Mbits/s, I guess it's pretty slow

User avatar
odroid
Site Admin
Posts: 33340
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 385 times
Been thanked: 454 times
Contact:

Re: C1 network performance

Unread post by odroid » Tue Sep 29, 2015 11:42 am

http://www.hardkernel.com/main/products ... 3703355573
As described in above link, please try and compare with below values.

Code: Select all

Server agent on the C1 and Client agent on the host PC
ruppi@ruppi-desktop:~$ iperf -s 192.168.2.10 -P 10
[SUM]  0.0-10.1 sec  1.10 GBytes   928 Mbits/sec

Server agent on the host PC and Client agent on the C1
odroid@odroid:~# iperf -c 192.168.2.2 -P 10
[SUM]  0.0-10.0 sec   467 MBytes   392 Mbits/sec
If the difference is too huge, you need to check the Ethenet cable(CAT-5E / CAT-6) or Switch configuration.

Gerry
Posts: 25
Joined: Thu Jan 08, 2015 8:08 pm
languages_spoken: EN,DE
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: C1 network performance

Unread post by Gerry » Sat Oct 10, 2015 1:35 am

Here is my quote:

Code: Select all

[  5] local 10.0.0.104 port 5001 connected with 10.0.0.100 port 61851
[  5]  0.0-10.0 sec   962 MBytes   808 Mbits/sec
ok ..., TCP windows size 80k.

With default windows size: 85.3 KByte

Code: Select all

[  4]  0.0-10.0 sec   346 MBytes   290 Mbits/sec
A Zyxel 105V2 LAN switch in between.

All in all not bad ! Nearly the same results as with a simple notebook
regards
gerry

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 3 guests