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
commit0cbe5604adff2bc386960edbc58f45e35e61bae8 (patch)
treed5b803fffddd5ab201254a40ec8a5138d65b38f7 /tools/guest-diag/guest_pmap_win.py
parentfa31d766d548a0e07426b6d231a42f05c07521a8 (diff)
downloadopen-iov-0cbe5604adff2bc386960edbc58f45e35e61bae8.tar.gz
open-iov-0cbe5604adff2bc386960edbc58f45e35e61bae8.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