On Wed, 05.03.14 17:41, WaLyong Cho (walyong....@samsung.com) wrote: > Similar to CPUShares= and BlockIOWeight= respectively. However only > assign the specified weight during startup. Each control group > attribute is re-assigned as weight by CPUShares=weight and > BlockIOWeight=weight after startup. If not CPUShares= or > BlockIOWeight= be specified, then the attribute is re-assigned to each > default attribute value. (default cpu.shares=1024, blkio.weight=1000) > If only CPUShares=weight or BlockIOWeight=weight be specified, then > that implies StartupCPUShares=weight and StartupBlockIOWeight=weight.
Looks good, though there appears to be missing that we refresh all cgroup props when we finished booting? Before I merge this I'd like to add a system-wide state enum that can export over the bus, that formalizes the startup/running/shutdown state machine we can make use of for this. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel