*New 12.1 series Release:
2019-11-08: XigmaNAS 12.1.0.4.7091 - released!

*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - 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

Slow transfer speeds

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Slow transfer speeds

#1

Post by DanAddz » 29 Jun 2013 08:37

Hay guys,

I transferred 19GBs of files, mainly videos, from one directory on my NAS to another and it took 1 hour.

Is this slow or is this the expected speed?

I am running my NAS on an hp micro server n40l with 5 seagate 2TB HDD. The system is running on a Sandusky USB flash drive and has 8GB or RAM.

Thanks

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#2

Post by b0ssman » 29 Jun 2013 08:59

thats 5 mb/s. seems slow.

some more informaiton about your setup. what filesystem. raidz1?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#3

Post by DanAddz » 29 Jun 2013 09:14

ZFS Running RAID 5

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#4

Post by b0ssman » 29 Jun 2013 10:30

what speed do you get over the network?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#5

Post by DanAddz » 29 Jun 2013 10:57

I have just transfered a file into the NAS through the WIFI.

The file Size was 3.85GB. It was transfering at an average of 8MB/s

I havent tried it over the wired network however i did do it a while a go and was getting much better speeds.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#6

Post by b0ssman » 29 Jun 2013 17:27

the wifi test is meaningless, because it only tells us you max wifi speed.

the wired is the interesting one.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#7

Post by DanAddz » 30 Jun 2013 04:12

ok,

I have just completed a test on the wired network.

I transfered 2.04GB in 1 minute.

Regards,

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#8

Post by b0ssman » 30 Jun 2013 06:44

thats 34 megabyte /sec. which seems low for a n40l.

smart status of all the disks is ok?

enable aio for samba?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#9

Post by b0ssman » 30 Jun 2013 06:46

actually siftu compiled a very good checklist

http://n4f.siftusystems.com/index.php/2 ... leshooting
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#10

Post by DanAddz » 30 Jun 2013 15:17

Hay,

I did the tests that the Troubleshooting guide instructs you to these are the results,

Code: Select all

dd if=/dev/zero of=/mnt/dataset/test.dd bs=2M count=10000
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 102.279946 secs (205040390 bytes/sec)

Code: Select all

dd if=/mnt/dataset/test.dd of=/dev/null bs=2M count=10000
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 57.945755 secs (361916416 bytes/sec)

Code: Select all

dd if=/dev/ada0 of=/dev/null bs=2M count=10000
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 108.284944 secs (193669768 bytes/sec)

Code: Select all

dd if=/dev/ada1 of=/dev/null bs=2M count=10000
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 121.638448 secs (172408645 bytes/sec)

Code: Select all

dd if=/dev/ada2 of=/dev/null bs=2M count=10000
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 112.573008 secs (186292615 bytes/sec)

Code: Select all

dd if=/dev/ada3 of=/dev/null bs=2M count=10000
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 105.899688 secs (198031934 bytes/sec)

Code: Select all

dd if=/dev/ada0 of=/dev/null bs=2M count=10000
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 130.118168 secs (161172881 bytes/sec)
Now i had a look at this option
7. Advanced Format - If you disks are the new 4k sector disk ensure when you create your virtual device you select advanced format. If you use the standard 512b sector on 4k disks this can lead to a 30% performance hit. The only way to really check if your drives are advanced format is to look at the manufacturers spec sheet. You can get the model number from Disks|Management.
You can also check to see if your virtual devices were created with advanced format options. Open up a ssh or shell sessions and enter
nas4free: ~ # zdb | grep ashift
Ashift of 9 or 512b sectors virtual devices and ashift of 12 is advanced formatted or 4k sector virtual devices.

and mine is set to Ashift 9. im not sure if my HDD's are 4k sector devices or not.

Regards,

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#11

Post by b0ssman » 01 Jul 2013 07:43

what model are the hds?

but most hd that came out in the last 3 years with size >= 2gb were advanced format.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#12

Post by DanAddz » 01 Jul 2013 09:45

Hay,

Mine are 2TB Seagate HDD's less then a year old.

Is there anyway of changing them or am i stuck until i build a new nas haha.

regards,

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#13

Post by b0ssman » 01 Jul 2013 10:24

if there isnt any data on it you can recreate it.

if there is, then no.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#14

Post by DanAddz » 01 Jul 2013 10:37

Ok ,

Do you think this will make a massive difference to performance?

regards,

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#15

Post by b0ssman » 01 Jul 2013 10:49

like in the guide up to 30%
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4978
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Slow transfer speeds

#16

Post by raulfg3 » 01 Jul 2013 12:00

b0ssman wrote:like in the guide up to 30%
in my experience , only a 5 to 10% increase speed, but perhaps in others enviroments can reach 30%, I do not see it, in 2 home NAS that I upgrade recently.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#17

Post by b0ssman » 01 Jul 2013 12:11

ok lets take a step back.

the dd tests show that your array can do 350 megabyte/sec read under optimal conditions.

with that speed i would except more that 5megabyte/sec over the network.

can you run an iperf test.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#18

Post by DanAddz » 02 Jul 2013 13:27

OK,

I tried the iperf,

on the wired network this was the results

Code: Select all

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   887 MBytes   744 Mbits/sec
I am not sure what is making this so slow. I tried to transfer a 375MB sized file and was only getting 8MB's a second.

regards,

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#19

Post by DanAddz » 05 Jul 2013 02:20

Update:

I found out that one of my switches was causing the extremely slow speeds.

i have fixed that and now when transferring a 1.5GB movie it was getting 35-60MB/s transfer speeds over wire.

I have found though that when i transfered 50GBs of Photos the speed went down to 11-25MB/s is this normal???

Thanks

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#20

Post by b0ssman » 05 Jul 2013 06:14

great that you found the culprit.

and yes, for lots of smaller files transfer speed normally does down.

there are some tweaks that you can try.

for example zfskerntune plugin to configure your system for 8gb ram.
enable aio in samba.

and the misalignment of the drives regarding 4k does not help.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DanAddz
Starter
Starter
Posts: 63
Joined: 23 Dec 2012 06:32
Status: Offline

Re: Slow transfer speeds

#21

Post by DanAddz » 09 Jul 2013 11:46

Hay guys,

I have gone through all the ZFS tuning and still can't get nice speeds.

I have 5 2TB HDDs in a ZFS raid5. They are in an HP Microserver N40L

The HP server is stock expect for 8GB of ram and the OD has been changed to a HDD bay.

I transferred a 1 GB file and got speeds of 50-60Mb/s.

I transferred a folder full of photos and some videos totalling at 51.5GBs. This transferred at 10-17Mb/s.

Is this fast? People I speak to say I should be getting faster speeds with the N40L. Could the NIC card be faulty? Does the N40L have a history of the stock NICcard failing?

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow transfer speeds

#22

Post by b0ssman » 09 Jul 2013 12:10

those are within the expected results
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4978
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Slow transfer speeds

#23

Post by raulfg3 » 09 Jul 2013 12:20

DanAddz wrote:I transferred a 1 GB file and got speeds of 50-60Mb/s.
not too bad, but not to good, perhaps with an Intel NIC you can obtain 80 to 90 MB/s but is not possible to garantee, you need to test.
DanAddz wrote:I transferred a folder full of photos and some videos totalling at 51.5GBs. This transferred at 10-17Mb/s.
this is normal, transfer for small files is always slower than transfer of Big Files.

DanAddz wrote:Could the NIC card be faulty?
not exactly, but drivers are really significant in NIC troughput, and for BSD Intel are the best (Broadcom as far as I know are good too, so you need to read / search more info on google trying to tune a bit more your N40L)

http://forums.freenas.org/threads/slow- ... rver.3117/
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

rxnetwork
NewUser
NewUser
Posts: 1
Joined: 02 Dec 2019 10:24
Status: Offline

Re: Slow transfer speeds

#24

Post by rxnetwork » 02 Dec 2019 10:29

I was facing same issue and was digging all ways which would help to resolved this issue, found something and worked.
Login on web interface and go to System -> Advanced -> Platform and Performance Settings -> Power Mode -> here set "Hiadaptive (High Performance)" or "Maximum (Highest Performance)" and restart server once.

Post Reply

Return to “CIFS/SMB (Samba)”