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

Support cgroupv2 #69

Merged
merged 4 commits into from Jan 25, 2017
Merged

Support cgroupv2 #69

merged 4 commits into from Jan 25, 2017

Conversation

udzura
Copy link
Member

@udzura udzura commented Jan 20, 2017

This PR enable Haconiwa to access and control resources via cgroup-v2 filesystem.

My image of DSL spec:

config.cgroup do |cgroup|
  cgroup["pids.max"] = 1024
  # ...
end

config.cgroup :v2 do |cgroup|
  cgroup["io.max"] = "8:0 rbps=1048576 wbps=1048576"
end
#...

@udzura
Copy link
Member Author

udzura commented Jan 25, 2017

Now we can create new group and set v2's io.max via Haconiwa DSL!

@udzura udzura changed the title [WIP] Support cgroupv2 Support cgroupv2 Jan 25, 2017
@udzura udzura merged commit 3f8bbe1 into master Jan 25, 2017
@udzura udzura deleted the support-cgroupv2 branch January 25, 2017 09:56
udzura added a commit that referenced this pull request Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant