You are viewing a single comment's thread from:

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

in #til8 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.18
TRX 0.15
JST 0.029
BTC 62260.20
ETH 2431.98
USDT 1.00
SBD 2.64