[systemd-devel] confine user(s) to a core with systemd + cgroup

Lennart Poettering lennart at poettering.net
Mon Aug 4 08:13:50 PDT 2014


On Wed, 30.07.14 12:16, lejeczek (peljasz at yahoo.co.uk) wrote:

> sorry to bother developers
> I've been reading, asking forums, etc, but failed to find an answer
> to one quick question:
> 
> how do I put users, their whole session from the moment they login
> into a cgroup cpuset?

The "cpuset" controller is currently not supported with systemd since
it's kernel API so far was awful, and is in the process of being cleaned
up.

You should be able to use tmpfiles or some other tool to write directly
to the files in /sys/fs/cgroup/cpuset/... for now.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list