samba-des has bad performance

Palle Girgensohn girgen at
Tue Dec 9 15:09:25 GMT 1997


I have a problem with samba. I run the freebsd samba-des port
(samba-des- in a pretty much vanilla setting; home dir, a few
shared dirs, no printing (yet).

The problem is performance. While Samba is not terribly slow it's still
too slow. Copying large files takes about half a minute/meg  on an
Ethernet LAN with no other activity. Trying to read a file using
netscape (file://server/blabla) gets me down to 40 KB/s, or less! One
user has put his WinNetscape mail directory on the server, and claims
that Netscape hardly starts after this.

The machine is fast (PPro 200MHz, three SCSI-UW (w/ 2940-UW controller)
disks, 128 MB RAM) running FreeBSD-stable (2.2.5) and it serves nfs,
http and appletalk (using netatalk) much faster than samba, so it's
probably not related to network hardware.

In the same network, there is a P90 w/ IDE disks running NT Server 4
SP3. It outperforms Samba, and this annoys me  ;-)

Any ideas?

Best regards,
Palle Girgensohn

PS. I enclose my smb.conf, just in case. DS.
-------------- next part --------------
   comment = FreeBSD - Samba %v
   workgroup = Musik
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
;  This next option sets a separate log file for each client. Remove
;  it if you want a combined log file.
   log file = /var/log/sambalog.%m
   dont descend = /dev,/proc,/root,/stand
   hosts allow = ipnumbers...

   lock directory = /usr/local/samba/var/locks
   share modes = yes

   map archive = no
   status = yes
   public = yes
   read only = no
   preserve case = yes
   strip dot = yes
   security = user
   encrypt passwords = yes
   guest ok = no
   dead time = 10

   comment = Home Directories
   browseable = no
   read only = no
   create mode = 0770

   comment = All Printers
   path = /var/spool/samba
   browseable = no
   printable = yes
   public = no
   writable = no
   create mode = 0700

   comment = Arkivet
   public = yes
   writable = yes
   path = /disk2/data
   printable = no
   force group = user
   directory mask = 0770
   create mode = 0660
   delete readonly = yes

More information about the samba mailing list