*New 11.3 series Release:
2019-10-05: XigmaNAS 11.3.0.4.6928 - released, 11.2 series are soon unsupported!

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Expected transfer speed

NAS4Free & Apple Filing Protocol.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
janne
NewUser
NewUser
Posts: 1
Joined: 23 Jun 2012 21:41
Status: Offline

Expected transfer speed

#1

Post by janne » 23 Jun 2012 21:46

Hi!

What speed can I expect when transferring files to a NAS4FREE server over 1GBit Ethernet connection. The machine is a i7 quadcore Intel and it goes through a manageable HP GBit switch and I use Cat6 STP cables

Right now I read 20MBit roughly which seems very slow. I need way more to use this NAS

I have forced the connections to be 1000 MBit Full Duplex

Why is it so slow?

Thanks you for your help!

Jan Hallenius

User avatar
mooblie
experienced User
experienced User
Posts: 87
Joined: 23 Jun 2012 13:31
Location: The Highlands, Scotland
Contact:
Status: Offline

Re: Expected transfer speed

#2

Post by mooblie » 24 Jun 2012 22:30

FWIW, I use less powerful hardware than you (HP ProLiant N40L Microserver) with FreeNAS 0.7, and JBOD (just a bunch of discs - no RAID) and I get read/write speeds of 65MBps / 55MBps (that's megaBYTES per second).

Are you really getting 20 megaBITS per second (really slow)? or actually 20 megaBYTES per second (rather slow)?

I too have a Gigabit network, and I found the speeds IMPROVED when I fitted an Intel PRO/1000 GT PCI-Express adapter, in place of the onboard GigaNIC on the motherboard. Maybe that's worth trying? - everybody recommends the Intel PRO/1000 GigaNIC?
----
Edit: Just realised you posted this in the AFP section. My speeds are using SMB, but I got even faster speeds when I experimented with AFP to a Mac.
Martin

audiophil
NewUser
NewUser
Posts: 6
Joined: 26 Jun 2012 05:27
Status: Offline

Re: Expected transfer speed

#3

Post by audiophil » 26 Jun 2012 05:40

AFP?
I am running nas4free on a MSI G41M-P23 via the integrated NIC and getting 80-95 MB/s on file transfers over my network from my ZFS pool on the built in realtek nic. When testing with a pcie marvel based chipset I was getting throughput reported up in the 110+ MB/s range when moving files to a mac with a decent nic. (can't remember the exact model, but it uses the same chipset that the Sonnet Tech Pro model does.)

skabde
NewUser
NewUser
Posts: 2
Joined: 27 Jun 2012 14:33
Status: Offline

Re: Expected transfer speed

#4

Post by skabde » 27 Jun 2012 14:48

Yes, it's possible to max out the Gbit line with AFP (and yes, last I tried SMB was indeed slower), I reached more than 110 MB/s read/write with a test file of 500MB. My NAS has 4GB RAM, so this is just writing to the cache and the sustained rate when the RAID5 actually kicks in is a good bit below that, but hey, that's still some nice numbers 8-)

But anyway, 20MB/s on rather capable hardware is indeed a bit low. Check the basics first, like the actual cables, is there a problem with the switch between the machines etc. Your setup sounds like it should easily handle Gbit speeds.

The NIC could be a problem, but I actually returned my Intel PRO/1000 when I was benchmarking back then when I was building my first FreeNAS box and realized that the Realtek onboard NIC was actually faster than the Intel card. YMMV, if you have a somewhat slow or compromized NIC (one with a slow FreeBSD driver?) a better NIC could help a lot.

Try some other protocols as well, like SMB or FTP to find out if there's the problem.

alxa2005
NewUser
NewUser
Posts: 1
Joined: 04 Jul 2012 15:10
Status: Offline

Re: Expected transfer speed

#5

Post by alxa2005 » 04 Jul 2012 15:35

Jan,
yes, there are a lot of things the speed depends on. What are the transfer speeds in your LAN between all other devices? I suppose the first thing you should try is to tune the MTU. It is probably ~1500 now and it should be circa 6000-8000 to use gigabit jumbo frames. Try to set the biggest MTU your hardware supports on the NAS _AND_ on your PC. I hope this will help. If not you may try to eliminate all the cabling and switching issues by connecting the NAS and the PC directly using a crossover UTP cable.

JudasFace
NewUser
NewUser
Posts: 1
Joined: 07 Mar 2013 23:55
Status: Offline

Re: Expected transfer speed

#6

Post by JudasFace » 08 Mar 2013 00:17

I have just started using NAS4Free on a box with the following specs,

3.0GHZ dual core Xeon
2GB RAM
6 1TB Disk SATA 2
An Intel S5000VSA motherboard

After testing lots of configs such as ZRAID1 and various Software Raid configs including RAID 1 and 0, I found that transfer rates were much slower than I was expecting. In every test the maximum file copy speed was limited to 60 -65 Mega Bytes per second this seemed very low when copying big .ISO files over a cross over cable from one 4 disk raid 5 in the Windows 7 box to the NAS4Free server.

I am using intel pro 1000 MT adapters and gigabit switching and CAT5e cables. I tried accessing the NAS4Free Server using SMB/CIFS, FTP and iSCSI non of which improved performance. All performance tests were carried out using a folder of disc .iso's 50 Gigabytes in total.

The solution that worked for me was to increase the MTU in NAS4Free

To do this I checked in the network adapter properties on the windows client and found the MTU setting listed as a value in the "Jumbo Frames" section the maximum option was "9014" I set this in the adapter properties and also increased the MTU in NAS4Free to be the same value.

When I re-tested the the file transfer I maxed out the gigabit crossover with no problem at all.

The Windows 7 Client Specs are as follows

i7 920
16GB RAM
2x Gbit NIC (one was used as a cross over for testing (Separate card, very cheap PCI-e Marvell Yukon 88E8053)
File transfer were coming off a 4 disk raid 5 attchecd to an LSI SATA 2 hardware raid controller.
Windows 7 Pro x64

Maybe that will help someone, cause it took me long enough to figure out !

schleppy
NewUser
NewUser
Posts: 7
Joined: 09 Nov 2012 16:54
Status: Offline

Re: Expected transfer speed

#7

Post by schleppy » 19 Apr 2013 17:43

With MTU set to 9000 on our HP ProLiant N40L we're seeing about 600mbit/sec, or about 70 megabytes a second over AFP. SMB performace is pretty abysmal, but that's a whole other topic.

seaside
Starter
Starter
Posts: 15
Joined: 20 Nov 2012 18:20
Status: Offline

Re: Expected transfer speed

#8

Post by seaside » 05 Jan 2014 20:07

Just as a data point:
$ time dd if=/dev/zero bs=1024k of=/Volumes/Storage/testfile count=4096
4096+0 records in
4096+0 records out
4294967296 bytes transferred in 48.122754 secs (89250239 bytes/sec)

real 0m48.790s
user 0m0.010s
sys 0m10.401s
  • HP Proliant N40L
  • 9.1.0.1 - Sandstorm (revision 457), embedded
  • 2G memory
  • On board NIC
  • iMac i5 quad core, OS X 10.8.5 as client over AFP
Since disk I/O with OS X can be bad this is probably better than real life performance with using files read from disk.
With heavy disk access on the machine this may go down to 25MByte/s in my experience but in real life I usually see something like 60-75MByte/s when reading files from the local HDD.

Best regards

Post Reply

Return to “AFP”