Increase scaling factor to 1.0
This commit is contained in:
parent
41a4240f30
commit
c008a0a33a
@ -5,7 +5,7 @@
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.3.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Systemd unit generator for zram swap devices
|
||||
|
||||
# Upstream license specification: MIT
|
||||
@ -113,7 +113,7 @@ export SYSTEMD_UTIL_DIR=$(pkg-config --variable=systemdutildir systemd)
|
||||
mkdir -p %{buildroot}%{_systemdgeneratordir}
|
||||
mv -v %{buildroot}%{_bindir}/zram-generator %{buildroot}%{_systemdgeneratordir}/
|
||||
install -Dpm0644 -t %{buildroot}%{_unitdir} units/systemd-zram-setup@.service
|
||||
install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd zram-generator.conf
|
||||
install -Dpm0644 -t %{buildroot}%{_prefix}/lib/systemd %{SOURCE1}
|
||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 man/zram-generator.8
|
||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man5 man/zram-generator.conf.5
|
||||
|
||||
@ -124,6 +124,9 @@ export SYSTEMD_UTIL_DIR=$(pkg-config --variable=systemdutildir systemd)
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jan 27 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.1-2
|
||||
- Implement https://fedoraproject.org/wiki/Changes/Scale_ZRAM_to_full_memory_size (#1921084)
|
||||
|
||||
* Sat Jan 23 13:23:10 CET 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.3.1-1
|
||||
- Update to 0.3.1
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
# This config file enables a /dev/zram0 device with the default settings:
|
||||
# — size — half of available RAM or 4GB, whichever is less
|
||||
# — size — same as available RAM or 8GB, whichever is less
|
||||
# — compression — most likely lzo-rle
|
||||
#
|
||||
# To disable, uninstall zram-generator-defaults or create empty
|
||||
# /etc/systemd/zram-generator.conf file.
|
||||
[zram0]
|
||||
zram-fraction = 1.0
|
||||
max-zram-size = 8096
|
||||
|
Loading…
Reference in New Issue
Block a user