[haiku] Re: Haiku support for USB drives

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2009 15:36:51 +0100

On Mon, 26 Jan 2009 15:13:17 +0100 CET, Axel Dörfler wrote
>Nicholas Blachford <nicholas@xxxxxxxxxxxxxx> wrote:
>> Annoyingly it appears to be just as slow though.  This is not the  
>> drives fault (writing is very fast from a Mac).  An optimisation for  
>> later methinks...
> 
> USB is also unbelievably slow on my laptop. I'm not sure what's 
> wrong there, as I haven't looked into it yet. Could have something 
> to do with the BIOS putting all devices on a single interrupt line.

The interrupt config will certainly hurt a bit, but there's an easier
explanation for slow USB mass storage: It's not yet optimized at all. I still
have to rework the usb_disk driver to use the io hook instead of the old
read/write hooks as suggested by Ingo way back ;-) Right now everything's
synchronous which wastes a lot of performance.

Regards
Michael

Other related posts: