Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 1997 12:58:38 +0100
From:      Eivind Eklund <eivind@dimaga.com>
To:        hackers@freebsd.org
Subject:   IPFW + Samba -> performance problem
Message-ID:  <3.0.32.19970114125837.00a71dc0@dimaga.com>

next in thread | raw e-mail | index | archive | help
I have Samba running on a 2.1.6-system - a Compaq ProSignia 500 (built-in
NCR-controller and AMD Lance ethernet), with Windows NT 4.0 and Windows95
as clients.

After doing some performance-tuning (especially enabling TCP_NODELAY), this
work quite well.  Runs approx 800KB/s both on read and write.

This same server dial out with PPP. One day I got a fit of paranoia, and
decided to install ipfw to throw away packets coming from the net.  The
firewalling worked, performance for reads from Samba is the same as ever,
but performance for writes dropped from well above 500KB/s to approx 20KB/s
 (25-fold).

The problem perists even with a ruleset that start with
  00050 allow all from any to any
which should catch all and make the ruleset as fast as possible.

Has anybody got a clue?  Because, in this case, I haven't.  (A hyopthesis
is that something might happen to the TCP_NODELAY option when firewalling
is enabled, but this sounds kind of unlikely.)
Eivind Eklund / perhaps@yes.no / http://maybe.yes.no/perhaps/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970114125837.00a71dc0>