Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-26 Thread Andrea Arcangeli
On Tue, May 26, 2015 at 04:35:47PM +0200, Christoffer Dall wrote: > Any chance you could send me the memhog tool? memhog is just the first that come to mind because I got it preinstalled everywhere (I only miss it on cyanogenmod as there's no numactl there... yet). Anything else would do as well,

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-26 Thread Steve Capper
On 26 May 2015 at 15:35, Christoffer Dall wrote: > Hi Steve, > > On Tue, May 26, 2015 at 03:24:20PM +0100, Steve Capper wrote: >> >> On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: >> >> > Hi all, >> >> > >> >> > I noticed a regression on my arm64 APM X-Gene system a couple >> >>

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-26 Thread Andrea Arcangeli
On Tue, May 26, 2015 at 10:08:48AM +0200, Christoffer Dall wrote: > > echo 0 > /sys/kernel/mm/transparent_hugepage/khugepaged/pages_to_scan > > this returns -EINVAL. > Oops sorry, I haven't re-read the code, pages_to_scan 0 does not make sense, it would only be useful for debugging purposes beca

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-26 Thread Christoffer Dall
Hi Steve, On Tue, May 26, 2015 at 03:24:20PM +0100, Steve Capper wrote: > >> On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: > >> > Hi all, > >> > > >> > I noticed a regression on my arm64 APM X-Gene system a couple > >> > of weeks back. I would occassionally see the system lock

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-26 Thread Steve Capper
On 26 May 2015 at 09:08, Christoffer Dall wrote: > Hi Andrea, > > On Mon, May 25, 2015 at 04:15:25PM +0200, Andrea Arcangeli wrote: >> Hello Christoffer, >> >> On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: >> > Hi all, >> > >> > I noticed a regression on my arm64 APM X-Gene sys

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-26 Thread Marc Zyngier
On 26/05/15 09:08, Christoffer Dall wrote: [...] >> Then push the system into swap with some memhog -r1000 xG. > > what is memhog? I couldn't find the utility in Google... This looks to be part of the numactl suite, though Debian doesn't seem to include it in its numactl package... Thanks,

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-26 Thread Christoffer Dall
Hi Andrea, On Mon, May 25, 2015 at 04:15:25PM +0200, Andrea Arcangeli wrote: > Hello Christoffer, > > On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: > > Hi all, > > > > I noticed a regression on my arm64 APM X-Gene system a couple > > of weeks back. I would occassionally see

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-25 Thread Andrea Arcangeli
Hello Christoffer, On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: > Hi all, > > I noticed a regression on my arm64 APM X-Gene system a couple > of weeks back. I would occassionally see the system lock up and see RCU > stalls during the caching phase of kernbench. I then wrote

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-25 Thread Christoffer Dall
On Mon, May 25, 2015 at 01:05:15PM +0300, Kirill A. Shutemov wrote: > On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: > > Hi all, > > > > I noticed a regression on my arm64 APM X-Gene system a couple > > of weeks back. I would occassionally see the system lock up and see RCU > >

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-25 Thread Kirill A. Shutemov
On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: > Hi all, > > I noticed a regression on my arm64 APM X-Gene system a couple > of weeks back. I would occassionally see the system lock up and see RCU > stalls during the caching phase of kernbench. I then wrote a small > script th

[BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-24 Thread Christoffer Dall
Hi all, I noticed a regression on my arm64 APM X-Gene system a couple of weeks back. I would occassionally see the system lock up and see RCU stalls during the caching phase of kernbench. I then wrote a small script that does nothing but cache the files (http://paste.ubuntu.com/11324767/) and ra