Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-08-26 Thread Alan Stern
On Mon, 26 Aug 2019, Andrea Vai wrote: > ok, so you can grab them at > > http://fisica.unipv.it/transfer/usbmon_logs.zip > > (they will be automatically removed from there in a couple of weeks). > > For each size there is a .txt file (which contains the terminal > output) and 10 bad.mon.out_...

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-08-25 Thread Andrea Vai
[Sorry, I had previously sent the message to the list but has been rejected. Sorry for any duplicate] Il giorno ven, 23/08/2019 alle 16.42 -0400, Alan Stern ha scritto: > On Fri, 23 Aug 2019, Andrea Vai wrote: > > > Il giorno mar, 20/08/2019 alle 13.13 -0400, Alan Stern ha scritto: > > > On Mon,

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-08-23 Thread Alan Stern
On Fri, 23 Aug 2019, Andrea Vai wrote: > Il giorno mar, 20/08/2019 alle 13.13 -0400, Alan Stern ha scritto: > > On Mon, 19 Aug 2019, Andrea Vai wrote: > > > > > Hi Alan, > > > I attach the two traces, collected as follows: > > > > > > - start the trace; > > > - wait 10 seconds; > > > - plug th

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-08-23 Thread Andrea Vai
Il giorno mar, 20/08/2019 alle 13.13 -0400, Alan Stern ha scritto: > On Mon, 19 Aug 2019, Andrea Vai wrote: > > > Hi Alan, > > I attach the two traces, collected as follows: > > > > - start the trace; > > - wait 10 seconds; > > - plug the drive; > > - wait 5 seconds; > > - mount the drive; > >

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-08-20 Thread Alan Stern
On Mon, 19 Aug 2019, Andrea Vai wrote: > Hi Alan, > I attach the two traces, collected as follows: > > - start the trace; > - wait 10 seconds; > - plug the drive; > - wait 5 seconds; > - mount the drive; > - wait 5 seconds; > - copy a 500 byte file; > - wait 5 seconds; > - unmount the drive; >

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-08-13 Thread Alan Stern
On Fri, 9 Aug 2019, Andrea Vai wrote: > Il giorno lun, 08/07/2019 alle 11.38 -0400, Alan Stern ha scritto: > > > > [...] > > Andrea, another thing you could try is to collect a usbmon trace > > under > > > > one of the "slow" kernels. Follow the instructions in > > > > Documentation/usb/usbmo

Re: Slow I/O on USB media

2019-07-01 Thread Alan Stern
On Mon, 1 Jul 2019, Andrea Vai wrote: > > At any rate, you are some commits you could try (beginning with > > "git > > checkout " and then running your scripts): > > > > c76cd634eb5b > > b1669432b355 > > 507413a5f88a > > a52fb43a5faa > > 38fabca18fc4 > >

Re: Slow I/O on USB media

2019-07-01 Thread Andrea Vai
Il giorno lun, 17/06/2019 alle 13.28 -0400, Alan Stern ha scritto: > On Mon, 17 Jun 2019, Andrea Vai wrote: > > > Il giorno lun, 17/06/2019 alle 12.14 -0400, Alan Stern ha scritto: > > > On Mon, 17 Jun 2019, Andrea Vai wrote: > > > > > > > [...] > > > > > > > > That happened ALL times, so I neve

Re: Slow I/O on USB media

2019-06-17 Thread Alan Stern
On Mon, 17 Jun 2019, Andrea Vai wrote: > Il giorno lun, 17/06/2019 alle 12.14 -0400, Alan Stern ha scritto: > > On Mon, 17 Jun 2019, Andrea Vai wrote: > > > > > [...] > > > > > > That happened ALL times, so I never encountered a kernel that made > > me > > > say "git bisect good". > > > > Reall

Re: Slow I/O on USB media

