Re: Please help me understand pciutils output

2004-06-07 Thread Luke

Right now all I can say is that I've got a Netgear FA120 network interface 
plugged into a USB port and I can't squeeze more than 4Mb/s out of it. 
It's USB 2.0 compliant and should get close to 100Mb/s.  I get faster 
results out of my old 10Mb ISA card.
That almost sounds like the NIC is running at USB 1.1 speeds, yes.
I'd say you're right...
I'd say you're right because I just learned that USB 2.0 requires the ehci 
device driver, and my kernel doesn't have that driver.  I've been using 
the ohci driver all this time.  I'm buiding a new kernel now, and assuming 
the self-proclaimed "buggy" ehci driver works for me, I bet this will 
work.
If ehci were included in the GENERIC makefile, even commented out, I'd 
have caught this much sooner.

Thank you for making me think in the right direction.  :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please help me understand pciutils output

2004-06-07 Thread Chuck Swiger
Luke wrote:
[ ... ]
More details about the USB performance in terms of numbers you are 
seeing from some benchmark would be very useful.
I agree.  How can I benchmark my just my USB controller?
Using a mass storage device like an external hard drive is probably the best 
bet.  In the message you replied to, I made some suggestions with regard to 
using iozone, or dd, etc.

Right now all I can say is that I've got a Netgear FA120 network 
interface plugged into a USB port and I can't squeeze more than 4Mb/s 
out of it. It's USB 2.0 compliant and should get close to 100Mb/s.  I 
get faster results out of my old 10Mb ISA card.
That almost sounds like the NIC is running at USB 1.1 speeds, yes.  Note that 
you won't generally see more than about 90% utilization for network devices 
due to protocol overhead and latency, but you ought to be getting something 
closer to 50-80 Mbs...

[ ...comments about NEC chip snipped... ]
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please help me understand pciutils output

2004-06-07 Thread Chuck Swiger
Luke wrote:
I suspect that my PCI bus is incompatible with some of the PCI cards I'm 
trying to use with it.  The motherboard was made in 1996 and these cards 
are all much newer.  One of the cards gives USB 2.0 support, but I'm not 
getting anywhere near USB 2.0 speed out of the USB 2.0 devices I plug 
into it.
More details about the USB performance in terms of numbers you are seeing from 
some benchmark would be very useful.

