On Thursday November 10, [EMAIL PROTECTED] wrote:
>                                        but does anyone have any
> guesses what the 112msec (0x70) grading could relate to?

One more datum on this before I leave it and work on what I'm meant to
be working on....

I set the URB_NO_FSBR flag, and using dd to write 64 byte blocks, so
the lines in usbmon would correlate directly with individual 64byte
packets.

I again looked at the packet completion times and graphed them.
Of these:
   about half take around 220msecs
   about half take around 110msecs
   Most of the remaining 5% take 2msecs
   There are a noticeable fraction (1%?) that take 102 or 214msecs.

It almost looks like there is a 100msec gap.
It retries for 2 msecs, then waits 100msec and retries for a bit
longer, then waits 100msec and then retries some more.

Is that possible?

I'm going to try raising HZ from 250 to 1000 and see if it changes the
resolution of these numbers at all.

Thanks for your time, and any suggestions.


BTW, there is a minor typo in usblp.c
NeilBrown


Signed-off-by: Neil Brown <[EMAIL PROTECTED]>

### Diffstat output
 ./drivers/usb/class/usblp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff ./drivers/usb/class/usblp.c~current~ ./drivers/usb/class/usblp.c
--- ./drivers/usb/class/usblp.c~current~        2005-11-10 13:42:03.000000000 
+1100
+++ ./drivers/usb/class/usblp.c 2005-11-10 13:42:59.000000000 +1100
@@ -640,7 +640,7 @@ static ssize_t usblp_write(struct file *
                                return writecount ? writecount : -EAGAIN;
                        }
 
-                       timeout = USBLP_WRITE_TIMEOUT;
+                       timeout = msecs_to_jiffies(USBLP_WRITE_TIMEOUT);
                        add_wait_queue(&usblp->wait, &wait);
                        while ( 1==1 ) {
 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to