From owner-freebsd-hackers@freebsd.org Mon Jan 28 08:24:26 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B340A14AB261 for ; Mon, 28 Jan 2019 08:24:26 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2756D77B23; Mon, 28 Jan 2019 08:24:26 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from [192.168.202.173] (095-097-247-129.static.chello.nl [95.97.247.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: farrokhi) by smtp.freebsd.org (Postfix) with ESMTPSA id 8256D338F; Mon, 28 Jan 2019 08:24:25 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) From: "Babak Farrokhi" To: "Mark Saad" Cc: "FreeBSD Hackers" Subject: Re: CPU Isolation Date: Mon, 28 Jan 2019 09:24:20 +0100 X-Mailer: MailMate (1.12.4r5594) Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_MailMate_B7D54A7F-232F-420C-88B2-E4C3D7C8F327_="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 2756D77B23 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.88 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.88)[-0.882,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2019 08:24:27 -0000 This is an OpenPGP/MIME signed message (RFC 3156 and 4880). --=_MailMate_B7D54A7F-232F-420C-88B2-E4C3D7C8F327_= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable AFAIK there is no way to do it pre-boot. To do the isolation post-boot yo= ur best bet is cpuset(1) (with which I could not totally isolate cpu core= s as dedicated application cores). On 22 Jan 2019, at 19: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? > > -- = > mark saad | nonesuch@longcount.org > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" --=_MailMate_B7D54A7F-232F-420C-88B2-E4C3D7C8F327_= Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQKTBAEBCAB9FiEE8IFfiGG/LeryYenBayZ62F1jLpoFAlxOvDRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw ODE1Rjg4NjFCRjJERUFGMjYxRTlDMTZCMjY3QUQ4NUQ2MzJFOUEACgkQayZ62F1j LpqkxhAAkKizxi6WNfxqTb4TztF9ospd99PtyYYnuLv0BgWXkFeJX5FDj4uLli3y ZYXjBpdo74cHWteNjufYtslUPktnDn0Ww9aNFSjbOn/3yFmkrBhOoJY3Y6BmKIUe BECNoJocuZCCmhgDCslNp6Gf3geEyF956NsEzlD1lF1+Ct8MRheq9rhMMBtCuleo 6031Xh5escWHudff3CU1sOYmhERMVfwLt9LvjYZXfuLCVPiSSAguSeDtbPqjspO6 ZeBSfeS1LsRJ5SdeIVwSpPte02w9/fO0/kave/gM6Ew02tNR2FQ7DaDFGkEzxyS/ uVQBCsOOJgqkMK+60qzhmFpy4MLWTpDNUniFLbTnKbkTQBvPH4j+osKp2Pzt3A84 8wZ2IyjdnUTTYz46zoJroGpCKfSpsV21VkmYPoJHoqd0ieEzk+upkjXYYWk3vEvT odwJKhC3AfMxf3DCnTlfWQruAdOjC7rvzYR/a3JvNmVpftXwcobd5mLsX07t8LRW 0m79RaL8AkXG5sYUzdzfzT8bBNXYKJSMxZWqtrvMW7azV0pguu5yiV1O6RqHL1Dq nWNo5Qo0HO3K4u+x+6gm/jusCyOYM3iGTkUycfL5XKsFCKqVYCyq+pPGGeT90RMX H+flHxW03f4ZpNNaW/IxDffjyK/VTDwD/utcYB35mJaV6viCkEQ= =k/A6 -----END PGP SIGNATURE----- --=_MailMate_B7D54A7F-232F-420C-88B2-E4C3D7C8F327_=--