Windows Guests

Win7

  • WIN7: do not enable KVM storage cache. Writeback cache slows down everything.

Tuning Guest

Disable Core isolation

Windows Security (PLZabezpieczenia Windows) → Device Security (Zabezpieczenia urządzenia) → Core Isolation details (PL: Szczegóły usługi Izolacja rdzenia)

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 0 /f

Windows 10

  • Change
  • Disable suspending: “Control Panel” –> “Power Options” –> “Show additional plans” –> “High performance”
  • Disable hibernation: powercfg.exe /hibernate off
  • launch “regedit.exe” and:
    • set value of HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon and change “ShutdownWithoutLogon” to 1
    • go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7 and set “Attributes” value to 2
  • then go to “Control Panel” –> “System and Security” –> “Power Options” and then –> “Change plan settings” on choosed power plan –> “Change Advanced Power Settings” –> “Display” and set 'Console lock display off timeout' to 0 to disable it