SSD to NAS file transfer over gigabit - why only 30MB/s?

feo

Limp Gawd
Joined
Dec 24, 2006
Messages
183
So I just got a new SSD and connected my QNAP NAS to my PC via ethernet.

Now both the NAS and my PC have gigabit ports yet the file transfer only goes at 35MB/s.

Why?

Am I missing something here?
 
There are many factors. Even a traditional modern spinner (5400 or 7200RPM) can saturate a 1GBit connection. Here are some things to look at:

How are you accessing the NAS? CIFs, iscsi, NFS, samba, etc
Are you transferring large or small files?
What kind of nics do you have on each side(server and client)
 
So I just got a new SSD and connected my QNAP NAS to my PC via ethernet.

Now both the NAS and my PC have gigabit ports yet the file transfer only goes at 35MB/s.

Why?

Am I missing something here?

Which QNAP do you have, which SSD and how are the drive(s) in the nas configured. What motherboard do you have, which port are you using and how is it connected to the network? Do you have any other network connected storage devices and is the throughput to them any better?
 
There are many factors. Even a traditional modern spinner (5400 or 7200RPM) can saturate a 1GBit connection. Here are some things to look at:

How are you accessing the NAS? CIFs, iscsi, NFS, samba, etc
Are you transferring large or small files?
What kind of nics do you have on each side(server and client)

Accessing it via Samba methinks. Basically just type the name of the server in the location/address bar in Windows Explorer and browse files that way.

Both large and small files of all types, mainly media like mp3s, SD and HD video and other miscellaneous stuff.

Both my NAS (QNAP TS-410) and my motherboard on my PC (MSI P55-GD65) have 2 gigabit Ethernet ports each.

Which QNAP do you have, which SSD and how are the drive(s) in the nas configured. What motherboard do you have, which port are you using and how is it connected to the network? Do you have any other network connected storage devices and is the throughput to them any better?

My SSD is an OCZ Vertex 4 256GB. See above for answers to your other questions.

The NAS is hooked straight into my PCs Ethernet port.

No other network storage attached so can't compare it to any other transfers.
 
Accessing it via Samba methinks. Basically just type the name of the server in the location/address bar in Windows Explorer and browse files that way.

Both large and small files of all types, mainly media like mp3s, SD and HD video and other miscellaneous stuff.

Both my NAS (QNAP TS-410) and my motherboard on my PC (MSI P55-GD65) have 2 gigabit Ethernet ports each.



My SSD is an OCZ Vertex 4 256GB. See above for answers to your other questions.

The NAS is hooked straight into my PCs Ethernet port.

No other network storage attached so can't compare it to any other transfers.


Well, a few things to check initially. Make sure you have the latest firmware on the QNAP, and the latest Realtek drivers on the motherboard. Your cable must be at least CAT5e (preferably Cat6). I don't know if the Qnap or the Realtek supports auto crossover (or if it is less effecient if it does) so you might need a crossover cable instead of a regular Ethernet cable if you are directly connected without a switch.
 
Well, a few things to check initially. Make sure you have the latest firmware on the QNAP, and the latest Realtek drivers on the motherboard. Your cable must be at least CAT5e (preferably Cat6). I don't know if the Qnap or the Realtek supports auto crossover (or if it is less effecient if it does) so you might need a crossover cable instead of a regular Ethernet cable if you are directly connected without a switch.

QNAP firmware, check.

Realtek drivers I will check next.

Cables I know nothing about so I'll try to get CAT6 crossover and see if that helps.
 
QNAP firmware, check.

Realtek drivers I will check next.

Cables I know nothing about so I'll try to get CAT6 crossover and see if that helps.

What does it say on the cable you are using? Cat5, Cat5e?
 
Not sure on that QNAP. I would recommend googling your model and CIFs share setup.
 
Not sure on that QNAP. I would recommend googling your model and CIFs share setup.
Will try setting it up. But how exactly will that help in determining why the transfer speed is not closer to 100MB/s as it should be?
 
Ok well it seems that the cable I had connected was CAT5 but I do have a CAT5e cable lying around so I'll retest the transfer speed using 5e and report back tomorrow.

Apart from that, having all the latest drivers and firmware and whatnot, I should be expecting closer to 100MB/s, right?
 
I'll have to check but I think it may just be CAT5. Will double check for you. It will be written on the cable itself, right?

