summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/guest_pmap_win.py
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 14:47:17 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 14:47:17 -0400
commitfdeb1d4ba62283210dc259141da4da024bd1cc77 (patch)
tree830c3b759238d37eeb24d2bde22454f5e70acaa2 /tools/guest-diag/guest_pmap_win.py
parenta83a42df71c235c5f9f8eaeb3b62053a75fe30c7 (diff)
downloadopen-iov-fdeb1d4ba62283210dc259141da4da024bd1cc77.tar.gz
open-iov-fdeb1d4ba62283210dc259141da4da024bd1cc77.zip
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.
Diffstat (limited to 'tools/guest-diag/guest_pmap_win.py')
-rw-r--r--tools/guest-diag/guest_pmap_win.py2
1 files changed, 1 insertions, 1 deletions
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