Hi,

On Wed, Sep 7, 2011 at 12:53 AM, Ganesh <834...@bugs.launchpad.net> wrote:
> Dear Ming lei,
>  I am new to linux and ubuntu I have tried to  follow the instruction as
> given by the link you have provided hope this is what is expected from my
> side i will be happy to hear from you if this is not how it is done plz
> suggest.

This is just what I expected, nice job, :-)

> I have tried to capture the usbmon results as per the instruction. this what
> i have listened on all the serial buses and the out is named 1.mon.out
> thanks

I only had a glance at the trace, and found some transfer is very slow,
see below:

The slowest one(maybe) takes about 706ms to transfer only 120K bytes to
your usb mass storage disk:

/*CB: send out WRITE10 command*/
ffff8800b1fb2780 3396606803 S Bo:2:004:2 -115 31 = 55534243 25220000
00e00100 00000a2a 00004cdf c80000f0 00000000 000000
ffff8800b1fb2780 3396607106 C Bo:2:004:2 0 31 >

/*DATA: write out 120K bytes to usb mass storage disk*/
ffff880093a52480 3396607143 S Bo:2:004:2 -115 122880 = 30317762
10000000 18752006 e0010000 30306463 00000000 00772006 5d050000
ffff880093a52480 3397313202 C Bo:2:004:2 0 122880 >

/*CS: get the ack from device*/
ffff8800b1fb2780 3397313366 S Bi:2:004:1 -115 13 <
ffff8800b1fb2780 3397313583 C Bi:2:004:1 0 13 = 55534253 25220000 00000000 00


Also there are other more slow transfers, see [1].

>From 1.3 and 1.4, CPU takes long time to get CS, and looks like it is very
odd, maybe some device driver disabled irq for long time, so some
suggestions for you:

-  someone reported realtek wifi driver may disable irq for long time
sometime, so please disable your wifi and do the file transfer test to
see if there
are any improvements.

- if no improvements, run the tests below to post the reports:

dd if=/dev/null of=/media/udisk bs=120K count=1K

/media/udisk is the mount point of your usb mass storage disk, please be
careful to do the tests since it may destroy your data in usb disk.


[1], some slow transfers, you can find more in your capture.

1.1 ~154ms for 88KB
ffff8800b1fb2780 3397827772 S Bo:2:004:2 -115 31 = 55534243 41220000
00600100 00000a2a 00004cf2 180000b0 00000000 000000
ffff8800b1fb2780 3397827945 C Bo:2:004:2 0 31 >
ffff88011ee56f00 3397827962 S Bo:2:004:2 -115 90112 = 30317762
10000000 bca7fc19 e0010000 30306463 00000000 a4a9fc19 cf100000
ffff88011ee56f00 3397980947 C Bo:2:004:2 0 90112 >
ffff8800b1fb2780 3397980964 S Bi:2:004:1 -115 13 <
ffff8800b1fb2780 3397981320 C Bi:2:004:1 0 13 = 55534253 41220000 00000000 00


1.2 ~58ms for 120KB
ffff8800b1fb2780 3396256806 S Bo:2:004:2 -115 31 = 55534243 1c220000
00e00100 00000a2a 00004cd9 a00000f0 00000000 000000
ffff8800b1fb2780 3396266697 C Bo:2:004:2 0 31 >
ffff880093a8d900 3396266742 S Bo:2:004:2 -115 122880 = 0940c0a0
123ea3d0 7eacbc4b 2e066a29 c2e06c9e 55e4d149 f0820de8 3d0865ca
ffff880093a8d900 3396314450 C Bo:2:004:2 0 122880 >
ffff8800b1fb2780 3396314494 S Bi:2:004:1 -115 13 <
ffff8800b1fb2780 3396314698 C Bi:2:004:1 0 13 = 55534253 1c220000 00000000 00


1.3 ~20ms for 120KB
ffff8800b1fb2780 3243296745 S Bo:2:004:2 -115 31 = 55534243 63110000
00e00100 00000a2a 000037fa e00000f0 00000000 000000
ffff8800b1fb2780 3243297050 C Bo:2:004:2 0 31 >
ffff8801089bb6c0 3243297068 S Bo:2:004:2 -115 122880 = a1ad1aec
fcfd9314 0c681d2f 08144aa3 f53ea582 a1edf78b f8d7f6a1 270ddfb6
ffff8801089bb6c0 3243310423 C Bo:2:004:2 0 122880 >
ffff8800b1fb2780 3243310443 S Bi:2:004:1 -115 13 <
ffff8800b1fb2780 3243316803 C Bi:2:004:1 0 13 = 55534253 63110000 00000000 00


1.4 ~34ms for 104KB
ffff8800b1fb2780 3243316857 S Bo:2:004:2 -115 31 = 55534243 64110000
00a00100 00000a2a 000037fb d00000d0 00000000 000000
ffff8800b1fb2780 3243326801 C Bo:2:004:2 0 31 >
ffff8800a2b299c0 3243326816 S Bo:2:004:2 -115 106496 = 908c11fb
ec7c0c5d 4578fc69 cf32bfaa 6d307432 2feb7a7a 69626833 23425a6b
ffff8800a2b299c0 3243345901 C Bo:2:004:2 0 106496 >
ffff8800b1fb2780 3243345931 S Bi:2:004:1 -115 13 <
ffff8800b1fb2780 3243350886 C Bi:2:004:1 0 13 = 55534253 64110000 00000000 00


thanks,
--
Ming Lei

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/834476

Title:
  siletransfer to usb drive very slow in ubuntu 11.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/834476/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to