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

Create a sane desktop linux configuration #38

Closed
danobi opened this issue Dec 14, 2018 · 9 comments
Closed

Create a sane desktop linux configuration #38

danobi opened this issue Dec 14, 2018 · 9 comments
Assignees
Labels
docs help wanted Extra attention is needed

Comments

@danobi
Copy link
Contributor

danobi commented Dec 14, 2018

This should be a good "fits most" configuration to prevent unresponsive desktop systems.

This issue will track progress.

@danobi danobi self-assigned this Dec 14, 2018
@danobi
Copy link
Contributor Author

danobi commented Dec 14, 2018

First I had to turn on systemd's cgroup2 only support by adding systemd.unified_cgroup_hierarchy to my kernel boot options.

@danobi
Copy link
Contributor Author

danobi commented Dec 14, 2018

We're missing a couple of pieces for this to happen:

Note that these are both out of my control, so expect more progress here in a couple of weeks.

@danobi
Copy link
Contributor Author

danobi commented Dec 14, 2018

#40 should be valid, but is untested on my home machine. (It has been tested on developer machines at FB, though, with minor modifications).

@danobi danobi added docs help wanted Extra attention is needed labels Dec 14, 2018
@Hyperion101010
Copy link

so will that patch , eliminate this bug ?

@nomego
Copy link

nomego commented Dec 15, 2018

Ok so the systemd boot option is needed, what's the effect of the cgroup2 bug and how do we now when it's a release?
Are the PSI patches merged and available in an 4.20 RC ?

@danobi
Copy link
Contributor Author

danobi commented Dec 17, 2018

@nomego IIRC, the systemd bug resulted in the memory controller not being delegated to cgroups in user.slice. The bug doesn't happen all the time but it happened often enough at FB.

The PSI patches have been merged and I do believe they're in 4.20 RC.

@hammerandtongs
Copy link

I added #46 which seems relevant to this tracking bug.

Looking forward to oomd being ready for desktop, thanks for this work!

@danobi
Copy link
Contributor Author

danobi commented Jan 5, 2019

Linux 4.20 got packaged for arch linux and I think systemd is prepping a v240 release. I'm going to start working on this again since we are unblocked.

@danobi
Copy link
Contributor Author

danobi commented Jan 31, 2019

8d21de7 has a basic systemd configureation

@danobi danobi closed this as completed Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants