Opened 5 years ago
#19841 new defect
WarpDrive doesn't work on VirtualBox 6.x anymore
Reported by: | gim | Owned by: | |
---|---|---|---|
Component: | VMM | Version: | VirtualBox 6.1.10 |
Keywords: | warpdrive, tm | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description
So in VirtualBox 5.x warp drive was working fine. When you make:
VBoxManage setextradata VM-name "VBoxInternal/TM/WarpDrivePercentage" 200
the time inside VM was going faster. But in VirtualBox 6.x it doesn't work at all...
This happens because of this change:
rc = CFGMR3QueryU32(pCfgHandle, "TimerMillies", &u32Millies); if (rc == VERR_CFGM_VALUE_NOT_FOUND) u32Millies = VM_IS_HM_ENABLED(pVM) ? 1000 : 10;
In 5.x default value of TimerMillies was 10 ms always (not 1 sec). But it is not the root of the problem. The root lies near semaphore timeout calculation which trigger return from HLT. When WarpDrive is enabled this semaphore timeout calculated in wrong way.
Note:
See TracTickets
for help on using tickets.