[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191106172520.GF12685@quack2.suse.cz>
Date: Wed, 6 Nov 2019 18:25:20 +0100
From: Jan Kara <jack@...e.cz>
To: snazy@...zy.de
Cc: Josef Bacik <josef@...icpanda.com>, Jan Kara <jack@...e.cz>,
Johannes Weiner <hannes@...xchg.org>,
Vlastimil Babka <vbabka@...e.cz>,
Michal Hocko <mhocko@...nel.org>,
"Kirill A. Shutemov" <kirill@...temov.name>,
Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org, Linux MM <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"Potyra, Stefan" <Stefan.Potyra@...ktrobit.com>
Subject: Re: mlockall(MCL_CURRENT) blocking infinitely
On Wed 06-11-19 18:03:10, Robert Stupp wrote:
> Oh, and I just realized, that I have two custom settings in my
> /etc/rc.local - guess, I configured that when I installed that machine
> years ago. Sorry, that I haven't mentioned that earlier.
>
> echo 0 > /sys/block/nvme0n1/queue/read_ahead_kb
> echo never >
> /sys/kernel/mm/transparent_hugepage/defrag
>
> That setting is probably not quite standard, but I assume there are
> some database server setups out there, that set RA=0 as well.
Ok, yes, that explains ra_pages == 0. Thanks for the details.
Honza
--
Jan Kara <jack@...e.com>
SUSE Labs, CR
Powered by blists - more mailing lists