Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Allow cpu.rt_runtime_us to be set #329

Closed
qantourisc opened this issue Jun 23, 2015 · 2 comments
Closed

RFE: Allow cpu.rt_runtime_us to be set #329

qantourisc opened this issue Jun 23, 2015 · 2 comments

Comments

@qantourisc
Copy link

@qantourisc qantourisc commented Jun 23, 2015

As far as I understand it's just not supported. If correct, just close this ticket.
I mainly created this as a form of documentation/format statement for other people running into this issue.

Possible workaround for those affected:

  • echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_us (or user.slice depending upon)
  • Get a kernel without CONFIG_RT_GROUP_SCHED

For people affected and want to read more about it:
http://lists.freedesktop.org/archives/systemd-devel/2013-July/011679.html : "As discussed earlier, the low-level cgroup configuration options ControlGroup=, ControlGroupModify=, ControlGroupPersistent=, ControlGroupAttribute= have been removed. Please use high-level attribute settings instead as well as slice units."
However I could not find any replacement for rt_runtime_us.

http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/ : Document is outdated as the above link indicates.

@poettering
Copy link
Member

@poettering poettering commented Jun 23, 2015

I am not sure this can be supported in any sane way since the propagation and summing rules are so weird. I generally encourage everyone to disable rt group scheduling in the kerbel these days.

@kaysievers kaysievers closed this Jun 27, 2015
@poettering
Copy link
Member

@poettering poettering commented Jul 27, 2015

Also see #553 regarding the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants