Hi there,
I try to tweek my installation to get a better R/W Performance and stumbled about the folowing switch, that cannot be set in the UI (setting it is forgotten after save)
ENABLE SENDFILE
Another issue is the usage of the Switch
Asynchronous I/O (AIO).
When turned on, on writing a large file to the NAS the write prozess breaks down with connection lost error and cannot be retried successfully. Turning off AIO writes OK.
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!
BUGs in Samba/CIFS service config UI
-
xbmcg
- NewUser

- Posts: 10
- Joined: 12 Nov 2012 13:55
- Status: Offline
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: BUGs in Samba/CIFS service config UI
only if you use SMB2 if you use NT1 works fine, is a good know limitation and is posted on the readme:xbmcg wrote:Another issue is the usage of the Switch
Asynchronous I/O (AIO).
When turned on, on writing a large file to the NAS the write prozess breaks down with connection lost error and cannot be retried successfully. Turning off AIO writes OK.
Code: Select all
Known issue
===========
SMB2 of samba 3.6.x have a bug, if you have a trouble, please use NT1 instead.
CIFS/SMB, This is the only way for now to get no file transfers aborts.
Here you have the options to use for now!
1- Disable AIO when using SMB2
2- Enable AIO , but use NT1 instead of SMB212.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
-
xbmcg
- NewUser

- Posts: 10
- Joined: 12 Nov 2012 13:55
- Status: Offline
Re: BUGs in Samba/CIFS service config UI
Thank you. So it is not fixed yet. There are recommendations to turn AIO on for performance improvement.
Does it mean, that NT1 with AIO is faster / better than SMB2?
Does it mean, that NT1 with AIO is faster / better than SMB2?
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: BUGs in Samba/CIFS service config UI
YES for me, you must test both options ( NT1 & AIO and SMB2 without AIO)
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
-
xbmcg
- NewUser

- Posts: 10
- Joined: 12 Nov 2012 13:55
- Status: Offline
Re: BUGs in Samba/CIFS service config UI
Thank you.
I have tested both, seems NT1 is better (less jitter on transfer and slightly faster with sendfile and AIO enabled), still too slow (300Mbps on a 1G uplink).
I have noticed, that anyway when writing a large file, the transfer drops to zero on every 1GB chunk (see picture below). When Using CIFS on Windows
as target I get 900Mbps and constant speed for the whole file. Is there a special (zfs-mirror) reason for the performance drops every 1GB?

I have tested both, seems NT1 is better (less jitter on transfer and slightly faster with sendfile and AIO enabled), still too slow (300Mbps on a 1G uplink).
I have noticed, that anyway when writing a large file, the transfer drops to zero on every 1GB chunk (see picture below). When Using CIFS on Windows
as target I get 900Mbps and constant speed for the whole file. Is there a special (zfs-mirror) reason for the performance drops every 1GB?
You do not have the required permissions to view the files attached to this post.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: BUGs in Samba/CIFS service config UI
play with RX and TX buffers of SAMBA ( I reduce it to solve your problems to 32K)
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
-
kernow
- experienced User

- Posts: 92
- Joined: 23 Jun 2012 01:28
- Status: Offline
Re: BUGs in Samba/CIFS service config UI
I have that issue with large transfers just giving up, also. Hmm.
HP Microserver N36L / 6GB ECC RAM / 2 x 2TB WD20EARS, N4F9.1.x