If it is just cat 5, you are likely experiencing a lot of errors/retransmissions if it is trying to maintain a gig connection. If it only negotiated a 100MB connection you would only get about 10MB/sec so it looks like it is negotiating a gig connection
 
So when copying stuff TO the NAS I should look at the write speed?

If so, that table quotes 25.7MB/s but I get 35 consistently, how does that work?

Yes, you have to look at write speed. The 10MB/s extra is probably due different type of data copied to the NAS (see the note at bottom saying "*Testing results may vary in different system condition"). Unfortunately, speeds you are seeing are probably the maximum your 800MHz Marvell CPU can handle. There is a reason why more powerfull NAS are using Atom or some even Sandy Bridge Celeron/Pentium CPU.
 
If it is just cat 5, you are likely experiencing a lot of errors/retransmissions if it is trying to maintain a gig connection. If it only negotiated a 100MB connection you would only get about 10MB/sec so it looks like it is negotiating a gig connection

So is there no way to send files to the NAS from my PC over the network at speeds greater than 30MB/s?
 
Yes, you have to look at write speed. The 10MB/s extra is probably due different type of data copied to the NAS (see the note at bottom saying "*Testing results may vary in different system condition"). Unfortunately, speeds you are seeing are probably the maximum your 800MHz Marvell CPU can handle. There is a reason why more powerfull NAS are using Atom or some even Sandy Bridge Celeron/Pentium CPU.

Dammit. Will play around tomorrow a bit and see if I can squeeze out any more using 5e or maybe 6.
 
If the NAS is limited in throughput, whether due to it's network interface, or it's onboard processor's ability to calculate parity (RAID5) there is nothing that will make it faster, that's just how fast it goes. I haven't encountered many NAS boxes that could perform much better than what you quoted.
 
So is there no way to send files to the NAS from my PC over the network at speeds greater than 30MB/s?

If you are indeed only using a cat5 cable, that could be causing slow speeds. The theoretical max throughput of gig ethernet is 125MB/s, but it all depends on how fast your NAS can move the data. On a single file transfer, usually you should see 75-100 MB/s if your nas is capable of pushing data out as fast as your ssd is capable of.
 
So when copying stuff TO the NAS I should look at the write speed?

If so, that table quotes 25.7MB/s but I get 35 consistently, how does that work?

It would depend on the file transferred, which is why they say "*Testing results may vary in different system condition". If you are transferring big files only from a speedy host, you would get higher throughput. If you are transferring massive amounts of small files, you would get a lower average throughput.
 
If you are indeed only using a cat5 cable, that could be causing slow speeds. The theoretical max throughput of gig ethernet is 125MB/s, but it all depends on how fast your NAS can move the data. On a single file transfer, usually you should see 75-100 MB/s if your nas is capable of pushing data out as fast as your ssd is capable of.

I would argue that the cable is unlikely the problem. The difference in shielding between Cat 5 and Cat 5e is small.

It's more typical to get speeds between 20-50 for low end NAS and 50-75 with a mid-range NAS. Due to protocol overhead, and other factors, speeds up to 100MB are fairly rare in practice.

The realtek LAN card in question here could also be a bottleneck. I have poor experiences with them.

To get that speed, you'd probably need an intel atom-based NAS (or equivalent). and preferably dual gigabit LAN with teaming function.
 
I would argue that the cable is unlikely the problem. The difference in shielding between Cat 5 and Cat 5e is small.

Uh, there is no shielding in Cat5 (or Cat5e or Cat6), which is why they are called UTP (Unshielded Twisted Pair). It is the twists in the pairs which rejects interference. If you are trying gigE over straight Cat5 anything longer than a 7-10 foot cable, you will get horrific performance because of retransmissions due to errors.
 
Uh, there is no shielding in Cat5 (or Cat5e or Cat6), which is why they are called UTP (Unshielded Twisted Pair). It is the twists in the pairs which rejects interference. If you are trying gigE over straight Cat5 anything longer than a 7-10 foot cable, you will get horrific performance because of retransmissions due to errors.

Is there any way to tell if it's straight or twisted?

The writing on the cable?
 
Is there any way to tell if it's straight or twisted?

The writing on the cable?

Well, if it is ethernet cable it is twisted pairs. As to what level it is certified to, it will be printed on the cable Jacket. You should look for a marking Like Cat5, Cat5e, Cat6 or 350MHz or 500MHz.
 
Is there any way to tell if it's straight or twisted?

The writing on the cable?
pretty sure it's gauranteed to be twisted, i think that's part of the cat5/cat6/etc spec.

