CPU Isolation
Andrey V. Elsukov
bu7cher at yandex.ru
Mon Jan 28 12:20:16 UTC 2019
On 22.01.2019 21:29, Mark Saad wrote:
> All
> I am looking to setup a 12-STABLE box in a way that is similar to a
> CentOS server I am running.
> That server is setup using the boot option isocpus, to remove
> cores/cpus from the kernel scheduler at boot. What I want to try on
> 12-STABLE is to set aside some cores to run process and some kernel
> threads that will only always run on a dedicated core with out the
> chance for being preempted / interrupted by something else on that
> core / cpu . What I do not see is a way to evict processes off a
> running cpu post boot or a way to isolate them preboot. Am I missing
> something?
>
After r331723 it is possible to make such separation after boot using
cpuset(8). If you need this a bit early, you need to modify sbin/init.
--
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/20190128/022f30ee/attachment.sig>
More information about the freebsd-hackers
mailing list