CPU Isolation
Andrey V. Elsukov
bu7cher at yandex.ru
Mon Jan 28 21:11:20 UTC 2019
On 29.01.2019 00:01, Andrey V. Elsukov wrote:
> As r331723 says, now kernel threads belong to cpuset #2, all other
> processes belong to cpuset 1. So, you can try to use commands:
> Limit all userlevel application to use only CPU cores 0-4:
> # cpuset -s 1 -l 0-4
> Limit kernel level threads to use CPU only CPU cores 0-4:
> # cpuset -s 2 -l 0-4
> and then dedicate CPUs 5-7 for your application with pid PID
> # cpuset -l 5-7 -p PID
Sorry, you need to create new set for your application, then you will be
able to move it to CPU cores 5-7:
# cpuset -C -l 5-7 -p PID
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20190129/71b6b5f1/attachment.sig>
More information about the freebsd-hackers
mailing list