[CentOS] CentOS 7, container question

Mon May 23 17:46:22 UTC 2016
Jonathan Billings <billings at negate.org>

On Mon, May 23, 2016 at 12:16:01PM -0400, Mark Haney wrote:
> I've been wracking my brain, but for the life of me can't recall the exact
> program name, but back when I managed a HPCC, there was a tool that would
> let you restrict a running process to X number of CPUs/Cores natively.  I
> keep thinking it was MPC, but nothing googles on that.  Regardless, that
> might be a better way of running Sybase, as a container may not be beefy
> enough to  handle the load Sybase is likely to generate.

'tasksel'?  I believe it is just a wrapper for
sched_setaffinity/sched_getaffinity, which you can also do with cgroups.

-- 
Jonathan Billings <billings at negate.org>