Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3121281rwd; Fri, 16 Jun 2023 12:33:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7+UacVSP9Oh5cUEpCfz76wlslYaiN5alfx8lfBTmSeMgxddjf+xX3JppcSHXl59UzppW6s X-Received: by 2002:a05:6a00:198f:b0:657:67be:d1c5 with SMTP id d15-20020a056a00198f00b0065767bed1c5mr3314901pfl.27.1686944026710; Fri, 16 Jun 2023 12:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686944026; cv=none; d=google.com; s=arc-20160816; b=oXSKl5o+ceLLiiSAgA0aUJxlXbs/G8+Gu0dK+iRsyse/OVy/qLhuyrlhfVKPD9CHA+ QryIovT/7qGJFAdC1R01DiZtZB2n7RTFEKe+k7dbBiGwIE2O8z+XISh3ArRL0LWrv11G eYziO4cOYjP/Bs4pMXmyz5BMpSPVH310dBuOqz+YqrAoGBHnTKl/MZyd5Zf9IrF9TePt tuLoMuG/W5BcJKEIPf5BHUki8Hd2TbTssaimXj7ojbp6soVs/coD31tE2MiPwYu0vskQ 56lTwcbjYnS+5KsBsJZZTUapxM8+oTcZmgKrNlfiBepapMfjLlnYQ7ZQVuQBXT4C31y5 ytPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tDssXFzBfTQBf1iQwsSfccJcdCXTNZxoUGwyfZL6uNc=; b=oaWbi95tpyHdJxXi0QqeBnS5cF/F/EwUAok3SFbp4iBksxV1beLt18Cs/XvAA5U8Kb CjmsKhOnmSZqTXpqvLrE4BoeFtTMiQm0jBBapo8aamugPKPii7gaTw3Tr2Ey7/v/pKPQ zdtcDilWkBNHMmknU8/0aWjM5p+ii2YFi52KI/KzcfU9qgN8w9YvXwehot5Cxu9xg/Fd faTVJ37KoUgy+/A/F7ssSkwL3Ek8ujoqv5gYJHqGZUcIcZhLjmi+oo0xzm5Xy7kd760V +X6czM48E/m9pX2YZNQ1X6OxWJUMzi1flGIA+xX79dNJtA3cMIrVL0KxZOdca6c+82Wk 9DrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pjRyPXBj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q10-20020a6557ca000000b0053070cb6da8si4282000pgr.99.2023.06.16.12.33.31; Fri, 16 Jun 2023 12:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pjRyPXBj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345400AbjFPTVw (ORCPT + 99 others); Fri, 16 Jun 2023 15:21:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345460AbjFPTVY (ORCPT ); Fri, 16 Jun 2023 15:21:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 882C7525C; Fri, 16 Jun 2023 12:19:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 17DCE63E91; Fri, 16 Jun 2023 19:17:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00E20C433C0; Fri, 16 Jun 2023 19:17:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686943069; bh=LvC4YT4/e0KgspEdK+7PadxzOaV+ZKDN40FmhrIY1TE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pjRyPXBjPdmD/CCyo3c/TOJEl8Pc/wVwxfP/HY+a9sa6wUtE1ECgVtVOC0x4Dm/EZ /FBoIRXKO64a0/wO29ZO4g1VWHNl4FtGc08wRZkiCOXa9vgfri7swZffPkGk1mlY4s 2bzaL1IeFZdWGH2AtwoG651fSafZC15/aa/H/OTI90JKO07q82eEgVXnqkwvIMkwyx /n8msXEZh2z8+ptNjDMD5vJQRYUOEhjW93jFNuQbPZ9asQRgRXDBuSXDo5EaQsSGQ4 l2v9YABAJtr+MjpYWV0t4y8pIOqxzmot/AkRtdU2KHUxTWA3rIuQEx092Tlf8UZpY4 nRF+N3RE8K5Ww== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] Docs/admin-guide/mm/damon/start: update DAMOS example command Date: Fri, 16 Jun 2023 19:17:37 +0000 Message-Id: <20230616191742.87531-3-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230616191742.87531-1-sj@kernel.org> References: <20230616191742.87531-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DAMON user-space tool, damo, has deprecated[1] its old DAMOS schemes specification format. However, an example of DAMON documentation is still using it. Update the example to use one of the alternative options. [1] https://github.com/awslabs/damo/commit/e9950ae68f6c Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/start.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/start.rst b/Documentation/admin-guide/mm/damon/start.rst index 9f88afc734da..7aa0071ff1c3 100644 --- a/Documentation/admin-guide/mm/damon/start.rst +++ b/Documentation/admin-guide/mm/damon/start.rst @@ -119,9 +119,9 @@ set size has chronologically changed.:: Data Access Pattern Aware Memory Management =========================================== -Below three commands make every memory region of size >=4K that doesn't -accessed for >=60 seconds in your workload to be swapped out. :: +Below command makes every memory region of size >=4K that has not accessed for +>=60 seconds in your workload to be swapped out. :: - $ echo "#min-size max-size min-acc max-acc min-age max-age action" > test_scheme - $ echo "4K max 0 0 60s max pageout" >> test_scheme - $ damo schemes -c test_scheme + $ sudo damo schemes --damos_access_rate 0 0 --damos_sz_region 4K max \ + --damos_age 60s max --damos_action pageout \ + -- 2.25.1