Marco Peereboom wrote:
Yes dumb. Where are the whole dmesg?
haha!
If you had sent them we could have told you if you ran into the hlt hlt bug.
Sure here it is -
-- [EMAIL PROTECTED]: /usr/src/sys/arch/i386/conf (11:35) --
# dmesg
OpenBSD 3.7 (BOOKEND) #0: Wed Oct 5 14:02:08 EST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/BOOKEND
cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF
real mem = 1072742400 (1047600K)
avail mem = 972173312 (949388K)
using 4278 buffers containing 53739520 bytes (52480K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 04/28/03, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeae0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xcd000/0x800 0xcd800/0x1800! 0xcf000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845G/GL" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82845G/GL/GV/GE/PE AGP" rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon 8500 QL" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 3
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x81
pci2 at ppb1 bus 2
xl0 at pci2 dev 7 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 11, address
00:04:75:f6:32:ec
exphy0 at xl0 phy 24: 3Com internal media interface
em0 at pci2 dev 12 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 9,
address: 00:08:74:d4:40:c7
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x01: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y080L0>
wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Lite-On, LTN486S 48x Max, YDS6> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"Intel 82801DB SMBus" rev 0x01 at pci0 dev 31 function 3 not configured
"Intel 82801DB AC97" rev 0x01 at pci0 dev 31 function 5 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ffed netmask ffed ttymask ffef
pctr: user-level cycle counter enabled
Kernelized RAIDframe activated
umass0 at uhub3 port 2 configuration 1 interface 0
umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <OCZ, ET1208AD, 1.0> SCSI2 0/direct removable
sd0: 2000MB, 2000 cyl, 64 head, 32 sec, 512 bytes/sec, 4096000 sec total
dkcsum: wd0 matched BIOS disk 80
dkcsum: sd0 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
On Tue, Oct 11, 2005 at 12:20:45PM -0400, Andrew Atrens wrote:
Hey guys!
I'm running 3.7 and am getting really, really crappy usb throughput :( -
# dd if=/dev/sd0c of=/dev/null bs=819200 count=100
100+0 records in
100+0 records out
81920000 bytes transferred in 175.970 secs (465533 bytes/sec)
Here's an excerpt from my dmesg -
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 3
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
...
umass0 at uhub3 port 2 configuration 1 interface 0
umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <OCZ, ET1208AD, 1.0> SCSI2 0/direct removable
sd0: 2000MB, 2000 cyl, 64 head, 32 sec, 512 bytes/sec, 4096000 sec total
Looks like sd0 is attached to the EHCI controller. On DragonflyBSD, same
h/w,
I get 13MB/s when I use ehci ..
-- [EMAIL PROTECTED]: /usr/src/sys/i386/conf (11:09) --
# dd if=/dev/da0 of=/dev/null bs=8192000 count=100
100+0 records in
100+0 records out
819200000 bytes transferred in 59.371990 secs (13797752 bytes/sec)
when I use uhci on Dragonfly, I get -
-- [EMAIL PROTECTED]: /home/atrens (11:07) --
# dd if=/dev/da0 bs=8192000 of=/dev/null count=100
^C5+0 records in
5+0 records out
40960000 bytes transferred in 45.750635 secs (895288 bytes/sec)
which is still double what I'm seeing on OpenBSD 3.7!!!!
Hope it's something dumb on my side (and therefore easy to fix) :( ...
Andrew.