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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2EFFC433EF for ; Sun, 21 Nov 2021 22:32:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3A37C6B0071; Sun, 21 Nov 2021 17:32:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3541A6B0072; Sun, 21 Nov 2021 17:32:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 21A606B0073; Sun, 21 Nov 2021 17:32:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0036.hostedemail.com [216.40.44.36]) by kanga.kvack.org (Postfix) with ESMTP id 140516B0071 for ; Sun, 21 Nov 2021 17:32:28 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id AE88518499ABB for ; Sun, 21 Nov 2021 22:32:17 +0000 (UTC) X-FDA: 78834387114.08.3EA2717 Received: from vulcan.natalenko.name (vulcan.natalenko.name [104.207.131.136]) by imf27.hostedemail.com (Postfix) with ESMTP id EB83870000A2 for ; Sun, 21 Nov 2021 22:32:14 +0000 (UTC) Received: from spock.localnet (unknown [151.237.229.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id A43F8CABF2F; Sun, 21 Nov 2021 23:32:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1637533934; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pCrlPvC0WGxM7eYrtDYCXvvxIBvtiK/+MSRZDk4ICxA=; b=DmsUaWr3xqSoMPQP+NTwYBGIFGrJN8oNwka1rXGb/ILx41IXaSe7oWUnydPj32im4jeqwB 4sNmSyLpXEe0yKU+uXmSHgBMh6WZGQqnEQSbt0HnIJkjxQ68SNSQtqVOlGQAWeLEBQC+Eg gn+qwDfJ9/RkLZKkJ25BmMmx8tdv59I= From: Oleksandr Natalenko To: akpm@linux-foundation.org, SeongJae Park , Jonathan.Cameron@huawei.com Cc: amit@kernel.org, benh@kernel.crashing.org, corbet@lwn.net, david@redhat.com, dwmw@amazon.com, elver@google.com, foersleo@amazon.de, gthelen@google.com, markubo@amazon.de, rientjes@google.com, shakeelb@google.com, shuah@kernel.org, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/15] Introduce DAMON-based Proactive Reclamation Date: Sun, 21 Nov 2021 23:32:12 +0100 Message-ID: <11868371.O9o76ZdvQC@natalenko.name> In-Reply-To: <20211019150731.16699-1-sj@kernel.org> References: <20211019150731.16699-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: 4kenzzw7x1iu3rxyxdob8zn51gz5m1f7 Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=natalenko.name header.s=dkim-20170712 header.b=DmsUaWr3; dmarc=pass (policy=reject) header.from=natalenko.name; spf=pass (imf27.hostedemail.com: domain of oleksandr@natalenko.name designates 104.207.131.136 as permitted sender) smtp.mailfrom=oleksandr@natalenko.name X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: EB83870000A2 X-HE-Tag: 1637533934-177192 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: Hello. On =C3=BAter=C3=BD 19. =C5=99=C3=ADjna 2021 17:07:16 CET SeongJae Park wrot= e: > In short, DAMON_RECLAIM with 50ms/s time quota and regions prioritization= on > v5.15-rc5 Linux kernel with ZRAM swap device achieves 38.58% memory saving > with only 1.94% runtime overhead. For this, DAMON_RECLAIM consumes only > 4.97% of single CPU time. While it really consumes little CPU time, is it fine for `kdamond.0` to be = in a=20 D (uninterruptible sleep) state all the time while active, pushing loadavg= =20 over 1.0? Thanks. =2D-=20 Oleksandr Natalenko (post-factum)