lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211210150016.35349-1-sj@kernel.org>
Date:   Fri, 10 Dec 2021 15:00:10 +0000
From:   SeongJae Park <sj@...nel.org>
To:     akpm@...ux-foundation.org
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        SeongJae Park <sj@...nel.org>
Subject: [PATCH 0/6] mm/damon/schemes: Extend stats for better online analysis and tuning

To help online access pattern analysis and tuning of DAMON-based
Operation Schemes (DAMOS), DAMOS provides simple statistics for each
scheme.  Introduction of DAMOS time/space quota further made the tuning
easier by making the risk management easier.  However, that also made
understanding of the working schemes a little bit more difficult.

For an example, progress of a given scheme can now be throttled by not
only the aggressiveness of the target access pattern, but also the
time/space quotas.  So, when a scheme is showing unexpectedly slow
progress, it's difficult to know by what the progress of the scheme is
throttled, with currently provided statistics.

This patchset extends the statistics to contain some metrics that can be
helpful for such online schemes analysis and tuning (patches 1-2),
exports those to users (patches 3 and 5), and add documents (patches 4
and 6).

SeongJae Park (6):
  mm/damon/schemes: Account scheme actions that successfully applied
  mm/damon/schemes: Account how many times quota limit has exceeded
  mm/damon/reclaim: Provide reclamation statistics
  Docs/admin-guide/mm/damon/reclaim: Document statistics parameters
  mm/damon/dbgfs: Support all DAMOS stats
  Docs/admin-guide/mm/damon/usage: Update for schemes statistics

 .../admin-guide/mm/damon/reclaim.rst          | 25 ++++++++++
 Documentation/admin-guide/mm/damon/usage.rst  |  9 ++--
 include/linux/damon.h                         | 30 +++++++++---
 mm/damon/core.c                               | 15 ++++--
 mm/damon/dbgfs.c                              |  6 ++-
 mm/damon/paddr.c                              | 13 +++---
 mm/damon/reclaim.c                            | 46 +++++++++++++++++++
 mm/damon/vaddr.c                              | 30 ++++++------
 8 files changed, 136 insertions(+), 38 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