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

rr running under a VM #3892

Open
navinp0304 opened this issue Dec 26, 2024 · 0 comments
Open

rr running under a VM #3892

navinp0304 opened this issue Dec 26, 2024 · 0 comments

Comments

@navinp0304
Copy link

navinp0304 commented Dec 26, 2024

Hi,
i've 2 linux ubuntu 24 vms under Vmware hypervisor and another running on WSL2. Unfortunately Vmware hypervisor workaround for PMU passthrough is not enabled by admin due to performance reasons and security concerns. Currently don't have a KVM vm with PMU enabled.
When i run under WSL2 on my laptop rr doesn't run. So i tried to comment out all the ASSERT and enable something like #2815 (comment) . But it failed and didn't work like when you replay it says remote connection closed.

So i have 2 questions:

  1. Since when you run under VM like many cloud providers or Vmware where the settings of hypervisor/vmx can't be changed. What all changes are required in rr to support software counters when hardware is not present like PERF_COUNT_SW_CPU_CLOCK . Can we not work with SW clocks and events . This may require host kernel exposing new counters in /proc , /sys, /dev and being passed to guest kernel.

  2. Is it really possible or worth exploring the software path ? If possible do we have any wiki that describes how to achieve that .

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