Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 1999 23:20:05 -0500 (EST)
From:      Mike Squires <msquires@sir-alan.chem.indiana.edu>
To:        freebsd-bugs@freebsd.org
Subject:   samba fails under SMP kernel
Message-ID:  <199910230420.XAA06694@sir-alan.chem.indiana.edu>

next in thread | raw e-mail | index | archive | help
I'm not absolutely positive this is not my mistake, but so far I haven't
been able to find another explanation other than a bug in either samba
or the SMP kernel on my system.

Hardware is Everex PO-6200 dual PPro running 3.3-RELEASE.  The config
file contains the following, which are the same as the output from 
mptable:

options		SMP
options		APIC_IO
options		NCPU=2
options		NBUS=2
options		NAPIC=1
options		NINTR=24

The kernel loads and runs fine with everything else (NETATALK, IPX,
changer support, ccd/vinum, and bpf are also configured).  I have seen
a steady 3MB/sec NFS (xperfmon3.0) and 660K/sec on a 1GB file with mars_nwe,
no problems.

With 1.9, 2.0.2, 2.0.5a with or without MSG_WAITALL, 2.06.pre1, or 2.0.6pre2,
and the SMP kernel I can't copy more than 2 - 5MB to the samba server 
before the connection is dropped by smb.  The log files don't show anything
useful; they just stop, and eventually the connection is closed.

With the single CPU kernel and everything else as is, large files can be
copied but they are copied (2.0.5a, 2.0.6pre1/2) fairly slowly, with
2.0.6pre2 being significantly faster - which is the expected behavior.

I havne't included other data, since it would be quite large - the full
samba logs are 100K at log level 10.

I suspect that the input error rate goes up quite a bit when samba is
being written to (card is Intel Pro100B; without samba I'm getting zero
input errors in 2 million frames, 2 output on 500,000, 100Mbit full duplex)
but I haven't been able to prove that, yet.

I'm going to run a packet trace next; any other ideas?



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




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