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=-5.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 F0513C3F2CE for ; Wed, 4 Mar 2020 17:10:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B5ED022B48 for ; Wed, 4 Mar 2020 17:10:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ioqv49nh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5ED022B48 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 60A6A6B0005; Wed, 4 Mar 2020 12:10:54 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5BD4C6B0007; Wed, 4 Mar 2020 12:10:54 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4859C6B0008; Wed, 4 Mar 2020 12:10:54 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0106.hostedemail.com [216.40.44.106]) by kanga.kvack.org (Postfix) with ESMTP id 2FEEA6B0005 for ; Wed, 4 Mar 2020 12:10:54 -0500 (EST) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id DFF414408 for ; Wed, 4 Mar 2020 17:10:53 +0000 (UTC) X-FDA: 76558319586.26.bun94_7c3161dd42e13 X-HE-Tag: bun94_7c3161dd42e13 X-Filterd-Recvd-Size: 3599 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Wed, 4 Mar 2020 17:10:53 +0000 (UTC) Received: by mail-qk1-f170.google.com with SMTP id m9so2364769qke.4 for ; Wed, 04 Mar 2020 09:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uJ4VaOT8ap7MxQeWLu8CCH/zVyGcddyQFtuX8XLS83o=; b=Ioqv49nh9KevXjhnxkj76lUa5agqAyWoNdQwNoK3ELZT0L51uwZ2B7Syx0TwAkE+Mz mcKI8Aahv7+UWuWm7XN0bBc651JpTVnSxqYKq2gK47zVeuiuzSA2GqRCPXTnSMS02jsw dfLgm2hx5jBnCGeOttvdzZm+zgH0t4DKxQa5UrEZD9ppjI0zUySfFvz0iseRDyx2xH4b fSfALl7/Q0czeWPCqjd2ygT2o2l+JUMyrwrFdQaWErJKL9GIw/Foltu/S8HJVLHE26+H qJ5hjmDhcqUSz+IcL80NJya72/F5sUobdUZzc1vMFsWpsym1bL41Y4G9uzoONJxREw86 xsug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=uJ4VaOT8ap7MxQeWLu8CCH/zVyGcddyQFtuX8XLS83o=; b=WfYBZMlCQqYh3DZLe1UbxDVDprTnV7yFz7fzj7UNqID93vZLSzFoezwVD0/DNwnlWH F1r8kEK4dB5whpLHiEoVltbs30L60vSwffgC1+UcrTGtZh3W0+hsse2Cq7pD7VcDwXRF Vu71V4hEworFxyYg5urKvsj0QOnD59lJzyu2bRi0zo3xeYdMm3wcBurc3NcTZySwfT3I tO4juJomYhLbUFyViZEnrzrlT5czX3YiQg7flbtN7fZ25feRRPhy+LRZt/12n0Wsu4D6 qOm3emxFrFRUZzgunw0XJEojMaySIyanxwdb5nsyrmBtcEKgWPd5bKeQ1cRxKm2njU5+ loEA== X-Gm-Message-State: ANhLgQ2ILY3v/iN03ncv17O+A8EG+7i+h3vbYlg9UDDTtS7Gh3Ifr2BQ y5EuQvARB2tXdaNY8UnDytM= X-Google-Smtp-Source: ADFU+vv9JbF625u+JiDGSAXqTbGGUB8R60fIVB07qaki79GauoZyU/1bSnWVQFVD5RBHGvSz6Av44A== X-Received: by 2002:ae9:ef06:: with SMTP id d6mr3995508qkg.442.1583341852743; Wed, 04 Mar 2020 09:10:52 -0800 (PST) Received: from localhost ([2620:10d:c091:480::1:16fa]) by smtp.gmail.com with ESMTPSA id n38sm11718564qtf.36.2020.03.04.09.10.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 09:10:52 -0800 (PST) Date: Wed, 4 Mar 2020 12:10:51 -0500 From: Tejun Heo To: Jonathan Corbet Cc: Benjamin Berg , cgroups@vger.kernel.org, linux-mm@kvack.org, Johannes Weiner Subject: Re: Memory reclaim protection and cgroup nesting (desktop use) Message-ID: <20200304171051.GK189690@mtj.thefacebook.com> References: <20200304163044.GF189690@mtj.thefacebook.com> <20200304100231.2213a982@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200304100231.2213a982@lwn.net> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Mar 04, 2020 at 10:02:31AM -0700, Jonathan Corbet wrote: > On Wed, 4 Mar 2020 11:30:44 -0500 > Tejun Heo wrote: > > > > (In a realistic scenario I expect to have swap and then reserving maybe > > > a few hundred MiB; DAMON might help with finding good values.) > > > > What's DAMON? > > https://lwn.net/Articles/812707/ Ah, thanks a lot for the link. That's neat. For determining workload size, we're using senpai: https://github.com/facebookincubator/senpai Thanks. -- tejun