2019-06-17 Thread Andrea Vai
Il giorno lun, 17/06/2019 alle 12.14 -0400, Alan Stern ha scritto: > On Mon, 17 Jun 2019, Andrea Vai wrote: > > > [...] > > > > That happened ALL times, so I never encountered a kernel that made > me > > say "git bisect good". > > Really? That strongly suggests that the 4.20 kernel also should

Re: Slow I/O on USB media

2019-06-17 Thread Alan Stern
On Mon, 17 Jun 2019, Andrea Vai wrote: > Il giorno lun, 10/06/2019 alle 10.40 -0400, Alan Stern ha scritto: > > On Sat, 8 Jun 2019, Andrea Vai wrote: > > > > [...] > > Hi, > I have concluded the (third) bisect, and still haven't come to an > end, but I have collected as much information as I c

Re: Slow I/O on USB media

2019-06-17 Thread Andrea Vai
Il giorno lun, 10/06/2019 alle 10.40 -0400, Alan Stern ha scritto: > On Sat, 8 Jun 2019, Andrea Vai wrote: > > [...] Hi, I have concluded the (third) bisect, and still haven't come to an end, but I have collected as much information as I can: - I started again from: cd /NoBackup/kernel rm -rf

Re: Slow I/O on USB media

2019-06-10 Thread Andrea Vai
Il giorno lun, 10/06/2019 alle 16.38 +0200, Greg KH ha scritto: > On Sat, Jun 08, 2019 at 11:29:16AM +0200, Andrea Vai wrote: > > Il giorno sab 8 giu 2019 alle ore 09:43 Andrea Vai > > ha scritto: > > > > > >[...] > > > > > > Hi, > > > there is also something else I don't understand. > > > Every

Re: Slow I/O on USB media

2019-06-10 Thread Alan Stern
On Mon, 10 Jun 2019, Andrea Vai wrote: > Il giorno lun, 10/06/2019 alle 10.40 -0400, Alan Stern ha scritto: > > > > > > [...] > > Thank you Alan and Greg for your patience and answer. I will carefully > consider all the advice you gave me, but one in particular stands out > to me first: > > >

Re: Slow I/O on USB media

2019-06-10 Thread Andrea Vai
Il giorno lun, 10/06/2019 alle 10.40 -0400, Alan Stern ha scritto: > > > [...] Thank you Alan and Greg for your patience and answer. I will carefully consider all the advice you gave me, but one in particular stands out to me first: > Not setting up the .config file properly for each bu

Re: Slow I/O on USB media

2019-06-10 Thread Greg KH
On Sat, Jun 08, 2019 at 09:43:11AM +0200, Andrea Vai wrote: > Il giorno gio 6 giu 2019 alle ore 16:48 Greg KH > ha scritto: > > > > On Thu, Jun 06, 2019 at 04:00:52PM +0200, Andrea Vai wrote: > > > Il giorno mer, 05/06/2019 alle 19.39 +0200, Greg KH ha scritto: > > > > On Wed, Jun 05, 2019 at 06:2

Re: Slow I/O on USB media

2019-06-10 Thread Greg KH
On Sat, Jun 08, 2019 at 11:29:16AM +0200, Andrea Vai wrote: > Il giorno sab 8 giu 2019 alle ore 09:43 Andrea Vai > ha scritto: > > > >[...] > > > > Hi, > > there is also something else I don't understand. > > Every time I build a kernel, then after booting it "uname -a" shows > > something like

Re: Slow I/O on USB media

2019-06-10 Thread Alan Stern
On Sat, 8 Jun 2019, Andrea Vai wrote: > Il giorno sab 8 giu 2019 alle ore 09:43 Andrea Vai > ha scritto: > > > >[...] > > > > Hi, > > there is also something else I don't understand. > > Every time I build a kernel, then after booting it "uname -a" shows > > something like > > > > Linux [...] 4

Re: Slow I/O on USB media

2019-06-08 Thread Andrea Vai
Il giorno sab 8 giu 2019 alle ore 09:43 Andrea Vai ha scritto: > >[...] > > Hi, > there is also something else I don't understand. > Every time I build a kernel, then after booting it "uname -a" shows > something like > > Linux [...] 4.19.0-rc5+ #12 SMP Sat Jun 8 00:26:42 CEST 2019 x86_64 > x86_

Re: Slow I/O on USB media

2019-06-08 Thread Andrea Vai
Il giorno gio 6 giu 2019 alle ore 16:48 Greg KH ha scritto: > > On Thu, Jun 06, 2019 at 04:00:52PM +0200, Andrea Vai wrote: > > Il giorno mer, 05/06/2019 alle 19.39 +0200, Greg KH ha scritto: > > > On Wed, Jun 05, 2019 at 06:23:58PM +0200, Andrea Vai wrote: > > > [...] > > > > > > > Anyway, I know

Re: Slow I/O on USB media

2019-06-07 Thread Andrea Vai
Il giorno gio, 06/06/2019 alle 16.47 +0200, Greg KH ha scritto: > > > [...] > > As Alan said, 4.20 is older than 4.20.13. Thank you Greg, and thank you Alan for your explanations. > > But, is the kernel.org version of 4.20.13 really "good" here? > > I would start with Linus's tree and stay a

Re: Slow I/O on USB media

2019-06-06 Thread Greg KH
On Thu, Jun 06, 2019 at 04:00:52PM +0200, Andrea Vai wrote: > Il giorno mer, 05/06/2019 alle 19.39 +0200, Greg KH ha scritto: > > On Wed, Jun 05, 2019 at 06:23:58PM +0200, Andrea Vai wrote: > > [...] > > > > > Anyway, I know that I can do all of this in a better way, and will > > let > > > you kno

Re: Slow I/O on USB media

2019-06-06 Thread Alan Stern
On Thu, 6 Jun 2019, Andrea Vai wrote: > Here I am with another question. > What I have done so far: > > - booted with the last kernel I know to be working (4.20.13- > 200.fc29.x86_64, installed from Fedora repos), checked that test runs > fine (2min to copy) > - marked "git bisect good v4.20.13"

Re: Slow I/O on USB media

2019-06-06 Thread Andrea Vai
Il giorno mer, 05/06/2019 alle 19.39 +0200, Greg KH ha scritto: > On Wed, Jun 05, 2019 at 06:23:58PM +0200, Andrea Vai wrote: > [...] > > > Anyway, I know that I can do all of this in a better way, and will > let > > you know. > > Yes, please do so, your steps above do not show much. Here I am w

Re: Slow I/O on USB media

2019-06-06 Thread Andrea Vai
Il giorno mer, 05/06/2019 alle 19.39 +0200, Greg KH ha scritto: > On Wed, Jun 05, 2019 at 06:23:58PM +0200, Andrea Vai wrote: > > Hi, > > Il giorno mer, 05/06/2019 alle 16.55 +0200, Greg KH ha scritto: > > > On Wed, Jun 05, 2019 at 09:36:04AM +0200, Andrea Vai wrote: > > > > Hi, > > > > Il giorno m

Re: Slow I/O on USB media

2019-06-06 Thread Andrea Vai
Il giorno mer, 05/06/2019 alle 19.39 +0200, Greg KH ha scritto: > On Wed, Jun 05, 2019 at 06:23:58PM +0200, Andrea Vai wrote: > [...] > In ssh I manually mount the media, > then > > run > > > > touch begin > > date > > > > date > > touch end > > That tests nothing other than the size of the memo

Re: Slow I/O on USB media

2019-06-05 Thread Greg KH
On Wed, Jun 05, 2019 at 06:23:58PM +0200, Andrea Vai wrote: > Hi, > Il giorno mer, 05/06/2019 alle 16.55 +0200, Greg KH ha scritto: > > On Wed, Jun 05, 2019 at 09:36:04AM +0200, Andrea Vai wrote: > > > Hi, > > > Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > > > > On Mon, Jun 03,

