summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/pin_gr_stream.py
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-31 02:04:46 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-31 02:04:46 -0400
commit5620ed076c87be100be87432c6d5b3035a46ed6f (patch)
tree1c0b88ddd10388325395057c9aa680ad8ef3b16c /tools/guest-diag/pin_gr_stream.py
parentc8efdb1e22012d8168b15fd137887a1e5706fa1f (diff)
downloadopen-iov-5620ed076c87be100be87432c6d5b3035a46ed6f.tar.gz
open-iov-5620ed076c87be100be87432c6d5b3035a46ed6f.zip
vgsp+diag: resolver GL pushbuffer families (0x4000000/0x42000000 learn-once byte-exact, raw-tail newest-first scan), setup-hold demand cap 0x8000->0x10000 (60216B push=16 pages), pin_gr_stream harvest 2MB - r1089 target reached: setup push readable (unreadable=0), MME prelude captured words=511; beef context still tears down (submissions=0); demand races dmesg ring (manual demand fixed r1090); host / was 100%, freed ~6G - SESSION 153 r1088-r1090
Diffstat (limited to 'tools/guest-diag/pin_gr_stream.py')
-rw-r--r--tools/guest-diag/pin_gr_stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/guest-diag/pin_gr_stream.py b/tools/guest-diag/pin_gr_stream.py
index 0bd6759..e224988 100644
--- a/tools/guest-diag/pin_gr_stream.py
+++ b/tools/guest-diag/pin_gr_stream.py
@@ -258,7 +258,7 @@ def _demand_loop():
# cannot, the guest content resolver is the last source -
# harvest the VA so it resolves and injects the real page.
r"|sema-pushzero: h=0x[0-9a-f]+ va=(0x[0-9a-f]+)",
- (r.stdout or "")[-200000:]):
+ (r.stdout or "")[-2000000:]):
va = int(m.group(1) or m.group(2) or m.group(3), 16)
track.setdefault(va, [now, 0.0])
# SESSION 153-CONTINUED-51: the pushzero line now carries the
@@ -268,7 +268,7 @@ def _demand_loop():
# whole push at once (bulk demand instead of one page per cycle).
for m in re.finditer(
r"sema-pushzero: h=0x[0-9a-f]+ va=(0x[0-9a-f]+) len=(\d+)",
- (r.stdout or "")[-200000:]):
+ (r.stdout or "")[-2000000:]):
zva = int(m.group(1), 16)
zlen = int(m.group(2))
for zoff in range(0, min(zlen, 0x8000), 0x1000):