linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 v2] memcg: tracepoint for flushing stats
@ 2024-10-26  0:48 JP Kobryn
  2024-10-26  0:48 ` [PATCH 1/2 v2] memcg: add memcg flush tracepoint event JP Kobryn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: JP Kobryn @ 2024-10-26  0:48 UTC (permalink / raw)
  To: shakeel.butt, hannes, yosryahmed, akpm, rostedt; +Cc: linux-mm, cgroups

This tracepoint gives visibility on how often the flushing of memcg stats
occurs and contains info on whether it was forced, skipped, and the value
of stats updated. It can help with understanding how readers are affected
by having to perform the flush, and the effectiveness of the flush by
inspecting the number of stats updated. Paired with the recently added
tracepoints for tracing rstat updates, it can also help show correlation
where stats exceed thresholds frequently.

JP Kobryn (2):
  add memcg flush tracepoint event
  use memcg flush tracepoint

 include/trace/events/memcg.h | 25 +++++++++++++++++++++++++
 mm/memcontrol.c              | 22 +++++++++++++---------
 2 files changed, 38 insertions(+), 9 deletions(-)

-- 
2.47.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-26  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-26  0:48 [PATCH 0/2 v2] memcg: tracepoint for flushing stats JP Kobryn
2024-10-26  0:48 ` [PATCH 1/2 v2] memcg: add memcg flush tracepoint event JP Kobryn
2024-10-26  0:48 ` [PATCH 2/2 v2] memcg: use memcg flush tracepoint JP Kobryn
2024-10-26  6:36 ` [PATCH 0/2 v2] memcg: tracepoint for flushing stats Yosry Ahmed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox