Date: Mon, 28 Jan 2019 15:16:49 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Mark Saad <nonesuch@longcount.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: CPU Isolation Message-ID: <0e842838-e7d0-1b86-e27e-8d1562e70aee@yandex.ru> In-Reply-To: <CAMXt9NbKwZAwv%2BWJ4yqmeMFmX38n=qjUqJSq4kOq2qdNSVEhHg@mail.gmail.com> References: <CAMXt9NbKwZAwv%2BWJ4yqmeMFmX38n=qjUqJSq4kOq2qdNSVEhHg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --n1dsZjHoErZsGcMnWjuLjoEBRHUEQgIBG Content-Type: multipart/mixed; boundary="F2gXP0dA6UoPVGIH3Uk1bFYMwwWbkACYw"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Mark Saad <nonesuch@longcount.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Message-ID: <0e842838-e7d0-1b86-e27e-8d1562e70aee@yandex.ru> Subject: Re: CPU Isolation References: <CAMXt9NbKwZAwv+WJ4yqmeMFmX38n=qjUqJSq4kOq2qdNSVEhHg@mail.gmail.com> In-Reply-To: <CAMXt9NbKwZAwv+WJ4yqmeMFmX38n=qjUqJSq4kOq2qdNSVEhHg@mail.gmail.com> --F2gXP0dA6UoPVGIH3Uk1bFYMwwWbkACYw Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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? >=20 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. --=20 WBR, Andrey V. Elsukov --F2gXP0dA6UoPVGIH3Uk1bFYMwwWbkACYw-- --n1dsZjHoErZsGcMnWjuLjoEBRHUEQgIBG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlxO8rUACgkQAcXqBBDI oXrUmwf+PNpNxaqaxlfS3Xv02p+TimpKZIAUes9qcbovqsvwD9u9WWLF6AoDdbZJ iH5OmIHAQ+8iGvsZdqvW24pvnVRL0m+aTiQHO+6MSS3UnIXL0l91SuJLpWT5Y5D5 UvVVgo6duYR4tPuR7fW7AtVSE+AI7hZOElxOdNUpx1ZBmwc7TijQUBxoLTbx4rjh ANxueth/hOBTYPzShOyOOHJCPwDEfzbDmGHnrxh+3AZ17dvC3Daz2vhX85l9Zbr5 +z/zFS/EIHhacoK+g2PNxpOWm0SZoPpCGY09vKjibMZ9qlo1M8g3yeCtXzpOpWK6 Y1RObnfpCIhUJhladTfpWwnvajSLkg== =INDL -----END PGP SIGNATURE----- --n1dsZjHoErZsGcMnWjuLjoEBRHUEQgIBG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0e842838-e7d0-1b86-e27e-8d1562e70aee>