Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Theo de Raadt <deraadt <at> cvs.openbsd.org>
Subject: Re: taskset for smp
Newsgroups: gmane.os.openbsd.tech
Date: Friday 8th June 2012 02:52:27 UTC (over 4 years ago)
> > Would it be nice if there was a program like taskset which enables you
> > to move processes to other cores?
> 
> No.

Let me be more clear on what Philip is saying by asking some
questions.

Can only root move programs to different processors via this program?

Or can any user move their own or other programs to different processors?

In the first instance, it is useless and unusable.  In the second
instance, please give me an account on an important box so that I can
demonstrate the security impact to you...

The scheduler must try to do the best.  Yes, we know -- the scheduler
does a poor job at the moment...

Never let root try to do a job the operating system should do itself.
Furthermore, never let a user try to do it, either.  Unless you prefer
a system you never let people onto.  And if that is your use case, you
are better off choosing something which has infinite flexibility, and
then disconnecting it from the net.
 
CD: 18ms