Zen workaround on ESXi?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
Has anyone here figured out how to set an MSR on an ESXi host?
Counters are fine in the guest, but yeah, fails later on due to the lack of the workaround.
dave@guest-vm1:~$ perf stat -e ex_ret_cond true
Performance counter stats for 'true':
88,982 ex_ret_cond
0.001371434 seconds time elapsed
0.000759000 seconds user
0.000000000 seconds sys
I don't think there's an easy solution as I have a habit of trying to figure this out every few months. (Mostly opening this ticket so I can find where I got stuck when I Google this issue in a few months.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by researching how ESXi exposes MSRs and how the reported perf counter behaves in the guest, then trace the existing Zen workaround in rr; done means documenting or implementing a verified ESXi workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100