Hello again,
once again I got samba releated speed issues, that I can not figure out how to solve.
I did a clean install of the latest version of Nas4free (embedded version) and after that my download speed from cifs share is around 500 KB to 1,5 MB, before the clean install I had around 8-10 MB in download speed. When I upload to the server, there are no problems, it is going for full speed with 10 MB per second.
The two images shows respected speed for download and upload for the same file. As you can see there are a vast difference.
I have set my CIFS share as I did before, it follows :
Dos Charset : CP437 (Latin US)
Unix charset : UTF-8
Log level : minimum
Local master browser : yes
Time server : no
Map to guest : never
Buffer size : 64240
Large read/write : on
Sendfile : off (cant be turned on)
EA support : on
Store DOS attributes : on
AIO : off
I have been fiddling around with the options, but cant seem to change the speed.
When tested with scp filetransfer, both ways had around 11 MB transfer per second.
Can anyone help ?
Thanks in advance
Michael
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
New CIFS/Samba speed issues. *Fixed*
-
michaeldk
- NewUser

- Posts: 12
- Joined: 26 May 2013 17:34
- Status: Offline
New CIFS/Samba speed issues. *Fixed*
You do not have the required permissions to view the files attached to this post.
Last edited by michaeldk on 05 Aug 2013 13:39, edited 1 time in total.
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: New CIFS/Samba speed issues.
can you give us some information on your hardware?
ram, cpu, mainboard, nic. filesystem?
also pls read
http://n4f.siftusystems.com/index.php/2 ... leshooting
ram, cpu, mainboard, nic. filesystem?
also pls read
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.
-
michaeldk
- NewUser

- Posts: 12
- Joined: 26 May 2013 17:34
- Status: Offline
Re: New CIFS/Samba speed issues.
Yes, have read it, but did not seem to find any help full information in it.
The hardware is as follows :
HP Proliant Micro server HP ProLiant AMD Athlon(tm) II Neo N36L Dual-Core Processor 992MiB RAM - with a Gigabit network card.
I have had the problem before, but last time it helped turning off the AIO function, this however, does not seem to improve performance in the latest version.
The hardware is as follows :
HP Proliant Micro server HP ProLiant AMD Athlon(tm) II Neo N36L Dual-Core Processor 992MiB RAM - with a Gigabit network card.
I have had the problem before, but last time it helped turning off the AIO function, this however, does not seem to improve performance in the latest version.
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: New CIFS/Samba speed issues.
8-10 mbit for the n36l is far to low.
please post your results from that list.
please post your results from that list.
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.
-
michaeldk
- NewUser

- Posts: 12
- Joined: 26 May 2013 17:34
- Status: Offline
Re: New CIFS/Samba speed issues.
FYI, While the server has an Gigabit networkcard, and the switch can use 1000 MB, all other computers are connected with 100 MB network card, thus making speed > 12,4 MB/s impossible.
Network speed:
Write
Read:
I've tested the drives for error with fsck and got no errors reported.
Drives are formatted with 4K sectors
Power deamon disabled
I do not use ZFS, all drives are formatted UFS2.
Network speed:
Code: Select all
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 10.0.0.19 port 5001 connected with 10.0.0.2 port 37641
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 112 MBytes 94.3 Mbits/sec
Code: Select all
Write speed DD
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 506.901928 secs (41371948 bytes/sec)
Read:
Code: Select all
Read speed DD
10000+0 records in
10000+0 records out
20971520000 bytes transferred in 475.465577 secs (44107336 bytes/sec)
Drives are formatted with 4K sectors
Power deamon disabled
I do not use ZFS, all drives are formatted UFS2.
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: New CIFS/Samba speed issues.
40 /44 mbyte/sec read write for a single disc seems very low.
what model is the drive?
what model is the drive?
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.
-
michaeldk
- NewUser

- Posts: 12
- Joined: 26 May 2013 17:34
- Status: Offline
Re: New CIFS/Samba speed issues.
The drive is a VB0250EAVER HPG0
I dont think it is the drive which are the problem, since I can only get CIFS to transfer around 1-1,5 MB, if I roll back to previously freenas Version, I could get around 8-10 MB transfer when disabling AIO.
Also, upload to CIFS gets stable 10 MB/per second.
I dont think it is the drive which are the problem, since I can only get CIFS to transfer around 1-1,5 MB, if I roll back to previously freenas Version, I could get around 8-10 MB transfer when disabling AIO.
Also, upload to CIFS gets stable 10 MB/per second.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: New CIFS/Samba speed issues.
Try to disable EA, and try to use x2 or /2 in sendfilebuffer eg: try to use 128480 or 32120 and report new test.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
michaeldk
- NewUser

- Posts: 12
- Joined: 26 May 2013 17:34
- Status: Offline
Re: New CIFS/Samba speed issues.
raulfg3 wrote:Try to disable EA, and try to use x2 or /2 in sendfilebuffer eg: try to use 128480 or 32120 and report new test.
Hey, thank you for your answer.
By decreasing the sendbuffer option to 32120, I gained transfer speed to around 9 MB per second.
Am I wrong to think that a larger read buffer is preferable ? Can you give me information on why this had such an impact on the speed?
Anyway, thank you for your help, it really did the trick.