CPU Isolation
    Poul-Henning Kamp 
    phk at phk.freebsd.dk
       
    Mon Jan 28 08:34:36 UTC 2019
    
    
  
--------
In message <AC6FACC4-2403-41B7-B7E6-738A692929A2 at FreeBSD.org>, "Babak Farrokhi" writes:
>AFAIK there is no way to do it pre-boot. To do the isolation post-boot your
>best bet is cpuset(1) (with which I could not totally isolate cpu cores
>as dedicated application cores).
The trick is to move /sbin/init to /sbin/init.real and create a
/sbin/init shell script which cpuset's PID=1 then exec's /sbin/init.real
Be aware that the surroundings of that shell script are very sparse.
-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
    
    
More information about the freebsd-hackers
mailing list