From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by kanga.kvack.org (Postfix) with ESMTP id 466386B0005 for ; Fri, 2 Nov 2018 09:51:12 -0400 (EDT) Received: by mail-wr1-f70.google.com with SMTP id j90-v6so1483998wrj.20 for ; Fri, 02 Nov 2018 06:51:12 -0700 (PDT) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id r17sor12189490wrx.38.2018.11.02.06.51.10 for (Google Transport Security); Fri, 02 Nov 2018 06:51:10 -0700 (PDT) MIME-Version: 1.0 References: <98305976-612f-cf6d-1377-2f9f045710a9@suse.cz> <20181031170108.GR32673@dhcp22.suse.cz> <20181101132307.GJ23921@dhcp22.suse.cz> <20181102080513.GB5564@dhcp22.suse.cz> <20181102114341.GB28039@dhcp22.suse.cz> <63091aac-0caa-6740-1c91-cbc420612d74@suse.cz> In-Reply-To: <63091aac-0caa-6740-1c91-cbc420612d74@suse.cz> From: Marinko Catovic Date: Fri, 2 Nov 2018 14:50:57 +0100 Message-ID: Subject: Re: Caching/buffers become useless after some time Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Vlastimil Babka Cc: Michal Hocko , linux-mm@kvack.org, Christopher Lameter Am Fr., 2. Nov. 2018 um 14:13 Uhr schrieb Vlastimil Babka : > > On 11/2/18 1:41 PM, Marinko Catovic wrote: > >>>> any idea how to find out what that might be? I'd really have no idea, > >>>> I also wonder why this never was an issue with 3.x > >>>> find uses regex patterns, that's the only thing that may be unusual. > >>> > >>> The allocation tracepoint has the stack trace so that might help. This > >> > >> Well we already checked the mm_page_alloc traces and it seemed that only > >> THP allocations could be the culprit. But apparently defrag=defer made > >> no difference. I would still recommend it so we can see the effects on > >> the traces. And adding tracepoints > >> compaction/mm_compaction_try_to_compact_pages and > >> compaction/mm_compaction_suitable as I suggested should show which > >> high-order allocations actually invoke the compaction. > > > > Anything in particular I should do to figure this out? > > Setup the same monitoring as before, but with two additional tracepoints > (echo 1 > .../enable) and once the problem appears, provide the tracing > output. I think I'll need more details about that setup :) also, do you want the tracing output every 5sec or just once when it is around the worst case? what files exactly?