- Joined
- Mar 6, 2014
- Messages
- 9,553
If anyone feels like alpha testing an experimental AIO module in 11.3, you can enable it by setting the following auxiliary parameters:
It uses FreeBSD's kernel POSIX AIO with kqueue, and doesn't immediately crash Samba in my test systems. (There's a reason why it's not exposed in the GUI).
With that caveat, feel free to test it and give feedback and bug reports.
The aio settings can be tuned using the relevant FreeBSD sysctls.
This modules is about halfway to where I want to be. Samba's event loop is still based on poll() and I'm moving it to be kqueue-based. Once I'm there, the posix_aio implementation will be much cleaner (and probably more performant).
Code:
aio write size = 1 aio read size = 1 vfs objects = ixnas aio_fbsd
It uses FreeBSD's kernel POSIX AIO with kqueue, and doesn't immediately crash Samba in my test systems. (There's a reason why it's not exposed in the GUI).
With that caveat, feel free to test it and give feedback and bug reports.
The aio settings can be tuned using the relevant FreeBSD sysctls.
This modules is about halfway to where I want to be. Samba's event loop is still based on poll() and I'm moving it to be kqueue-based. Once I'm there, the posix_aio implementation will be much cleaner (and probably more performant).
Last edited: