Re: HELP: How to get started with CopperSpice?
Posted: Fri Nov 08 2019 10:30 am
If you are annoyed by a high cpu load or io-bandwidth consumption by mscv compilation, causing your system to be unresponsive, you can do this:
If you add this to the registry:
```
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cl.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cl.exe\PerfOptions]
"CpuPriorityClass"=dword:00000005
"IoPriority"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\link.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\link.exe\PerfOptions]
"CpuPriorityClass"=dword:00000005
"IoPriority"=dword:00000001
```
all compilation processes will be 'below normal' priority, which keeps you machine responsive, even under heavy compilation loads.
Also, if you want to tone it down even more, go to Options->Projects and Solutions->Build and Run
and set the maximum number of parallel project builds to a lower number, for example 2 instead of 8.
This does slow down the build, but in practice that might be better then having an unresponsive system.
If you add this to the registry:
```
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cl.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cl.exe\PerfOptions]
"CpuPriorityClass"=dword:00000005
"IoPriority"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\link.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\link.exe\PerfOptions]
"CpuPriorityClass"=dword:00000005
"IoPriority"=dword:00000001
```
all compilation processes will be 'below normal' priority, which keeps you machine responsive, even under heavy compilation loads.
Also, if you want to tone it down even more, go to Options->Projects and Solutions->Build and Run
and set the maximum number of parallel project builds to a lower number, for example 2 instead of 8.
This does slow down the build, but in practice that might be better then having an unresponsive system.