Move ulimits increase to drop-in, add 40-hpet-permissions.rules
This commit is contained in:
parent
f1a8a1a7d6
commit
2744f628f7
6 changed files with 10 additions and 4 deletions
|
@ -18,7 +18,6 @@ post_install() {
|
||||||
systemctl enable nohang-desktop
|
systemctl enable nohang-desktop
|
||||||
systemctl enable preload
|
systemctl enable preload
|
||||||
systemctl enable prelockd
|
systemctl enable prelockd
|
||||||
systemctl --global enable libinput-gestures
|
|
||||||
systemctl --global enable psd
|
systemctl --global enable psd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +34,6 @@ post_upgrade() {
|
||||||
systemctl enable nohang-desktop
|
systemctl enable nohang-desktop
|
||||||
systemctl enable preload
|
systemctl enable preload
|
||||||
systemctl enable prelockd
|
systemctl enable prelockd
|
||||||
systemctl --global enable libinput-gestures
|
|
||||||
systemctl --global enable psd
|
systemctl --global enable psd
|
||||||
|
|
||||||
msg "Updating font cache..."
|
msg "Updating font cache..."
|
||||||
|
|
3
usr/lib/systemd/system.conf.d/limits.conf
Normal file
3
usr/lib/systemd/system.conf.d/limits.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Manager]
|
||||||
|
DefaultLimitNOFILE=1048576
|
||||||
|
DefaultLimitNPROC=1048576
|
3
usr/lib/systemd/user.conf.d/limits.conf
Normal file
3
usr/lib/systemd/user.conf.d/limits.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Manager]
|
||||||
|
DefaultLimitNOFILE=1048576
|
||||||
|
DefaultLimitNPROC=1048576
|
3
usr/lib/udev/rules.d/40-hpet-permissions.rules
Normal file
3
usr/lib/udev/rules.d/40-hpet-permissions.rules
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Hpet permissions
|
||||||
|
KERNEL=="rtc0", GROUP="audio"
|
||||||
|
KERNEL=="hpet", GROUP="audio"
|
|
@ -1,3 +1,2 @@
|
||||||
# SATA Active Link Power Management
|
# SATA Active Link Power Management
|
||||||
|
|
||||||
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="max_performance"
|
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="max_performance"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# set scheduler for NVMe
|
# set scheduler for NVMe
|
||||||
ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none"
|
ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none"
|
||||||
# set scheduler for SSD and eMMC
|
# set scheduler for SSD and eMMC
|
||||||
ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline"
|
ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
|
||||||
# set scheduler for rotating disks
|
# set scheduler for rotating disks
|
||||||
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
|
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
|
||||||
|
|
Loading…
Reference in a new issue