Re: Low perfomance when read from usb flash drive

2009-04-10 Thread Artyom Mirgorodsky
FreeBSD-8-Current dd if=/dev/da0 of=/dev/null bs=64k count=1 1+0 records in 1+0 records out 65536 bytes transferred in 60.320972 secs (10864546 bytes/sec) Fantastic!!! Today result: dd if=/dev/da0 of=/dev/null bs=64k count=1 1+0 records in 1+0 records out

Re: support for logitech mx610 mouse

2009-03-14 Thread Artyom Mirgorodsky
The format is: /dev/usb/X.Y.Z X is USB BUS Y is device index Z is endpoint 0xF The the usbconfig's dump_curr_config_desc which endpoint belongs to your driver. Also see the show_ifdrv command to see which driver is connected to which interface. I understand that. But I can't read

Re: support for logitech mx610 mouse

2009-03-14 Thread Artyom Mirgorodsky
See attached file Sorry. I don't post data when only move mouse. In attach 0 0 B 70 0 0 0 0 0 C 80 0 0 0 0 0 3 10 1 0 0 0 0 3 F0 0 0 0 0 0 2 90 0 0 0 0 0 2 70 0 0 0 0 0 1 50 0 0 0 0 0 0 C0 1 0 0 0 0 0 A0 1 0 0 0 0 2 10 1 0 0 0 0 0 40 1 0 0 0 0 FB 4F 1 0 0 0 0 F6 6F 1 0 0 0 0 DB 8F 2 0 0 0 0

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Artyom Mirgorodsky
Repeat the same test using FreeBSD -current. a) On the machine where it is slow. vmstat -i ; sleep 1 ; vmstat -i interrupt total rate irq1: atkbd0 233 2 irq14: ata0 85 0 irq16: vgapci0

Re: Low perfomance when read from usb flash drive

2009-03-03 Thread Artyom Mirgorodsky
I know that certain AMD USB controllers perform less with the new USB stack, but I've not been able to track down the issue. Yes, I have AMD platform (motherboard ASUS A8N-VM-CSM) Can you try another PC having another CPU brand? Yes, I have already posted the result - 22 Mb/sec, much better

Re: Low perfomance when read from usb flash drive

2009-03-03 Thread Artyom Mirgorodsky
On Tuesday 03 March 2009 16:16:02 Hans Petter Selasky wrote: if (usb2_get_speed(xfer-xroot-udev) == USB_SPEED_HIGH) { qh_endp |= (EHCI_QH_SET_EPS(EHCI_QH_SPEED_HIGH) | EHCI_QH_DTC); if (methods != ehci_device_intr_methods)

Re: Low perfomance when read from usb flash drive

2009-03-02 Thread Artyom Mirgorodsky
This flash drive works fine on another system (Intel 6300ESB USB 2.0 controller) with FreeBSD-8-current. May be problem in controller? ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send

Re: Low perfomance when read from usb flash drive

2009-03-02 Thread Artyom Mirgorodsky
It might be a bug with your memory stick. Are your findings consistent accross other brands of memory sticks aswell, between 7.1 and 8.x ? Today, I tested another flash drive ugen1.2: USB 2.0 at usbus1 umass0: BUCK on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x umass0:3:0:-1:

Re: Low perfomance when read from usb flash drive

2009-03-01 Thread Artyom Mirgorodsky
7.1 livefs test result: dd if=/dev/da0 of=/dev/null bs=65536 19534+0 records in 19534+0 records out 1280180224 bytes transferred in 64.897932 secs (197263329 bytes/sec) systat -vm Disksda0 KB/t64.00 tps 301 MB/s 18.84 %busy 99

Re: Low perfomance when read from usb flash drive

2009-02-28 Thread Artyom Mirgorodsky
Hi please explain what kind of test you have done. It's most likely not related to USB, but rather the file system. Maybe you can run the following test on Windows and FreeBSD to compare: dd if=/dev/da0 of=/dev/null bs=65536 I'm test on FreeBSD7-stable and FreeBSD-current and post results.