Suggestions to Improve my Network

Aabra80

Commendable
Aug 26, 2016
3
0
1,510
I am currently a bit frustrated with my network speed as I seem to max out at 2 MB/s.

FvlVtHU.png


I would like any and all suggestions to improve this speed. Specifically I have a raspberry pi with an external hard drive connected via usb that is acting as a shared drive for all the other devices in the house. I realize that I will be limited to USB 2.0 speeds as a result of this since the raspberry pi does not have usb 3.0 capabilities but currently it is taking me 40 minutes to copy a mere 6 gigs and I know there is lots of room for improvement even with usb 2.0 speeds.

My current network setup:

cable modem which is connected to a Linksys WRT54G router. (Shows 54 mbps) Router connects to a few devices and also has a cable going up to a switch on the 2nd floor. (Steren SWI-005 switch) From that switch I have wired connections going to both the raspberry pi (running Retropie) and my main desktop computer running Windows 10.

Will replacing my router speed up the transfer between my main desktop and an external drive on the raspberry pi? With all the conversions between MB/s and mbps etc I find it hard to determine where the bottleneck is. Any suggestions would be appreciated. I have the same speed limitations when copying to the micro SD card on the Pi - not just the external drive.




 

kanewolf

Titan
Moderator
No replacing the router won't change anything. The Raspberry PI has only fast ethernet (100Mbit) so you are limited by the PI as much as anything. Which version do you have? Original, 2, 3? If you have an original the CPU could be limiting.

How do you have the external disk formatted for the PI? NTFS or did you allow it to format with EXT3 ?
 

Aabra80

Commendable
Aug 26, 2016
3
0
1,510
The external disk is formatted with NTFS and it's a raspberry pi 3. I am running a samba service on the raspberry in order to share the drive.

Edit: I did another test and it is definitely much faster copying to the SD card on the raspberry pi. It would hit 10 MB/s - although repeatedly drop down to essentially 0. That said it is much much slower copying to the external drive. Limited to 2 MB/s.
 

Aabra80

Commendable
Aug 26, 2016
3
0
1,510
Fixed! So I was accessing the drive through /media/usb0 which worked fine... or so I thought. I created a new directory /media/ADATA and then added the following line to the /etc/fstabs file.

UUID=F81C0AC81C0A823C /media/ADATA ntfs-3g defaults,noatime 0 2

I then added the following to the /etc/samba/smb.conf file:

[External Drive]
comment = External Drive
path= "/media/ADATA"
available=yes
read only=no
browseable=yes
public=yes
writeable = yes
guest ok = yes
create mask = 0755

I then began seeing 10 MB/s speeds. Perhaps because I'm forcing it to use ntfs-3g? I'm not sure but it worked. :)