Bug 14814

Summary: 4.0-CURRENT SMP mode causes ep0 slow
Product: Base System Reporter: Jin Guojun <jin>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description Jin Guojun 1999-11-11 02:10:01 UTC
	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
Comment 1 snuf 2000-02-16 08:29:59 UTC
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
Comment 2 Jin Guojun 2000-02-16 15:26:32 UTC
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
Comment 3 snuf 2000-02-16 15:33:31 UTC
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
>
Comment 4 roger freebsd_committer freebsd_triage 2000-06-22 16:48:13 UTC
State Changed
From-To: open->closed

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.