mvi76
Posts: 1
Joined: Mon Sep 19, 2016 3:56 pm

Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 3:59 pm

Hello,

I have been trying to achieve gigabit connection on Ethernet on the wired network, PI 3 ,Fedora 24, but it seems I can't get more than speed 100Mbit.
No matter what I try to configure on ethtool. Connected to a gigabit manageable switch.
Did anyone achieved it ? And how ?


Code: Select all

[[email protected] ~]# ethtool eth0
Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbag
	Wake-on: d
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes
[[email protected] ~]# 

Thanks
martin.

User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 4:15 pm

The ethernet port on the raspberry pi 3 only has 100 Mbit capacity.
Also a 1Gbit usb connector won't work, as the USB bandwidth is only 480Mbit.

Laurens

User avatar
mikronauts
Posts: 2717
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 4:16 pm

Hi Martin,

You will never get gigabit transfer speeds, but you can get around 200mbps.

I've had no problem using Netlink USB3 Gigabit Ethernet adapters to get just under 200mbps.

Basically, having a single USB2 channel on the Pi's SOC is a HUGE limit.

For a detailed explanation of why you cannot get anywhere near 1gbps transfers, see

http://www.mikronauts.com/raspberry-pi/ ... ent-howto/
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

fruitoftheloom
Posts: 20495
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 4:33 pm

Retired disgracefully.....

User avatar
mikronauts
Posts: 2717
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 4:48 pm

Thanks for posting this link... No more Netlink gigabit adapters for me! TRENDnet USB 3.0 Gigabit adapter sounds much better.
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

User avatar
DougieLawson
Posts: 35837
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 4:55 pm

Wow, the price doesn't cross the Atlantic very well. It's $17.99 in Leftpondia and £31 here in Rightpondia.

https://www.amazon.co.uk/TRENDnet-Gigab ... 00LW6UYQ6/
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

fruitoftheloom
Posts: 20495
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 5:44 pm

Retired disgracefully.....

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23404
Joined: Sat Jul 30, 2011 7:41 pm

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 6:46 pm

The Wifi built in to the Pi3 goes via the SDIO port, which is a faster I/F than USB, but IIRC, is only 802.11n, but that is 150Mbits/s, so possibly sometimes faster than a USB gig adapter, as practical USB speeds are around 200Mbits/s

I think.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

User avatar
jbeale
Posts: 3480
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Gigabit ethernet on Raspberry 3

Mon Sep 19, 2016 6:55 pm

Are there any published benchmarks of the RPi-3 wifi adaptor speed suggesting 150 Mb/sec is possible?
The first one I found said they got only 19 Mb/sec and that was 1 m distance. At 10 m it dropped to 12 Mb/sec.
http://www.expertreviews.co.uk/raspberr ... benchmarks

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23404
Joined: Sat Jul 30, 2011 7:41 pm

Re: Gigabit ethernet on Raspberry 3

Tue Sep 20, 2016 8:19 am

jbeale wrote:Are there any published benchmarks of the RPi-3 wifi adaptor speed suggesting 150 Mb/sec is possible?
The first one I found said they got only 19 Mb/sec and that was 1 m distance. At 10 m it dropped to 12 Mb/sec.
http://www.expertreviews.co.uk/raspberr ... benchmarks
No idea, but are they mixing MBytes/s and MBits/s? The chip is 802.11n, so theoretically 150MBits/s, and its possible the latest driver changes may have improved throughput.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: Gigabit ethernet on Raspberry 3

Tue Sep 20, 2016 8:43 am

Yes 802.11n, but Modulation & Coding System (MCS) 7, and 20MHz (not 40MHz) for Bluetooth coexistence, so 72.2Mbps max link speed. Practical throughput I've seen is 20-40Mbps.

The Pi's SDIO bus (eMMC peripheral) by default runs at 41.7MHz, 4 bits wide, so ~160Mbps throughput - slightly lower than the Pi's USB. But (YMMV) the SDIO can be overclocked...

jahboater
Posts: 4613
Joined: Wed Feb 04, 2015 6:38 pm

Re: Gigabit ethernet on Raspberry 3

Tue Sep 20, 2016 9:57 am

Not sure if this helps but I recorded these times for different interfaces.

ping -s 64000 -c 10 <host>

Average round trip times (lower is better of course):-

Pi3 onboard Wifi: 70.4 ms
Pi3 Ethernet: 11.4 ms
Pi3 GiGe/USB3: 4.4 ms
Pi0 Ethernet/USB: 12.9 ms
Odroid C2 GiGe: 1.8 ms

The Pi3 GiGe was the Anker USB3 adapter https://www.amazon.co.uk/Unibody-Alumin ... rnet&psc=1

The Pi0 adapter was https://store.google.com/product/ethern ... chromecast

The Pi3 with Wifi was about 6m from the router (through a wall).

Bill_J
Posts: 18
Joined: Tue Jun 26, 2018 7:18 pm

Re: Gigabit ethernet on Raspberry 3

Thu Oct 11, 2018 3:46 pm

My question is: Will an RPI3 eth via its RJ45 constrain other devices to a gigabit router switch to 100MHZ or have things changed in the years since I took a networking course?

Bill_J

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23404
Joined: Sat Jul 30, 2011 7:41 pm

Re: Gigabit ethernet on Raspberry 3

Thu Oct 11, 2018 4:10 pm

Bill_J wrote:
Thu Oct 11, 2018 3:46 pm
My question is: Will an RPI3 eth via its RJ45 constrain other devices to a gigabit router switch to 100MHZ or have things changed in the years since I took a networking course?

Bill_J
Probably best if you had started a new thread rather than resurrecting this old and mostly unrelated one, but in answer to your question, no. AIUI each connection to the switch has it own negotiated speed, and doesnt affect the speed of the other devices connected to the switch.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

IanS
Posts: 233
Joined: Wed Jun 20, 2012 2:51 pm
Location: Southampton, England

Re: Gigabit ethernet on Raspberry 3

Thu Oct 11, 2018 4:16 pm

How old was your networking course? I can conceive that a network hub which supports multiple speeds might knock everything down to the lowest speed connection, but switches and routers generally handle mixed connections with no problem.
Hubs are very rare these days, as they handle traffic very inefficiently. They can be useful however for intercepting traffic on a network and sending a copy elsewhere.

Bill_J
Posts: 18
Joined: Tue Jun 26, 2018 7:18 pm

Re: Gigabit ethernet on Raspberry 3

Thu Oct 11, 2018 4:37 pm

Okay, thanks.

Return to “Networking and servers”