Alan Stern wrote: > Are you sure that _all_ values don't work? I would expect that at least > 128 would be okay. But no, I can't explain what's going on with your > device.
I tried some values down until 140, all of them didn't work. So i made a jump from 140 to 120 and this value is working now. I guess, it's besser to choose even numbers (140, 120) and not e.g. 133. Am i wrong? > > > Does this mean now, my usb 2.0 storage wouldn't act as "normal" usb 2.0 > > speed? Or does this only mean more work for kernel? > > This isn't diretly connected with the speed; it's more a question of how > much data can be sent in a single command. Setting max_sectors to 120 > limits the driver to sending 60 KB at once (a sector is 512 bytes). > That's not a problem -- all the data will be sent -- it just has to be > broken up into more commands. So there's extra overhead and extra work > because of the extra commands, which will slow things down a bit. > Probably not too much though. Anyway, it's better than not working at > all! Yes, that's right. And the Linux kernel is much faster (about 40%) in copying data to usb storage (at my pc) than win. 650MB -> usb storage win: 75 sec. lin: 45 sec! > It's a little odd that your device can only accept such a small amount of > data at a time. Almost all USB storage devices can handle up to 120 KB > (that's why the default value of max_sectors is 240) and most can handle > arbitrarily large amounts. How many sectors does kernel 2.4.22 transfer at same time? I couldn't find a "max sector" line in it's config file. > In the future I expect there will be a way to set the max_sectors value > directly, without having to change the kernel source. In the meantime, > you'll just have to make the change by hand. It's important to know for users. I am not the only user with that problem. Perhaps a default value of 120 in kernel config would be enough? You could change it manually with make config etc. regards, hampel -- HoHoHo! Seid Ihr auch alle sch�n brav gewesen? GMX Weihnachts-Special: Die 1. Adresse f�r Weihnachts- m�nner und -frauen! http://www.gmx.net/de/cgi/specialmail +++ GMX - die erste Adresse f�r Mail, Message, More! +++ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
