Hello everyone, I need some collective wisdom, I have recently start using NetBSD and works quite well on everything but with Samba. I have played with the smb.conf to try to improve performance but to no avail. The setup is fairly simple. Here is my smb.conf [global] workgroup=HOME netbios aliases = MEDIALAB security = user socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 use sendfile = true local master = yes os level = 33 wins support = yes [homes] comment = Home Directories browseable = no writable = yes [musica] comment= Musica para alegrar la vida path = /media/external/Multimedia/Musica public = no writable = no write list = @wheel browsable = yes [peliculas] comment= Algunas pelis para entretenerse path = /media/external/Multimedia/Peliculas public = no writable = no write list = @wheel browsable = yes The problem is that I cannot get not even 1Mbps, while on the exact same environment with CentOS 5 I was getting over the Wireless G 48Mbps. Any ideas on how I might improve performance?, I tried already the NetBSD user mail list to no avail. Thanks in advanced.
Volker Lendecke
2010-Jul-06 20:07 UTC
[Samba] Throughput problem with Samba 3.3.1 on NetBSD
On Tue, Jul 06, 2010 at 11:50:16AM -0600, Max Le?n wrote:> Hello everyone, > I need some collective wisdom, I have recently start using NetBSD and > works quite well on everything but with Samba. > > I have played with the smb.conf to try to improve performance but to no > avail. > > The setup is fairly simple. > Here is my smb.conf > > [global] > workgroup=HOME > netbios aliases = MEDIALAB > security = user > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192Just dump the SO_SNDBUF and SO_RCVBUF or increase those values dramatically to at least 128k. But I would guess NetBSD is better at figuring out those values itself. Volker
tms3 at tms3.com
2010-Jul-06 20:24 UTC
[Samba] Throughput problem with Samba 3.3.1 on NetBSD
SNIP> > > On Tue, Jul 06, 2010 at 11:50:16AM -0600, Max Le?n wrote: >> >> Hello everyone, >> I need some collective wisdom, I have recently start using NetBSD and >> works quite well on everything but with Samba. >> >> I have played with the smb.conf to try to improve performance but to >> no >> avail. >> >> The setup is fairly simple. >> Here is my smb.conf >> >> [global] >> workgroup=HOME >> netbios aliases = MEDIALAB >> security = user >> socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > > Just dump the SO_SNDBUF and SO_RCVBUF or increase those > values dramatically to at least 128k. But I would guess > NetBSD is better at figuring out those values itself.As well, I've had some good performance on FreeBSD with aio_load="YES" in /boot/loader.conf and aio read size = 1000 aio write size = 1000 aio write behind = false You're using wireless, yes? Hopefully a fully kernel driver and not a blob?> > > > Volker > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba