From jin@eubie.lbl.gov Wed Nov 10 18:08:11 1999
Return-Path: <jin@eubie.lbl.gov>
Received: from eubie.lbl.gov (eubie.lbl.gov [131.243.2.36])
	by hub.freebsd.org (Postfix) with ESMTP id 0429D14E70
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Nov 1999 18:08:10 -0800 (PST)
	(envelope-from jin@eubie.lbl.gov)
Received: (from jin@localhost)
	by eubie.lbl.gov (8.9.3/8.9.3) id SAA00877;
	Wed, 10 Nov 1999 18:08:10 -0800 (PST)
	(envelope-from jin)
Message-Id: <199911110208.SAA00877@eubie.lbl.gov>
Date: Wed, 10 Nov 1999 18:08:10 -0800 (PST)
From: Jin Guojun (FTG staff) <jin@eubie.lbl.gov>
Reply-To: j_guojun@lbl.gov
To: FreeBSD-gnats-submit@freebsd.org
Subject: 4.0-CURRENT SMP mode causes ep0 slow
X-Send-Pr-Version: 3.2

>Number:         14814
>Category:       kern
>Synopsis:       4.0-CURRENT SMP mode causes ep0 slow
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 10 18:10:01 PST 1999
>Closed-Date:    Thu Jun 22 08:48:13 PDT 2000
>Last-Modified:  Thu Jun 22 08:49:17 PDT 2000
>Originator:     Jin Guojun (FTG staff)
>Release:        FreeBSD 4.0-CURRENT
>Organization:
>Environment:

	FreeBSD 4.0-CURRENT after Oct. 1999
	Hardware: ASUS P/I P65UP5 MotherBoard with C-P55T2D dual CPU
		(200MHz Pentium CPU card) daughter board
		+ 3COM 3C509 ethernet NIC

>Description:

	After recompile the kernel to enable SMP, the ep0 drop the
	throughtput from 7 Mbps to 0.6Mbps Rx and 1.5Mbps Tx.

	Reinstalled and tested with 3.3-19991110, everything work well.
	So, the problem is inside kernel of 4.0-CURRENT.

>How-To-Repeat:

adding following lines into /sys/i386/conf/CURRENT and rebuild kernel:

options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O
options         NAPIC=2                 # number of IO APICs



>Fix:
	
	


>Release-Note:
>Audit-Trail:

From: snuf <snuf@cb3rob.net>
To: j_guojun@lbl.gov
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/14814: 4.0-CURRENT SMP mode causes ep0 slow
Date: Wed, 16 Feb 2000 09:29:59 +0100 (CET)

 Hi, I read about your problem, with 3.1 kernel I had the same problem..
 and I was looking and looking but couldn't find a thing, untill I found
 out that the 509 (ep0) has different modes of operation. 
 
 Dos
 windows/os2, 
 and Server
 
 I found out that when you use 3com's setup disk and put it on "Server" it
 functions fine with BSD if you put it on windows it's really slow. Hence
 I haven't tried dos yet but you could :).. 
 As soon as you put it on server you will see that it works splendidly.
 
 Greetz Snuf
 
 
 

From: Jin Guojun (FTG staff) <jin@george.lbl.gov>
To: snuf@cb3rob.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/14814: 4.0-CURRENT SMP mode causes ep0 slow
Date: Wed, 16 Feb 2000 07:26:32 -0800 (PST)

 Nop, I always use Server mode.
 
 But this problem seems having been solved in 4.0-20000212-CURRENT.
 This PR can be closed.
 
 Thanks,
 
 	-Jin
 
 > Hi, I read about your problem, with 3.1 kernel I had the same problem..
 > and I was looking and looking but couldn't find a thing, untill I found
 > out that the 509 (ep0) has different modes of operation. 
 > 
 > Dos
 > windows/os2, 
 > and Server
 > 
 > I found out that when you use 3com's setup disk and put it on "Server" it
 > functions fine with BSD if you put it on windows it's really slow. Hence
 > I haven't tried dos yet but you could :).. 
 > As soon as you put it on server you will see that it works splendidly.
 > 
 > Greetz Snuf
 

From: snuf <snuf@cb3rob.net>
To: Jin Guojun <jin@george.lbl.gov>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/14814: 4.0-CURRENT SMP mode causes ep0 slow
Date: Wed, 16 Feb 2000 16:33:31 +0100 (CET)

 I'm sorry,
 
 I didn't read all of it .. I missed out on the bit that you came from an
 earlier version... 
 sorry..
 
 greetz Funs Kessen
 
 On Wed, 16 Feb 2000, Jin Guojun wrote:
 
 > Nop, I always use Server mode.
 > 
 > But this problem seems having been solved in 4.0-20000212-CURRENT.
 > This PR can be closed.
 > 
 > Thanks,
 > 
 > 	-Jin
 > 
 > > Hi, I read about your problem, with 3.1 kernel I had the same problem..
 > > and I was looking and looking but couldn't find a thing, untill I found
 > > out that the 509 (ep0) has different modes of operation. 
 > > 
 > > Dos
 > > windows/os2, 
 > > and Server
 > > 
 > > I found out that when you use 3com's setup disk and put it on "Server" it
 > > functions fine with BSD if you put it on windows it's really slow. Hence
 > > I haven't tried dos yet but you could :).. 
 > > As soon as you put it on server you will see that it works splendidly.
 > > 
 > > Greetz Snuf
 > 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: roger 
State-Changed-When: Thu Jun 22 08:48:13 PDT 2000 
State-Changed-Why:  
On Wed, 16 Feb 2000, the PR author posted a follow saying the poblem 
was solved in 4.0-20000212-CURRENT and asked for the PR to be closed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=14814 
>Unformatted:
