From owner-freebsd-ports  Tue Feb 15 13:54:50 2000
Delivered-To: freebsd-ports@freebsd.org
Received: from sir-alan.chem.indiana.edu (sir-alan.chem.indiana.edu [129.79.137.215])
	by builder.freebsd.org (Postfix) with ESMTP
	id 2B7765E22; Tue, 15 Feb 2000 12:24:11 -0800 (PST)
Received: (from msquires@localhost)
	by sir-alan.chem.indiana.edu (8.9.3/8.9.3) id PAA95448;
	Tue, 15 Feb 2000 15:24:35 -0500 (EST)
	(envelope-from msquires)
From: Mike Squires <msquires@sir-alan.chem.indiana.edu>
Message-Id: <200002152024.PAA95448@sir-alan.chem.indiana.edu>
Subject: samba 2.0.6 and FreeBSD 3.4-STABLE (was kern/16605, 3.4-RELEASE problem)
In-Reply-To: <200002091356.IAA00684@silvert.chem.indiana.edu> from Mike Squires
 at "Feb 9, 2000 08:56:26 am"
To: FreeBSD ports <ports@freebsd.org>,
	FreeBSD Questions <questions@freebsd.org>, samba@samba.org
Date: Tue, 15 Feb 2000 15:24:35 -0500 (EST)
Cc: tdwyer@io.telstra.com.au
X-Mailer: ELM [version 2.4ME+ PL61 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> 
> >Number:         16605
> >Category:       kern
> >Synopsis:       samba 2.0.6 under 3.4-RELEASE can't open buffers

Currently running 3.4-20000214-STABLE.

Compiled samba 2.0.6 from /usr/ports; smbpasswd dies with a segmentation
error but appears to complete writing the server SID and smbpasswd file
(NT domain authentication works).  Tried complete uninstall, including
manual deletion of all samba components, recompile, and re-install, still
coredumped.  However, this does not affect operation in this case and is
probably something I've done or left undone.

The following fixes from Terry Dwyer have increases samba 2.0.6 speed to the
same as 3.3-RELEASE using TESTNET.EXE, about 1.6MB/sec for a 32MB file in
both cases.

Benchmarks were run from a Win 2000 Profession box using NT 4 domain
authentication (encrypted passwords).

In smb.conf these are added:

#per tdwyer@io.telstra.com.au
# 3.4-STABLE
   socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT
   read raw = yes
   write raw = yes
   shared mem size =  6291456

In the kernel config file the following are:

options 	"SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
options 	SHMMAXPGS=2048		

The disk system is an untuned HV diff SCSI system using ST410800WD drives
in both cases, with dual PPro200's.

Mike Squires


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message