Re: [Bulk] Re: confine user(s) to a core with systemd + gcgroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/30/2014 03:28 AM, lejeczek wrote:
hi, thanks for your input, however it does not help really
linked doc? I've thumb trough it before.

Correct because systemd doesn't use cpusets.

let me rephrase my question - how do I put users, their whole session from the
moment they login into a cgroup cpuset?

You need to configure a login script (outside of systemd) to do use cpusets. Systemd uses CPU accounting and CFS switches to break down resource throttling.


and I don't want to use libcgroup (as it not recommended anyway) but have
systemd managed it.

If you want systemd to manage resources then you're stuck with the existing support, which is CPUShares. This will not have CPU limiting the way you desire.

man systemd.resource-control

The newest systemd release has a CPUQuota option that will make this work closer to what you want, but if you want true 1-core, 1-process resource limiting you're going to have to do it outside of systemd.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux