[Samba] Samba 4 DC and member server, rfc3207, winbind, printing, asynchronous I/O - Problems and Fixes
jra at samba.org
Tue Nov 19 11:20:53 MST 2013
On Tue, Nov 19, 2013 at 02:53:11PM +0800, Kinglok, Fong wrote:
> 4. Asynchronous I/O - should update how-to:
> Reading “The Evolution of I/O in samba” by Mr. Jeremy Allison has been enjoyable. As an system administrator, I am tempted to enable aio in my samba system. When trying to do this, I found out less information can be found how to enable aio in samba 4. Initially, I would love to enable vfs_aio_linux. However, I cannot turn on the module and found out that the relevant .so is not built even I have tried "apt-get install libaio-dev" in my debian box. I have no way but turn to enable vfs_aio_pthread instead by the following smb.conf in the member server:
> vfs objects = acl_xattr, aio_pthread
> aio read size = 1024
> aio write size = 1024
> The reading performance increases 30% in my test. I think it is worthwhile to amend it to the official how-to! And please tell how to build vfs_aio_linux in samba 4 in debian.
Thanks for that info ! Turning on vfs_aio_linux is not
suggested, as it doesn't really help performance (for various
reasons). Consider it a failed experiment.
aio_pthread should be considered the (working) replacement.
More information about the samba