For improved Read/Write speeds in Samba, build the ports package as follows:
# cd /usr/ports/net/samba35
# make
[select AIO_SUPPORT]
# make install clean
In /boot/loader.conf
:1
2
aio_load="YES"
In /etc/sysctl.conf
:
1 |
|
In /usr/local/etc/smb.conf
:
1 | [global] |
… and reboot for the changes to take effect.