tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Processor sets, affinity, real-time extensions



jnemeth%victoria.tc.ca@localhost (John Nemeth) wrote:
>      Does schedctl(1) allow you to set affinity for a process?

Yes, both for the processes and threads. See the code.

>      Also, will there be a way to forcibly remove all processes from a
> processor regardless of affinity and cease scheduling any processes on
> it?  I'm thinking this would be useful if you discover there is some
> kind of problem with the processor or you want to physically remove the
> processor from the machine.

Processor-sets are designed for that.
cpuctl(8) disables running of user-threads completely.

-- 
Best regards,
Mindaugas
www.NetBSD.org




Home | Main Index | Thread Index | Old Index