diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-29 14:52:41 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-29 14:52:41 -0400 |
| commit | c07584101ebd7a8cdabbd463a093ae53756b4c4b (patch) | |
| tree | e0ebf0050f53462b08866c87d0210379412d0e34 /tools/guest-diag/push_guest_tools.sh | |
| parent | 0cbe5604adff2bc386960edbc58f45e35e61bae8 (diff) | |
| download | open-iov-c07584101ebd7a8cdabbd463a093ae53756b4c4b.tar.gz open-iov-c07584101ebd7a8cdabbd463a093ae53756b4c4b.zip | |
guest-diag: vsock pin stream (guest pagemap -> host sema_map_add)
The guest-agent exec path is too slow under driver-init load (a 15k-page
window scan took 17-35 s to complete), so GR window pins landed after the
channels' entries had been consumed and after the client's cuCtxCreate
timeout. The guest now scans /proc/<pid>/pagemap locally and streams only
delta runs over vsock (no agent on the hot path); the host listener pins
them as they arrive. The scanner writes a pidfile so restarts do not kill
the new instance.
Diffstat (limited to 'tools/guest-diag/push_guest_tools.sh')
| -rwxr-xr-x | tools/guest-diag/push_guest_tools.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/guest-diag/push_guest_tools.sh b/tools/guest-diag/push_guest_tools.sh index 34866d2..5e331e5 100755 --- a/tools/guest-diag/push_guest_tools.sh +++ b/tools/guest-diag/push_guest_tools.sh @@ -34,6 +34,7 @@ push_b64 "$HERE/sem_slots.py" /tmp/sem_slots.py push_b64 "$HERE/read_va.py" /tmp/read_va.py push_b64 "$HERE/guest_pmap.py" /tmp/guest_pmap.py push_b64 "$HERE/guest_pmap_win.py" /tmp/guest_pmap_win.py +push_b64 "$HERE/guest_pin_stream.py" /tmp/guest_pin_stream.py push_b64 "$HERE/track_waits.sh" /tmp/track_waits.sh push_b64 "$HERE/guest_kprobes.sh" /tmp/kprobes.sh |
