A System and Service Manager
7665e1796f
- Remove swap policy. Default amount of swap (8GB?) is a lot lower than what we use internally with the swap policy. Which frequently leads to GNOME getting killed (e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1941170, and other BZs not linked here). Internally we use 0.5x-1x size of physical memory for swap via swapfiles (this will be documented in systemd upstream). In simple cases of using more memory than is available (but without memory pressure), the Kernel OOM killer can handle killing the offending process. - Expand the memory pressure policy to system.slice, user-.slice, and all user owned slices. Support for ManagedOOM*= on user services was added in https://github.com/systemd/systemd/pull/20690 which allows us to be more fine grained on the pressure monitoring at the user level. In addition to the system.slice and user-.slice PSI monitoring this should result in a better systemd-oomd experience for desktop systems. |
||
---|---|---|
tests | ||
.gitignore | ||
.zuul.yaml | ||
10-oomd-defaults.conf | ||
10-oomd-per-slice-defaults.conf | ||
20-yama-ptrace.conf | ||
93651582ae.patch | ||
changelog | ||
f58b96d3e8d1cb0dd3666bc74fa673918b586612.patch | ||
inittab | ||
libsystemd-shared.abignore | ||
macros.sysusers | ||
owner-check.sh | ||
owner-check.template | ||
purge-nobody-user | ||
README.build-in-place.md | ||
rpminspect.yaml | ||
sources | ||
split-files.py | ||
sysctl.conf.README | ||
systemd-journal-gatewayd.xml | ||
systemd-journal-remote.xml | ||
systemd-udev-trigger-no-reload.conf | ||
systemd-user | ||
systemd.rpmlintrc | ||
systemd.spec | ||
sysusers.attr | ||
sysusers.generate-pre.sh | ||
sysusers.prov | ||
triggers.systemd | ||
use-bfq-scheduler.patch | ||
yum-protect-systemd.conf |
Building systemd rpms for local development using rpmbuild --build-in-place
This approach is based on filbranden's git-rpmbuild and his talk during ASG2019.
git clone https://github.com/systemd/systemd
fedpkg clone systemd fedora-systemd
cd systemd
rpmbuild -bb --build-in-place --noprep --define "_sourcedir $PWD/../fedora-systemd" --define "_rpmdir $PWD/rpms" --with inplace ../systemd.spec
sudo dnf upgrade --setopt install_weak_deps=False rpms/*/*.rpm
--without lto
and --without tests
may be useful to speed up the build.