... | ... | @@ -17,7 +17,7 @@ We can update the Linux boot cmdline options by updating the grub configuration. |
|
|
$ sudo vim /etc/default/grub
|
|
|
```
|
|
|
|
|
|
Uncomment or add the line (example for 8 cores):
|
|
|
Uncomment or add the line below (example for 8 cores/models). The list is inclusive so cores 2,3,4,5,6,7 are going to be isolated. If you are only going to run a couple models, you can isolate fewer cores to save resources for other userspace processes. ***You must isolate one core for each model you want to run simultaneously***.
|
|
|
```
|
|
|
GRUB_CMDLINE_LINUX="isolcpus=2-7"
|
|
|
```
|
... | ... | |