Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-09 Thread Mel Gorman
On Sat, Jun 07, 2014 at 11:24:56AM -0700, Linus Torvalds wrote: > So we very recently (as in this merge window) merged a change to this > very area, but that change was very specific to one case. > > Hillf's patch (below) apparently fixes the problem Felipe sees, and I > have to say, his problem s

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-09 Thread Felipe Contreras
Michal Hocko wrote: > On Fri 06-06-14 18:11:14, Felipe Contreras wrote: > > On Fri, Jun 6, 2014 at 5:33 AM, Felipe Contreras > > wrote: > > > On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > > > > > >> Mel has a nice systemtap script (attached) to watch for stalls. Maybe > > >> you can give

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-09 Thread Michal Hocko
On Fri 06-06-14 18:11:14, Felipe Contreras wrote: > On Fri, Jun 6, 2014 at 5:33 AM, Felipe Contreras > wrote: > > On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > > > >> Mel has a nice systemtap script (attached) to watch for stalls. Maybe > >> you can give it a try? > > > > Is there any spe

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-08 Thread Linus Torvalds
On Sat, Jun 7, 2014 at 11:24 AM, Linus Torvalds wrote: > > Comments? Mel, this code is mostly attributed to you, I'd like to hear > what you think in particular. In the meantime, I've removed the "nr_unqueued_dirty == nr_taken" check for congestion_wait(), since I can't see how it can possibly be

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-07 Thread Linus Torvalds
So we very recently (as in this merge window) merged a change to this very area, but that change was very specific to one case. Hillf's patch (below) apparently fixes the problem Felipe sees, and I have to say, his problem sounds a *lot* like the kind of horrible performance I've seen with writing

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-07 Thread Felipe Contreras
On Sat, Jun 7, 2014 at 7:35 AM, wrote: > Would you please try again based only on comment [1](based on v3.15-rc8)? > thanks > Hillf > > --- a/mm/vmscan.c Sat Jun 7 18:38:08 2014 > +++ b/mm/vmscan.c Sat Jun 7 20:08:36 2014 > @@ -1566,7 +1566,7 @@ shrink_inactive_list(unsigned long n

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Fri, Jun 6, 2014 at 5:33 AM, Felipe Contreras wrote: > On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > >> Mel has a nice systemtap script (attached) to watch for stalls. Maybe >> you can give it a try? > > Is there any special configurations I should enable? > > I get this: > semantic er

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Fri, Jun 6, 2014 at 6:03 AM, Michal Hocko wrote: > On Fri 06-06-14 05:33:28, Felipe Contreras wrote: >> On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: >> >> > Mel has a nice systemtap script (attached) to watch for stalls. Maybe >> > you can give it a try? >> >> Is there any special confi

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Thu, Jun 5, 2014 at 8:37 AM, Michal Hocko wrote: > We had a similar report for opensuse. The common part was that there was > an IO to a slow USB device going on. Actually I've managed to narrow down my synthetic test, and all I need is to copy a big file, and it even happens reading and writ

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Michal Hocko
On Fri 06-06-14 05:33:28, Felipe Contreras wrote: > On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > > > Mel has a nice systemtap script (attached) to watch for stalls. Maybe > > you can give it a try? > > Is there any special configurations I should enable? You need debuginfo and systemta

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > Mel has a nice systemtap script (attached) to watch for stalls. Maybe > you can give it a try? Is there any special configurations I should enable? I get this: semantic error: unresolved arity-1 global array name, missing global declaration?

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Fri, Jun 6, 2014 at 4:58 AM, wrote: > Alternatively can we try wait_iff_congested(zone, BLK_RW_ASYNC, HZ/10) ? I see the same problem with that code. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Michal Hocko
On Thu 05-06-14 09:00:10, Felipe Contreras wrote: > On Thu, Jun 5, 2014 at 8:37 AM, Michal Hocko wrote: > > On Thu 05-06-14 06:33:40, Felipe Contreras wrote: > > >> For a while I've noticed that my machine bogs down in certain > >> situations, usually while doing heavy I/O operations, it is not j

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-05 Thread Felipe Contreras
On Thu, Jun 5, 2014 at 8:37 AM, Michal Hocko wrote: > On Thu 05-06-14 06:33:40, Felipe Contreras wrote: >> For a while I've noticed that my machine bogs down in certain >> situations, usually while doing heavy I/O operations, it is not just the >> I/O operations, but everything, including the gra

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-05 Thread Michal Hocko
On Thu 05-06-14 06:33:40, Felipe Contreras wrote: > Hi, Hi, > For a while I've noticed that my machine bogs down in certain > situations, usually while doing heavy I/O operations, it is not just the > I/O operations, but everything, including the graphical interface, even > the mouse pointer. >

Interactivity regression since v3.11 in mm/vmscan.c

2014-06-05 Thread Felipe Contreras
Hi, For a while I've noticed that my machine bogs down in certain situations, usually while doing heavy I/O operations, it is not just the I/O operations, but everything, including the graphical interface, even the mouse pointer. As far as I can recall this did not happen in the past. I noticed