You are viewing a single comment's thread from:

RE: TIL: How to restrict a linux process to a specified set of cores

in #til9 years ago

Does taskset have state across calls? I mean, can you get it to use "all cores that haven't been assigned in a previous call"? Does each call overwrite previous assignments when there is a conflict?
I should be googling this, sorry.

Sort:  

I think you have to manage that manually. The notations just create a bitmask that selects the cores available. You could make a simple script that dishes them out according to whatever scheme you want to use I suppose.

Coin Marketplace

STEEM 0.09
TRX 0.29
JST 0.036
BTC 101775.74
ETH 3409.36
USDT 1.00
SBD 0.55