*BSD News Article 87354


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!enews.sgi.com!news-feed.inet.tele.dk!news1.tele.dk!cph-1.news.DK.net!dkuug!dknet!ic.dk!jblhome.ping.dk!usenet
From: jacob@jblhome.ping.dk (Jacob Bohn Lorensen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Big speed difference reading and writing Win95<->Samba
Date: 22 Jan 1997 09:10:04 +0100
Organization: Jacobs home computer.
Lines: 56
Sender: jacob@pippin.jblhome.ping.dk
Message-ID: <87hgka1677.fsf@pippin.jblhome.ping.dk>
NNTP-Posting-Host: pippin.jblhome.ping.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Gnus v5.1
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34437

Hi.

I have a small network at home (2 machines. One running FreeBSD
another running Windows95).

Copying a large file _from_ the FreeBSD box to the local hard drive
I get around 20 Kb/sec.

Copying large file _from_ the Windows95 box to the FreeBSD box I get
around 350 Kb/sec.

This seems very strange to me. Does anybody have some suggestions as
to what I can do to speed up reads? 

Here is the [global] part of my smb.conf file

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Configuration file for Pippin.
;
[global]
  comment = FreeBSD - Samba %v

  ; A bit of administrativia
  debuglevel = 2
  log file = /var/log/samba.log
  lock dir = /var/spool/lock
  dont descend = /dev,/proc,/root,/stand
  guest account = guest
  printing = bsd
  max log size = 128

  ; User level security and domain logons. This ensures that Windows
  ; users are known and valid Unix users.
  security = user
  domain logons = yes
  os level = 42
  domain master = yes
  ; domain controller = pippin
  logon script = %U.bat

  ; File system options
  create mode = 0700
  case sensitive = no
  preserve case = yes
  short preserve case = yes
  valid chars = æ:Æ ø:Ø å:Å
  character set = iso8859-1

  ; A document suggested this might speed up the windows machine at
  ; the cost of extra CPU cycles. Doesn't seem to make a difference
  socket options = TCP_NODELAY IPTOS_LOWDELAY
  share modes = no
  read prediction = yes
-- 
Jacob Lorensen; Mosebuen 33, 1.; DK-2820 Gentofte, Denmark; +45-31560401
PGP ID = E596F0B5; PGP Fingerprint = 1E8726467436DC4A 723B6678C5AD9E71