[ For instance, I know that I can get about 90% utilization of Firewire by 
seeing a 45MB/s transfer rate for an external Maxtor 5000 combo drive, and I 
get 1.5MB/s transfers for USB 1, but I haven't had a chance to benchmark the 
unit using USB 2.  And then mention something such as, I was running "dd 
bs=8192", or benchmarks/iozone, or some such...]

I wonder if the problem is the speed of the PCI bus that the 
USB controller is plugged into.
Well, a 33MHz PCI bus is still twice as fast as USB 2, but your MB is old 
enough that pushing two devices might be enough to saturate the chipset-- so 
you might see a difference between dd'ing between the USB device to /dev/null, 
and from the USB device to, say, a hard drive.

I installed pciutils-2.1.11_1 and ran "lspci -vv" to get the following log.
Should I be disturbed by the "66Mhz-" status on everything except the 
RAID card, which is "66MHz+"?
No.
Should I adjust the latency on anything?
Woah!  Let's consider some easier things than going into wizard mode.  :-)
Should I stop plugging new cards into old boards?
00:00.0 Host bridge: Intel Corp. 430HX - 82439HX TXC [Triton II] (rev 02)
Maybe.  Your motherboard is one of the earlier 66MHz FSB boards, and my memory 
suggests that the FX and maybe the VX had serious issues involving broken 
support for doing L2 caching if you had more than 64MB of RAM, and stuff like 
that.  I think the HX fixed some but not all of of those issues, and the LX 
was the final revision which was quite good for the time.  Dell used the LX 
motherboards ("Aladdin"?) for most of their PII systems, until replaced by the 
100MHz FSB and motherboards with the relatively famous BX chipset.

There's nothing wrong with P2-grade hardware, however, other than being dated, 
and I'm happier using comparitively cheap P3-grade processors today rather 
than P4-based spaceheaters, or AMD even, and using the cost savings on better 
equipment elsewhere in the system.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please help me understand pciutils output

2004-06-07 Thread Luke
I suspect that my PCI bus is incompatible with some of the PCI cards I'm 
trying to use with it.  The motherboard was made in 1996 and these cards 
are all much newer.  One of the cards gives USB 2.0 support, but I'm not 
getting anywhere near USB 2.0 speed out of the USB 2.0 devices I plug into 
it.
More details about the USB performance in terms of numbers you are seeing 
from some benchmark would be very useful.
I agree.  How can I benchmark my just my USB controller?
Right now all I can say is that I've got a Netgear FA120 network interface 
plugged into a USB port and I can't squeeze more than 4Mb/s out of it. 
It's USB 2.0 compliant and should get close to 100Mb/s.  I get faster 
results out of my old 10Mb ISA card.

That's not necessarily any indication of a problem with the USB 
controller, but I don't know how to rule it out.  At this point I'm 
suspicious of every piece of hardware and software in the box.

It may very well be a problem with the Netgear device.  The box claims it 
may not be compatible with some laptop "pc card" USB 2.0 controllers based 
on the NEC chip.  My USB controller isn't in a laptop but it is run by an 
NEC chip.  The Indian gentleman at Netgear's call center couldn't give me 
any more information about the incompatibility than what was printed on 
the box, and I don't have any other USB 2.0 controllers to test with, so I 
don't know if that's the problem or not.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Please help me understand pciutils output

2004-06-06 Thread Luke
I suspect that my PCI bus is incompatible with some of the PCI cards I'm 
trying to use with it.  The motherboard was made in 1996 and these cards 
are all much newer.  One of the cards gives USB 2.0 support, but I'm not 
getting anywhere near USB 2.0 speed out of the USB 2.0 devices I plug into 
it.  I wonder if the problem is the speed of the PCI bus that the USB 
controller is plugged into.

I installed pciutils-2.1.11_1 and ran "lspci -vv" to get the following log.
Should I be disturbed by the "66Mhz-" status on everything except the RAID 
card, which is "66MHz+"?
Should I adjust the latency on anything?
Should I stop plugging new cards into old boards?

00:00.0 Host bridge: Intel Corp. 430HX - 82439HX TXC [Triton II] (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Latency: 32

00:07.0 Non-VGA unclassified device: Intel Corp. 82375EB (rev 05)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Latency: 248

00:08.0 IDE interface: CMD Technology Inc PCI0646 (rev 01) (prog-if 8a 
[Master SecP PriP])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- 
Latency: 32 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 14
Region 0: I/O ports at 01f0
Region 1: I/O ports at 03f4
Region 2: I/O ports at 0170
Region 3: I/O ports at 0374
Region 4: I/O ports at ffa0

00:0c.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Belkin Root Hub
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Latency: 248 (250ns min, 10500ns max), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at ffafc000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0c.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Belkin Root Hub
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Latency: 64 (250ns min, 10500ns max), cache line size 08
Interrupt: pin B routed to IRQ 11
Region 0: Memory at ffafd000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0c.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 
[EHCI])
Subsystem: Belkin Root Hub
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Latency: 128 (4000ns min, 8500ns max), cache line size 08
Interrupt: pin C routed to IRQ 9
Region 0: Memory at ffafef00 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.0 RAID bus controller: Promise Technology, Inc.: Unknown device 3371 
(rev 02)
Subsystem: Promise Technology, Inc.: Unknown device 3371
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Latency: 96 (1000ns min, 4500ns max), cache line size 90
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ee80
Region 1: I/O ports at efa0
Region 2: I/O ports at ea80
Region 3: Memory at ffaff000 (32-bit, non-prefetchable)
Region 4: Memory at ffac (32-bit, non-prefetchable)
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"