From fdeb1d4ba62283210dc259141da4da024bd1cc77 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Tue, 29 Sep 2026 14:47:17 -0400 Subject: guest-diag: cheaper trace read, optional push sampler, bigger pagemap batches Under load the semfix poll grepped the whole (growing) trace file and the track_waits push block spawned three guest processes per sample, both of which slowed the pin path into the client's failure window. The trace read now tails 128 KB; track_waits.sh gates the push dump behind PUSH=0; the pagemap helper reads 32 KB chunks. --- tools/guest-diag/guest_pmap_win.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/guest-diag/guest_pmap_win.py') diff --git a/tools/guest-diag/guest_pmap_win.py b/tools/guest-diag/guest_pmap_win.py index f6ca85c..501e7bc 100644 --- a/tools/guest-diag/guest_pmap_win.py +++ b/tools/guest-diag/guest_pmap_win.py @@ -16,7 +16,7 @@ hi = int(sys.argv[3], 16) maxp = int(sys.argv[4]) if len(sys.argv) > 4 else 20000 pa_max = int(sys.argv[5], 16) if len(sys.argv) > 5 else 0 -BATCH = 512 +BATCH = 4096 out = [] run_va = run_pa = None run_n = 0 -- cgit v1.2.3