Re: Slow I/O on USB media

2019-06-05 Thread Andrea Vai
Hi, Il giorno mer, 05/06/2019 alle 16.55 +0200, Greg KH ha scritto: > On Wed, Jun 05, 2019 at 09:36:04AM +0200, Andrea Vai wrote: > > Hi, > > Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > > > On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea Vai wrote: > > > > Il giorno gio, 30/0

Re: Slow I/O on USB media

2019-06-05 Thread Alan Stern
On Wed, 5 Jun 2019, Andrea Vai wrote: > Hi, > Il giorno mer, 05/06/2019 alle 10.26 -0400, Alan Stern ha scritto: > > On Wed, 5 Jun 2019, Andrea Vai wrote: > > > > > Hi, > > > Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > > > > On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea V

Re: Slow I/O on USB media

2019-06-05 Thread Andrea Vai
Hi, Il giorno mer, 05/06/2019 alle 10.26 -0400, Alan Stern ha scritto: > On Wed, 5 Jun 2019, Andrea Vai wrote: > > > Hi, > > Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > > > On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea Vai wrote: > > > > Il giorno gio, 30/05/2019 alle 06.2

Re: Slow I/O on USB media

2019-06-05 Thread Greg KH
On Wed, Jun 05, 2019 at 09:36:04AM +0200, Andrea Vai wrote: > Hi, > Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > > On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea Vai wrote: > > > Il giorno gio, 30/05/2019 alle 06.25 -0700, Greg KH ha scritto: > > > > [...] > > > Hi, > > > >

Re: Slow I/O on USB media

2019-06-05 Thread Alan Stern
On Wed, 5 Jun 2019, Andrea Vai wrote: > Hi, > Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > > On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea Vai wrote: > > > Il giorno gio, 30/05/2019 alle 06.25 -0700, Greg KH ha scritto: > > > > [...] > > > Hi, > > > > > > > Any chance you

Re: Slow I/O on USB media

2019-06-05 Thread Andrea Vai
Hi, Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea Vai wrote: > > Il giorno gio, 30/05/2019 alle 06.25 -0700, Greg KH ha scritto: > > > [...] > > Hi, > > > > > Any chance you can use 'git bisect' to find the offending > commit? >

Re: Slow I/O on USB media

2019-06-04 Thread Andrea Vai
Il giorno mar, 04/06/2019 alle 07.43 +0200, Greg KH ha scritto: > On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea Vai wrote: > > Il giorno gio, 30/05/2019 alle 06.25 -0700, Greg KH ha scritto: > > > [...] > > Hi, > > > > > Any chance you can use 'git bisect' to find the offending > commit? > > Ye

Re: Slow I/O on USB media

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 01:13:48PM +0200, Andrea Vai wrote: > Il giorno gio, 30/05/2019 alle 06.25 -0700, Greg KH ha scritto: > > [...] > Hi, > > > Any chance you can use 'git bisect' to find the offending commit? > Yes, I am doing it as I managed to build the kernel from source Great! What did

Re: Slow I/O on USB media

2019-06-03 Thread Andrea Vai
Il giorno gio, 30/05/2019 alle 06.25 -0700, Greg KH ha scritto: > [...] Hi, > Any chance you can use 'git bisect' to find the offending commit? Yes, I am doing it as I managed to build the kernel from source > > And did you accidentally turn on "sync" for the filesystem? Sorry, I don't think so

Re: Slow I/O on USB media

2019-05-30 Thread Greg KH
On Thu, May 30, 2019 at 03:18:14PM +0200, Andrea Vai wrote: > Hi, > I have a problem as described at [1], sorry for misunderstanding the > right place to report it. > > The last kernel I can easily install and test was 5.0.17, but please > tell me if I should install a newer version (or anything