Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svtrace only work when vhost-net is used #3

Open
ycongal-smile opened this issue Oct 11, 2024 · 0 comments
Open

svtrace only work when vhost-net is used #3

ycongal-smile opened this issue Oct 11, 2024 · 0 comments

Comments

@ycongal-smile
Copy link
Contributor

Because of https://github.com/seapath/svtrace/blob/main/svtracing/svtrace.py#L75C21-L75C28:

vhost_pid = get_pid("vhost")

svtrace only work when there is a vhost process on the hypervisor. i.e when the VM are linked to the physical network using vhost. One interesting usage of svtrace would be to compare the different ways to connect VMs : XDP, DPDK, bridges, SR-IOV, ...

One way to handle this would to gracefully handle (i.e not crash) cases where samples can't be timed and handle the missing data in the subsequent data processing (e.g, can't compute intermediate timing but only the end-to-end timing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant