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>] [day] [month] [year] [list]
Message-ID: <TYYP286MB1115E4ABCE9016358CE0029FC5FA9@TYYP286MB1115.JPNP286.PROD.OUTLOOK.COM>
Date:   Wed, 27 Apr 2022 05:32:38 -0400
From:   Xie Yongmei <yongmeixie@...mail.com>
To:     Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org,
        Alexander Viro <viro@...iv.linux.org.uk>,
        linux-fsdevel@...r.kernel.org
Cc:     yongmeixie@...mail.comc, Xie Yongmei <yongmeixie@...mail.com>
Subject: [PATCH 0/3] writeback: support dirty flush parameters per memcg

When analyzing the offline applications in co-location scenario, we
found they consume memory aggressively. Sometimes, they tend to fetch
massive data from the other machine and store them in the local
directory. Offline apps usually generate visible burst pressure upon
memory subsystem, especially the download phase. Because it kept
allocating pages from memory and producing dirty pages against the
global pool and cgroup pool.

How to get rid of dirty pages smoothly is challenge to make the system
as stable as before. So we'd to tune flush behavior per cgroup level.

This patchset only provide per memcg settings. No functional change.

BTW: bdi_writeback is bridge between memcg and blckcg. This patch chooses
to include those parameters in memcg, because dirty pages affect the
efficiency of memory reclaim more intuitively.

Xie Yongmei (3):
  writeback: refine trace event balance_dirty_pages
  writeback: per memcg dirty flush
  writeback: specify writeback period and expire interval per memcg

 fs/fs-writeback.c                |  11 +-
 include/linux/memcontrol.h       |  38 +++++
 include/trace/events/writeback.h |  25 ++--
 init/Kconfig                     |   7 +
 mm/backing-dev.c                 |   4 +-
 mm/memcontrol.c                  | 250 +++++++++++++++++++++++++++++++
 mm/page-writeback.c              |  15 +-
 7 files changed, 331 insertions(+), 19 deletions(-)

-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