Date: Tue, 20 Aug 2002 12:17:29 +0200 (CEST) From: Tomas Pluskal <plusik@pohoda.cz> To: freebsd-hardware@freebsd.org, <freebsd-stable@freebsd.org> Subject: slow ATAPI ZIP and USB camera Message-ID: <20020522134805.X565-200000@s096-n062.tele2.cz>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am using FreeBSD 4.6 RELEASE, and my ATAPI ZIP drive and USB camera are very slow. I have done a simple measuring with FreeBSD and Windows 98 (these are not exact benchmarks, but the difference is so big that it doesn't matter). on FreeBSD: Copying from ZIP drive to HDD: about 100 KB/s Copying from USB camera to HDD: about 50 KB/s Copying from HDD to HDD (big file): about 10 MB/s Copying from CDROM to HDD: about 3 MB/s on Windows 98: Copying from ZIP drive to HDD: about 680 KB/s !! Copying from USB camera to HDD: about 460 KB/s !! Copying from HDD to HDD (big file): about 10 MB/s Copying from CDROM to HDD: about 4 MB/s I have 2 IDE controllers in my computer, DMA is active on both HDD, the CDROMs and ZIP use PIO mode. USB camera is using the umass driver. My "sysctl hw | grep ata" output: hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi_dma: 0 hw.atamodes: dma,---,pio,pio,pio,---,dma,---, Full dmesg is attached. Any idea why this is so slow ? Thanks Tomas Pluskal -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE9Yhc5qlO9Q2aZisoRAvo0AJ0bK4Fas5Y01iyP4phLqLgg3KEyVgCfXoUe BmwSDhPwnwHORYstzDBEj8k= =JmP6 -----END PGP SIGNATURE----- [-- Attachment #2 --] Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-RELEASE #3: Wed Jun 26 16:20:19 CEST 2002 root@s096-n062.tele2.cz:/usr/src/sys/compile/PLUSIK Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) XP 1600+ (1410.35-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!> real memory = 536805376 (524224K bytes) avail memory = 518574080 (506420K bytes) Preloaded elf kernel "kernel" at 0xc03ae000. VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc033c622 (1000022) VESA: ATI R200 Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00fdf10 apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI model 514c graphics accelerator> at 0.0 irq 11 atapci0: <CMD 649 ATA100 controller> port 0xb000-0xb00f,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 irq 11 at device 8.0 on pci0 ata2: at 0xa000 on atapci0 ata3: at 0xa800 on atapci0 ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xb400-0xb41f irq 10 at device 9.0 on pci0 ed0: address 00:00:e8:75:77:ff, type NE2000 (16 bit) bktr0: <BrookTree 878> mem 0xef000000-0xef000fff irq 12 at device 10.0 on pci0 iicbb0: <I2C bit-banging driver> on bti2c0 iicbus0: <Philips I2C bus> on iicbb0 master-only iicsmb0: <I2C to SMB bridge> on iicbus0 smbus0: <System Management Bus> on iicsmb0 iicbus1: <Philips I2C bus> on iicbb0 master-only iicsmb1: <I2C to SMB bridge> on iicbus1 smbus1: <System Management Bus> on iicsmb1 smbus2: <System Management Bus> on bti2c0 bktr0: Warning - card vendor 0x1002 (model 0x0003) unknown. bktr0: Pinnacle/Miro TV, Temic NTSC tuner. pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 10.1 irq 12 pcm0: <AudioPCI ES1370> port 0xb800-0xb83f irq 11 at device 11.0 on pci0 isab0: <PCI to ISA bridge (vendor=1106 device=3147)> at device 17.0 on pci0 isa0: <ISA bus> on isab0 atapci1: <VIA 8233 ATA133 controller> port 0xbc00-0xbc0f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 uhci0: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 11 at device 17.2 on pci0 usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: KYE Genius USB Wheel Mouse, rev 1.00/0.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci1: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 11 at device 17.3 on pci0 usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 plip0: <PLIP network interface> on ppbus0 IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled ad0: 38166MB <ST340016A> [77545/16/63] at ata0-master UDMA100 ad6: 14669MB <WDC WD153BA> [29805/16/63] at ata3-master UDMA66 acd0: CD-RW <SONY CD-RW CRX175A> at ata1-master PIO4 acd1: CDROM <BCD-40XH CD-ROM> at ata1-slave PIO4 afd0: 96MB <IOMEGA ZIP 100 ATAPI> [32/64/96] at ata2-master PIO0 Mounting root from ufs:/dev/ad0s2a lpt0: switched to polled extended mode cd9660: RockRidge Extension
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020522134805.X565-200000>
