Hi again,

On Mon, 23 Feb 2004, Alan Stern wrote:

> Basically the same fix that worked for "Francis, Chong Chan Fai" ought to 
> work for you.  It's a very simple change, as you can see from the patch 
> below.
> 
> Alan Stern
> 
> 
> ===== scsiglue.c 1.70 vs edited =====
> --- 1.70/drivers/usb/storage/scsiglue.c       Fri Jan 30 22:02:35 2004
> +++ edited/drivers/usb/storage/scsiglue.c     Mon Feb 23 11:20:51 2004
> @@ -370,8 +370,8 @@
>       /* lots of sg segments can be handled */
>       .sg_tablesize =                 SG_ALL,
>  
> -     /* limit the total size of a transfer to 120 KB */
> -     .max_sectors =                  240,
> +     /* limit the total size of a transfer to 64 KB */
> +     .max_sectors =                  128,
>  
>       /* merge commands... this seems to help performance, but
>        * periodically someone should test to see which setting is more

Thanks, this seems to do the trick. vmstat indicates a constant read rate at
around 20 megabytes per second from the hardisk now :)


Best regards,

--
Juhan Ernits



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to