So i have samba4 installed on my dockstar. Its trasfer speed are fast and all (almost reaching the limit of onboard usb-sata controller) BUT browsing is slow as hell.When i first click on the share it needs almost 30seconds to respond, but then browsing and copying is just fine. I also shutdown my disk with hd-idle but it needs like 20 seconds when i first click on the share to even start ( and then a few secs to actually spin up)
Didnt have such problems with old samba, start browsing was almost lag free (just a few secs for the first time for the disk to spin up) but samba4 is hell...
Any ideas what it could be ?
EDIT:
my samba config
$this->bbcode_second_pass_code('', '[global]
workgroup = WORKGROUP
server string = Kirkwood
netbios name = Kirkwood
security = user
map to guest = Bad User
guest account = root
load printers = no
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
write cache size = 1048576
use sendfile = true
[Kirkwood-Disk]
path = /root/Drives/Drive
public = yes
only guest = no
writable = yes
printable = no
[Kirkwood-Torrents]
path = /root/Torrents
public = yes
only guest = no
writable = yes
printable = no ')