public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cyclictest: fix growing shm stat file
@ 2026-03-01 21:24 Lukas Beckmann
  2026-03-01 21:24 ` [PATCH 1/2] " Lukas Beckmann
  2026-03-01 21:24 ` [PATCH 2/2] cyclictest: simplify rstat_setup Lukas Beckmann
  0 siblings, 2 replies; 8+ messages in thread
From: Lukas Beckmann @ 2026-03-01 21:24 UTC (permalink / raw)
  To: John Kacur; +Cc: rt-users, Lukas Beckmann

I recently started using cyclictests with get_cyclictest_snapshot and
noticed that the shm stat files grows indefinitely.

Example:
for i in {1..10}; do
  killall -USR2 cyclictest
  sleep 0.01
  ls -lh /dev/shm/cyclictest* | awk '{print "Size: " $5}'
done
Size: 1,4K
Size: 2,8K
Size: 4,1K
Size: 5,5K
Size: 6,8K
Size: 8,2K
Size: 9,5K
Size: 11K
Size: 13K
Size: 14K
   
Signed-off-by: Lukas Beckmann <lbckmnn@mailbox.org>

Lukas Beckmann (2):
  cyclictest: fix growing shm stat file
  cyclictest: simplify rstat_setup

 src/cyclictest/cyclictest.c | 90 ++++++-------------------------------
 1 file changed, 14 insertions(+), 76 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-03-10 16:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-01 21:24 [PATCH 0/2] cyclictest: fix growing shm stat file Lukas Beckmann
2026-03-01 21:24 ` [PATCH 1/2] " Lukas Beckmann
2026-03-09 22:54   ` John Kacur
2026-03-01 21:24 ` [PATCH 2/2] cyclictest: simplify rstat_setup Lukas Beckmann
2026-03-09 22:55   ` John Kacur
2026-03-10 13:30     ` Crystal Wood
2026-03-10 16:18       ` John Kacur
2026-03-10 16:57         ` Crystal Wood

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