←  The Lounge

Forums

»

Network speed, HDD speed

xevios's Photo xevios 1 Aug 2014

Hello,

I have the following situation:

My home network is 1 Gb/s, using cisco 1GB Router (wired and wireless). 
Also my internet connection is 1 Gb/s (provider promise 250 Mb/s, but it connected using 1Gb LAN 5r-cat cable).
My primary PC has two 750GB HDDS (about 5 years old) and i have 2 TB NAS for storage. 
What i have noticed:
If i'm downloading something from the internet, the speed can reach up to 70 MB/s (megabytes per second, not megabits, and usually it happens at night time, when the channel is not loaded by others). But at the rest time the speed is 20-25 MB/s which means that my HDD able to store the data at that speed.
But when i'm trying to copy a file from one HDD to another HDD (on the same PC) the speed is just 15 -18 MB/s.
Also when i'm trying to copy a file from PC's HDD to NAS HDD (over 1 GB network, both PC and NAS have 1GB interface) the speed is something around 13-14 MB/s. The same is vice versa from HAS to PC the speed is 13-14 MB/s.
I don't understand, why download speed from the internet is much faster than HDD to HDD or even trough the local network.
Also i have MacBook Pro with SSD, i've tried to copy a file from Mac's SSD to NAS and back, over wired network and wireless network.
I've got about 20 MB/s using wireless network, and 30 using wired lan. All transfers are made using samba protocol. 
Look like my PC is blocking the speed (Windows 7 machine), but i can't find what causes this problem.
It just a normal behaviour. 

Also, for these tests all firewalls was disabled except one in router. 

Any thoughts on it ?
 

Quote

MiLo's Photo MiLo 2 Aug 2014

Check your measurements - file size and data rates are not always reported correctly.

Your old disks appear to run rather slowly. Writing to normal rotating harddisks is usually about as fast as reading them. If your disk's free space is heavily fragmented and uses an inefficient old filesystem (like old windows NTFS with 2k clusters) it'll be slower to write too.

NAS boxes don't always have the CPU power to keep up with the network when transferring data via samba and such. FTP or HTTP is usually the fastest protocol.

To measure network speed, you can use a tool like netbench, netperf or iperf.
Edited by MiLo, 2 August 2014 - 11:12.
Quote

hansham's Photo hansham 16 Apr 2015

Once my NAS was very slow and it helped to re format it completely and do not set any Jumbo Frames.

it went from 20 Mb/s to 50 MB/sec

Quote

Erik Slagter's Photo Erik Slagter 16 Apr 2015

If jumbo frames are not "working properly" you will a complete lack of working. It's not a performance issue. Anyway, I don't think anyone at home should ever enable jumbo frames, there are simply too much consequences.

Quote

40H3X's Photo 40H3X 2 May 2015

.... and that's a fact! ;)
Quote