Re: 3.7-rc6 soft lockup in kswapd0

2012-12-03 Thread George Spelvin
> Almost three days, when it wouldn't live overnight before. > As promised, I'm declaring victory. > > The patch that worked (on top of -rc7) was Johannes Weiner's > "mm: vmscan: fix endless loop in kswapd balancing" > that added the zone_balanced() function to mm/vmscan.c:2400. > > Thank you

Re: 3.7-rc6 soft lockup in kswapd0

2012-12-03 Thread George Spelvin
Almost three days, when it wouldn't live overnight before. As promised, I'm declaring victory. The patch that worked (on top of -rc7) was Johannes Weiner's mm: vmscan: fix endless loop in kswapd balancing that added the zone_balanced() function to mm/vmscan.c:2400. Thank you all very

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-29 Thread Johannes Weiner
On Thu, Nov 29, 2012 at 09:54:14AM -0500, George Spelvin wrote: > Mel Gorman wrote: > > On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: > >> Well, it just made it to 24 hours, > >> it did before. I'm going to wait a couple more days before declaring > >> victory, but it looks

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-29 Thread Mel Gorman
On Thu, Nov 29, 2012 at 09:54:14AM -0500, George Spelvin wrote: > Mel Gorman wrote: > > On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: > >> Well, it just made it to 24 hours, > >> it did before. I'm going to wait a couple more days before declaring > >> victory, but it looks

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-29 Thread George Spelvin
Mel Gorman wrote: > On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: >> Well, it just made it to 24 hours, >> it did before. I'm going to wait a couple more days before declaring >> victory, but it looks good so far. >> >> 19:19:10 up 1 day, 0 min, 2 users, load average:

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-29 Thread George Spelvin
Mel Gorman mgor...@suse.de wrote: On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: Well, it just made it to 24 hours, it did before. I'm going to wait a couple more days before declaring victory, but it looks good so far. 19:19:10 up 1 day, 0 min, 2 users, load average:

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-29 Thread Mel Gorman
On Thu, Nov 29, 2012 at 09:54:14AM -0500, George Spelvin wrote: Mel Gorman mgor...@suse.de wrote: On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: Well, it just made it to 24 hours, it did before. I'm going to wait a couple more days before declaring victory, but it looks

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-29 Thread Johannes Weiner
On Thu, Nov 29, 2012 at 09:54:14AM -0500, George Spelvin wrote: Mel Gorman mgor...@suse.de wrote: On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: Well, it just made it to 24 hours, it did before. I'm going to wait a couple more days before declaring victory, but it looks

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-28 Thread Mel Gorman
On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: > Mel Gorman wrote: > > On Mon, Nov 26, 2012 at 01:53:17PM -0500, George Spelvin wrote: > >> Johannes Weiner wrote: > >>> Any chance you could test with this fix instead, in addition to Dave's > >>> accounting fix? It's got bool

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-28 Thread Mel Gorman
On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: Mel Gorman mgor...@suse.de wrote: On Mon, Nov 26, 2012 at 01:53:17PM -0500, George Spelvin wrote: Johannes Weiner han...@cmpxchg.org wrote: Any chance you could test with this fix instead, in addition to Dave's accounting

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-27 Thread George Spelvin
Mel Gorman wrote: > On Mon, Nov 26, 2012 at 01:53:17PM -0500, George Spelvin wrote: >> Johannes Weiner wrote: >>> Any chance you could test with this fix instead, in addition to Dave's >>> accounting fix? It's got bool and everything! > >> Okay. Mel, speak up if you object. I also rebased on

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-27 Thread George Spelvin
Mel Gorman mgor...@suse.de wrote: On Mon, Nov 26, 2012 at 01:53:17PM -0500, George Spelvin wrote: Johannes Weiner han...@cmpxchg.org wrote: Any chance you could test with this fix instead, in addition to Dave's accounting fix? It's got bool and everything! Okay. Mel, speak up if you

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Mel Gorman
On Mon, Nov 26, 2012 at 01:53:17PM -0500, George Spelvin wrote: > Johannes Weiner wrote: > > Any chance you could test with this fix instead, in addition to Dave's > > accounting fix? It's got bool and everything! > > Okay. Mel, speak up if you object. I also rebased on top of 3.7-rc7, >

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread George Spelvin
Johannes Weiner wrote: > Any chance you could test with this fix instead, in addition to Dave's > accounting fix? It's got bool and everything! Okay. Mel, speak up if you object. I also rebased on top of 3.7-rc7, which already includes Dave's fix. Again, speak up if that's a bad idea. > ---

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Johannes Weiner
Hi George, On Mon, Nov 26, 2012 at 08:05:04AM -0500, George Spelvin wrote: > Mel Gorman wrote: > > Ok, can you try this patch from Rik on top as well please? This is in > > addition to Dave Hansen's accounting fix. > > > > ---8<--- > > From: Rik van Riel > > Subject: mm,vmscan: only loop back

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread George Spelvin
Mel Gorman wrote: > Ok, can you try this patch from Rik on top as well please? This is in > addition to Dave Hansen's accounting fix. > > ---8<--- > From: Rik van Riel > Subject: mm,vmscan: only loop back if compaction would fail in all zones Booted and running. Judging from the patch, the

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Mel Gorman
On Sun, Nov 25, 2012 at 10:58:41PM -0500, George Spelvin wrote: > Sorry for the delay; was AF(that)K for the weekend. > > > Ok, is there any chance you can capture more of sysrq+m, particularly the > > bits that say how much free memory there is and many pages of each order > > that is free? If

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Mel Gorman
On Sun, Nov 25, 2012 at 10:58:41PM -0500, George Spelvin wrote: Sorry for the delay; was AF(that)K for the weekend. Ok, is there any chance you can capture more of sysrq+m, particularly the bits that say how much free memory there is and many pages of each order that is free? If you

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread George Spelvin
Mel Gorman mgor...@suse.de wrote: Ok, can you try this patch from Rik on top as well please? This is in addition to Dave Hansen's accounting fix. ---8--- From: Rik van Riel r...@redhat.com Subject: mm,vmscan: only loop back if compaction would fail in all zones Booted and running. Judging

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Johannes Weiner
Hi George, On Mon, Nov 26, 2012 at 08:05:04AM -0500, George Spelvin wrote: Mel Gorman mgor...@suse.de wrote: Ok, can you try this patch from Rik on top as well please? This is in addition to Dave Hansen's accounting fix. ---8--- From: Rik van Riel r...@redhat.com Subject: mm,vmscan:

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread George Spelvin
Johannes Weiner han...@cmpxchg.org wrote: Any chance you could test with this fix instead, in addition to Dave's accounting fix? It's got bool and everything! Okay. Mel, speak up if you object. I also rebased on top of 3.7-rc7, which already includes Dave's fix. Again, speak up if that's a

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Mel Gorman
On Mon, Nov 26, 2012 at 01:53:17PM -0500, George Spelvin wrote: Johannes Weiner han...@cmpxchg.org wrote: Any chance you could test with this fix instead, in addition to Dave's accounting fix? It's got bool and everything! Okay. Mel, speak up if you object. I also rebased on top of

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-25 Thread George Spelvin
Sorry for the delay; was AF(that)K for the weekend. > Ok, is there any chance you can capture more of sysrq+m, particularly the > bits that say how much free memory there is and many pages of each order > that is free? If you can't, it's ok. I ask because my kernel bug dowsing > rod is twitching

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-25 Thread George Spelvin
Sorry for the delay; was AF(that)K for the weekend. Ok, is there any chance you can capture more of sysrq+m, particularly the bits that say how much free memory there is and many pages of each order that is free? If you can't, it's ok. I ask because my kernel bug dowsing rod is twitching in

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-23 Thread George Spelvin
> tl;dr: Have installed Dave Hansen's patch as requested, rebooted. >Now it's a matter of waiting for lockup... Well, the machine locked up again; it looks like Dave Hansen's patch isn't the whie story. Too bad I'm away from the office and can't get at the console right now. I'll get

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-23 Thread George Spelvin
tl;dr: Have installed Dave Hansen's patch as requested, rebooted. Now it's a matter of waiting for lockup... Mel Gorman wrote: > heh, those P4s are great for keeping the room warm in winter. Legacy > high five? I wanted a physically separate box for some lightly used outside-facing

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-23 Thread Mel Gorman
On Thu, Nov 22, 2012 at 11:06:00PM +0100, Jan Kara wrote: > On Thu 22-11-12 12:58:24, George Spelvin wrote: > > I'm having an interesting issue with a uniprocessor Pentium 4 machine heh, those P4s are great for keeping the room warm in winter. Legacy high five? Joking aside, the UP aspect of

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-23 Thread Mel Gorman
On Thu, Nov 22, 2012 at 11:06:00PM +0100, Jan Kara wrote: On Thu 22-11-12 12:58:24, George Spelvin wrote: I'm having an interesting issue with a uniprocessor Pentium 4 machine heh, those P4s are great for keeping the room warm in winter. Legacy high five? Joking aside, the UP aspect of this

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-23 Thread George Spelvin
tl;dr: Have installed Dave Hansen's patch as requested, rebooted. Now it's a matter of waiting for lockup... Mel Gorman wrote: heh, those P4s are great for keeping the room warm in winter. Legacy high five? I wanted a physically separate box for some lightly used outside-facing network

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-23 Thread George Spelvin
tl;dr: Have installed Dave Hansen's patch as requested, rebooted. Now it's a matter of waiting for lockup... Well, the machine locked up again; it looks like Dave Hansen's patch isn't the whie story. Too bad I'm away from the office and can't get at the console right now. I'll get the

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-22 Thread Jan Kara
On Thu 22-11-12 23:06:00, Jan Kara wrote: > On Thu 22-11-12 12:58:24, George Spelvin wrote: > > I'm having an interesting issue with a uniprocessor Pentium 4 machine > > locking up overnight. 3.6.5 didn't do that, but 3.7-rc6 is not doing > > so well. > I've added some CCs which are hopefully

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-22 Thread Jan Kara
On Thu 22-11-12 12:58:24, George Spelvin wrote: > I'm having an interesting issue with a uniprocessor Pentium 4 machine > locking up overnight. 3.6.5 didn't do that, but 3.7-rc6 is not doing > so well. I've added some CCs which are hopefully relevant. Specifially I remember Mel fixing some -mm

