Last active
September 17, 2017 02:26
-
-
Save davidfuzju/ab30cf3b66f15103901b97dd849cea1f to your computer and use it in GitHub Desktop.
set affinity for process memu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ping -n 30 127.0.0.1>nul | |
start "" "D:\Program Files\Microvirt\MEmu\MEmuConsole.exe" "MEmu_1" | |
ping -n 20 127.0.0.1>nul | |
start "" "D:\Program Files\Microvirt\MEmu\MEmuConsole.exe" "MEmu_2" | |
ping -n 20 127.0.0.1>nul | |
start "" "D:\Program Files\Microvirt\MEmu\MEmuConsole.exe" "MEmu_3" | |
ping -n 20 127.0.0.1>nul | |
start "" "D:\Program Files\Microvirt\MEmu\MEmuConsole.exe" "MEmu_4" | |
powershell.exe -Command "$cpu=16; Get-Process MEmu | ForEach-Object { $cpu = $cpu / 2; $_.ProcessorAffinity = $cpu }" | |
powershell.exe -Command "$cpu=16; Get-Process MEmuHeadless | ForEach-Object { $cpu = $cpu / 2; $_.ProcessorAffinity = $cpu }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment