Installing "perfctr" driver (performance counters)

Discussions about using Linux guests in VirtualBox.
Post Reply
fklatt
Posts: 2
Joined: 13. Sep 2010, 21:44
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: ubuntu 10.04

Installing "perfctr" driver (performance counters)

Post by fklatt »

Hi,
It seems the "perfctr" driver running under a Linux Guest are blocked by Virtual Box (uses the RDMSR/WRMSR instructions (intel). Has anybody been successful in patching VirtualBox to be compatible with the perctr driver for a Linux Guest?
Best Regards, Fred
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Installing "perfctr" driver (performance counters)

Post by Perryg »

AFAIK VirtualBox provides a virtual CPU to the guest so I don't know if this will work at all. Even the 64-bit version with VT-x/AMD-v is limited in regard to direct communications with the CPU.
fklatt
Posts: 2
Joined: 13. Sep 2010, 21:44
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: ubuntu 10.04

Re: Installing "perfctr" driver (performance counters)

Post by fklatt »

Thank you for your quick response. Not knowing too much about the internals of VB, I am wondering if the Execution Manager (EM), perhaps through the Patch Manager, can be modified to accept performance counter access?
Post Reply