it will say one of the following on the cable:
utp
stp
ftp

the "tp" part is twisted pair.
 
Well, if it is ethernet cable it is twisted pairs. As to what level it is certified to, it will be printed on the cable Jacket. You should look for a marking Like Cat5, Cat5e, Cat6 or 350MHz or 500MHz.

Ok well I definitely have 5 and 5e, haven't checked any of the other cables in my house yet.

Will try a file copy with the 5e later on today and see if that helps and then with a 6.

I have another stupid though:
Here I'm talking about speeds from PC to NAS, but what about file transfers WITHIN the NAS itself. Say I move a file from one folder on the NAS to another folder on the NAS, what should the througput be?
 
If you are indeed only using a cat5 cable, that could be causing slow speeds. The theoretical max throughput of gig ethernet is 125MB/s, but it all depends on how fast your NAS can move the data. On a single file transfer, usually you should see 75-100 MB/s if your nas is capable of pushing data out as fast as your ssd is capable of.

That is not true. A good quality CAT5 is good enough for gigabit. I have no problem to push over 900mb/s using CAT5.

What CAT5 can't give you is keeping signal strength at 100m like CAT5e. But who is running 100M cable at home?

Check how the cable is terminated.
 
OP: you can also try to do some more elimination by setting up a decent computer as a windows share (since it seems like your using CIFS/SMB protocol) with a ramdisk and read and write to it to see if you get the same results.
 
Wow something isnt right with my QNAP either..

I can pull files from it at 121'ish MB/sec or about 99% gig speed.

But ...

I can only write to it at 10MB/sec lol..

I just updated my firmware too.. It might have a bug in it ... shreeeeeeek

Off to troubleshoot.
 
Coming from a TS-219P+ here...the NAS is limited in processing speed.

Mine won't go above ~75MB/s read and ~40MB/s write in RAID1. If I use the same exact network configuration with the same hard drives in a DIY Linux NAS I saturate the GigE link. My results are in the same ballpark as QNAP's advertised specs but definitely lower. Latest firmware, 3' Cat6 cables, etc. I wouldn't be surprised if the performance numbers are results from a RAID0 arrangement.

Your model is advertised to hit ~50MB/s read, ~25MB/s write. I'll bet they used RAID0 to come up with those specs as well, and RAID1-RAID5 would also suffer slower throughput.
 
That is not true. A good quality CAT5 is good enough for gigabit. I have no problem to push over 900mb/s using CAT5.

What CAT5 can't give you is keeping signal strength at 100m like CAT5e. But who is running 100M cable at home?

Check how the cable is terminated.

This is just not true. Standard Cat5 is rated at 100-200MHz. Before 5e was ratified, there was also "semienhanced" Cat5 350MHz certified (which is essentially 5e), that is what you might be talking about. But regular old Cat5 fails with serious errors after about 10 feet at gig speeds. Also, original Cat5 RJ-45 plugs had more near and far end crosstalk, which also created problems at gigE speeds. Also, gigE requires 4 pair where 10 and 100Base-T only require 2 pairs, some older Cat5 cables only had 2 pairs and forced 100Mbit speeds even if connected to gigE on both ends.
 
Quick update, no change using CAT5e instead of CAT5. Next ill try CAT6...
 
Quick update, no change using CAT5e instead of CAT5. Next ill try CAT6...

It won't make a difference.... those prebuilt NAS devices just don't have enough CPU to do parity or other calculations.
 
Yup. I have similar results in #32. If you want high throughput QNAP is not the answer.

Ok, for future reference, what is the answer? (I'm assuming its not one of these pre-built NAS boxes like Synology or QNAP)
 
Ok, for future reference, what is the answer? (I'm assuming its not one of these pre-built NAS boxes like Synology or QNAP)

Allow me to slightly adjust my statement. The low end QNAPs aren't the answer...I have zero experience with the more powerful enterprise racks. But yes DIY is the answer; my Linux box with an AMD x86 CPU running at 800MHz (BIOS lets me lock it down) can regularly hit 80MB/s-95MB/s on a GigE network with 5 drives in RAID6.
 
Ok, for future reference, what is the answer? (I'm assuming its not one of these pre-built NAS boxes like Synology or QNAP)

HP Microserver N40L with a software raid (Linux/OpenMediaVault, FreeNAS, Windows Server). Or a hardware RAID card (the onboard RAID can only do RAID0 and 1). Or your own PC.
 
Back
Top