From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0FD6C33C9E for ; Tue, 7 Jan 2020 20:12:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 62CF92080A for ; Tue, 7 Jan 2020 20:12:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=colorremedies-com.20150623.gappssmtp.com header.i=@colorremedies-com.20150623.gappssmtp.com header.b="zfVzzICD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62CF92080A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=colorremedies.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B9A478E003B; Tue, 7 Jan 2020 15:12:32 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B4A988E001E; Tue, 7 Jan 2020 15:12:32 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A60588E003B; Tue, 7 Jan 2020 15:12:32 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0059.hostedemail.com [216.40.44.59]) by kanga.kvack.org (Postfix) with ESMTP id 908E98E001E for ; Tue, 7 Jan 2020 15:12:32 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 29E3D4826 for ; Tue, 7 Jan 2020 20:12:32 +0000 (UTC) X-FDA: 76351935744.13.field98_8a7e15ba7cb03 X-HE-Tag: field98_8a7e15ba7cb03 X-Filterd-Recvd-Size: 3948 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by imf29.hostedemail.com (Postfix) with ESMTP for ; Tue, 7 Jan 2020 20:12:31 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id z3so953811wru.3 for ; Tue, 07 Jan 2020 12:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=colorremedies-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=scWmuV51MzPaZ/5dd+QTYQ1su+cxyZ1p8Ywl9lzrvds=; b=zfVzzICDT1ePi3j4lxyWxJ8m/yGu/TyvCvg1kHDSdjarP3Os0zfNVUKwjVE3VPMFL0 CHJ4h3y6XVKSjHDpaSaQXpa4n/zKXDBq9dggTiU/dIvEagnN7DNLJW1+gXuWzNWWvuxW /3GYfZQ+idIVSdilS8U3bP+Uz2f0CD9rjg5OEVGCzpznXplDrLbgeIv6HiE2fykJvahO wighp32ldraj0PbYtBtxZ5IADmNpE9rmDUSTzgeICNDTkPWfkUPWbAgwDgvrBNAN7pbM KPomjBNryaKTsfsTfotEZ6qDweo1R4v5d3x3lejULkfqV55KKCHDWaeKn3581p86UOsb x4zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=scWmuV51MzPaZ/5dd+QTYQ1su+cxyZ1p8Ywl9lzrvds=; b=c64p3yXZ/S+J2UvjSpq6f1LDjZGO4BprvI7yasXQkqTeowCAbmzJNlNjJDidc0DI1X Vg2I5/MLhT8OD4fiqcci4AmbrSyiPiFziuHNgH+FTUPil5CMl4GvaOhcVdn7WJencGTU rHwYg1xpegtF5DfWmEbIlN3pL1IOCNDefnYJfnKH8mMiN9QOW5W0yRcwxZstVXBeuZ2+ 3mNoMp5stu+HD0V1mXRZl9g4xU7tkyQpO/4lcSb8D0m+Hj5q7fa66AKWU3UCEHE871K6 c0QX7AOyHMkJ+Fubtncv6p84j2jjfhzFFBUX7b8/wT/w3JEExxZ4P5bFzbp5ApEoJmN1 POqA== X-Gm-Message-State: APjAAAVIX8mRR+N0ELGjoWJQDsefJPmQAizosULvo4QwXmxH5kOcH2qH M+C9s3qpOG4BrjslMsxQi7UHWYeEvQGqZBSFTok1yw== X-Google-Smtp-Source: APXvYqxnAQtlv87Vbj5eCqS+HQK1EEBmJ2XDT2ZXKZa9dCmzuxUdGF5CQgXp5ZZNQU76oJi1+5IMzIrpewvRCe2PhAc= X-Received: by 2002:adf:9c8f:: with SMTP id d15mr849296wre.390.1578427950469; Tue, 07 Jan 2020 12:12:30 -0800 (PST) MIME-Version: 1.0 References: <20191231125908.GD6788@bombadil.infradead.org> <20200106115514.GG12699@dhcp22.suse.cz> <20200106232100.GL23195@dread.disaster.area> <20200107115345.GG32178@dhcp22.suse.cz> In-Reply-To: <20200107115345.GG32178@dhcp22.suse.cz> From: Chris Murphy Date: Tue, 7 Jan 2020 13:12:13 -0700 Message-ID: Subject: Re: [Lsf-pc] [LSF/MM TOPIC] Congestion To: Michal Hocko Cc: Chris Murphy , Matthew Wilcox , lsf-pc@lists.linux-foundation.org, Linux FS Devel , linux-mm@kvack.org, Mel Gorman Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Jan 7, 2020 at 4:53 AM Michal Hocko wrote: > > On Tue 07-01-20 01:23:38, Chris Murphy wrote: > > More helpful > > would be, what should distributions be doing better to avoid the > > problem in the first place? User space oom daemons are now popular, > > and there's talk about avoiding swap thrashing and oom by strict use > > of cgroupsv2 and PSI. Some people say, oh yeah duh, just don't make a > > swap device at all, what are you crazy? Then there's swap on ZRAM. And > > alas zswap too. So what's actually recommended to help with this > > problem? > > I believe this will be workload specific and it is always appreciated to > report the behavior as mentioned above. I'll do so in a separate email. But by what mechanism is workload determined or categorized? And how is the system dynamically reconfigured to better handle different workloads? These are general purpose operating systems, of course a user has different workloads from moment to moment. -- Chris Murphy