3.7-rc6 soft lockup in kswapd0

2012-11-22 Thread George Spelvin
I'm having an interesting issue with a uniprocessor Pentium 4 machine locking up overnight. 3.6.5 didn't do that, but 3.7-rc6 is not doing so well. It's kind of a funny lockup. Some things work: - TCP SYN handshake - Alt-SysRq And others don't: - Caps lock - Shift-PgUp - Alt-Fn - Screen

3.7-rc6 soft lockup in kswapd0

2012-11-22 Thread George Spelvin
I'm having an interesting issue with a uniprocessor Pentium 4 machine locking up overnight. 3.6.5 didn't do that, but 3.7-rc6 is not doing so well. It's kind of a funny lockup. Some things work: - TCP SYN handshake - Alt-SysRq And others don't: - Caps lock - Shift-PgUp - Alt-Fn - Screen

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-22 Thread Jan Kara
On Thu 22-11-12 12:58:24, George Spelvin wrote: I'm having an interesting issue with a uniprocessor Pentium 4 machine locking up overnight. 3.6.5 didn't do that, but 3.7-rc6 is not doing so well. I've added some CCs which are hopefully relevant. Specifially I remember Mel fixing some -mm

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-22 Thread Jan Kara
On Thu 22-11-12 23:06:00, Jan Kara wrote: On Thu 22-11-12 12:58:24, George Spelvin wrote: I'm having an interesting issue with a uniprocessor Pentium 4 machine locking up overnight. 3.6.5 didn't do that, but 3.7-rc6 is not doing so well. I've added some CCs which are hopefully relevant.