LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2016, 05:35 AM   #1
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Rep: Reputation: Disabled
Raspberry Pi 3 slows down network


Hello,

I'm encountering a strange problem. When I connect my raspberry pi 3 over ethernet, all my other devices (connected over ethernet or WiFi) are slowed down from 8 Mbit/s to 1,5 Mbit/s.

When I shutdown my raspberry, but leave the power supply attached to the raspberry, as well as the ethernet cable, then I get an improvement of 0,5 Mbit/s. Only when I disconnect my raspberry from power or detach the ethernet cable my bandwidth goes back to normal.

How is this possible? Could someone help me to figure out a solution?

P.S. I already tried to move the raspberry far away from the router, and I also tried to use another ethernet cable, but nothing changed.
 
Old 11-26-2016, 06:03 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Is it enforcing 10 Mbit traffic instead of 100Mbit?
 
Old 11-26-2016, 06:29 AM   #3
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
First of all, many thanks for your rapid answer.
How can I check that? Are there any config files where I can edit it?
 
Old 11-26-2016, 09:21 AM   #4
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Raspi 3 network bus shares the USB bus.

Refer to http://raspberrypi.stackexchange.com...ame-controller
 
Old 11-26-2016, 09:30 AM   #5
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
This would explain, why my Wifi speed is higher than my ethernet speed. But there is one open question: why is my entire network affected, by this slow down?
 
Old 11-26-2016, 09:55 AM   #6
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Are you connected to a hub (as opposed to a switch)? Typically a hub will slow down the entire network in which it's connected to match the slowest connected device.
 
Old 11-26-2016, 10:08 AM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
That Pi of yours has a hardware problem. If it is new and under warranty have it replaced.
 
Old 11-26-2016, 10:26 AM   #8
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
No, I'm not connected to a hub.
@Emerson: Yes, it could be, for this reason, these days I'm gonna try to attach the Pi at the network of a friend. If the problem persists than it's for sure a Pi Hardware problem and I will send it back.

But what other factors could influence it? Could the router/modem play a role in this problem?
 
Old 11-26-2016, 10:36 AM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I don't think so, the problem seems to be at physical layer.
 
Old 11-26-2016, 10:52 AM   #10
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
It doesn't make sense that the Pi would slow down the whole network. OP mentioned slowdown happens over both wifi and hardwiring. Neither case should slow the whole network with a modern (<10 years old) router. The router should only slow the negotiated route of the device. Consider upgrading the firmware of your router as a possible solution.

You can use mii-tool command to detect the current speed of your hardwired Ethernet.

Last edited by sag47; 11-26-2016 at 11:03 AM.
 
Old 11-26-2016, 11:04 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
If you get one box, load an ftp server on it, and transfer some files with just the two of them in a network, you can check your Pi. At about 10 bits/byte transferred, 10Mbit/S = ~1MB/S and 100Mbit = ~10MB/S.
 
Old 11-26-2016, 11:06 AM   #12
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
I'm already using the latest version of the available firmware. But unfortunately I'm using the router provided by my ISP, so that I cannot flash OpenWRT on it. It's a SERCOMM router, called Easybox 804 (not very popular).

@business_kid: I did this test, using SCP (Cyberduck), transferring a large file (10GB) from my computer to the pi, and the average speed was about 9MBit/s.

Last edited by primefa; 11-26-2016 at 11:10 AM.
 
Old 11-26-2016, 11:24 AM   #13
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
So I run the command mii-tool and this is the output:
Code:
mii-tool -v
eth0: negotiated 1000baseT-HD flow-control, link ok
  product info: vendor 00:01:f0, model 12 rev 3
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Another strange thing that happens, is that when I connect the ethernet cable to my raspberry the router, loses connectivity to the internet and after that it connects and synchronises, so that I get a new public IP.
In order to get full speed again, I have to reconnect my router, so that it synchronises and gets a new public IP again

Last edited by primefa; 11-26-2016 at 11:34 AM.
 
Old 11-26-2016, 11:55 AM   #14
af7567
Member
 
Registered: Nov 2012
Posts: 293

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by primefa View Post
So I run the command mii-tool and this is the output:
Another strange thing that happens, is that when I connect the ethernet cable to my raspberry the router, loses connectivity to the internet and after that it connects and synchronises, so that I get a new public IP.
In order to get full speed again, I have to reconnect my router, so that it synchronises and gets a new public IP again
Is your pi power supply plugged in close to your router? Maybe the power supply has a problem and it is causing interference on your phone line.
 
1 members found this post helpful.
Old 11-26-2016, 12:13 PM   #15
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
@af7567: Yes it is. I will try to move it away and will then post the result.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A windows PC slows down my network OpenJacob Linux - Networking 4 12-16-2010 12:19 AM
server slows down network torrent478 Linux - Networking 2 04-29-2008 06:36 PM
network slows down until wifi is turned off esteeven Linux - Wireless Networking 2 10-05-2006 04:58 AM
Network automatically slows down! matt2ss Linux - Networking 6 10-02-2006 01:22 PM
Network slows down system davecs Linux - Software 10 07-13-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration