https://bugs.winehq.org/show_bug.cgi?id=45208
Serge V Shistarev madlynxed@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madlynxed@gmail.com
--- Comment #34 from Serge V Shistarev madlynxed@gmail.com --- I find out two simple workarounds to install Office.
Slow: Use cpulimit command to limit cpu cycles for setup.exe process (smth like cpulimit -l 10 -p <setup.exe_pid>
-OR-
More sophisticated, but much faster: while setup is installing office disable all cpu cores, except cpu0, run empty cycle with nice level -20 (highest priority), wait until setup finished (or last step, when setup says that it sets up updates), roll everything back.
Script:
cpus() { for i in $(seq $(cat /sys/devices/system/cpu/present | tr "-" " ")); do \ [ $i = 0 ] && continue; echo $1 | tee /sys/devices/system/cpu/cpu$i/online; \ done; }; cpus 0; echo "Press any key to stop CPU stress"; tty=$(stty --save); \ stty -icanon -icrnl time 0 min 0; nice -n -20 sh -c \ 'while [ -z "$(cat -v)" ]; do :; done'; stty $tty; cpus 1
Tested on Ryzen 3700X, Core i7-7700HQ