Move ulimits increase to drop-in, add 40-hpet-permissions.rules

This commit is contained in:
dr460nf1r3 2021-08-31 15:00:11 +02:00
parent f1a8a1a7d6
commit 2744f628f7
No known key found for this signature in database
GPG Key ID: BE75B9D9767036C2
6 changed files with 10 additions and 4 deletions

View File

@ -18,7 +18,6 @@ post_install() {
systemctl enable nohang-desktop
systemctl enable preload
systemctl enable prelockd
systemctl --global enable libinput-gestures
systemctl --global enable psd
}
@ -35,7 +34,6 @@ post_upgrade() {
systemctl enable nohang-desktop
systemctl enable preload
systemctl enable prelockd
systemctl --global enable libinput-gestures
systemctl --global enable psd
msg "Updating font cache..."

View File

@ -0,0 +1,3 @@
[Manager]
DefaultLimitNOFILE=1048576
DefaultLimitNPROC=1048576

View File

@ -0,0 +1,3 @@
[Manager]
DefaultLimitNOFILE=1048576
DefaultLimitNPROC=1048576

View File

@ -0,0 +1,3 @@
# Hpet permissions
KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"

View File

@ -1,3 +1,2 @@
# SATA Active Link Power Management
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="max_performance"

View File

@ -1,6 +1,6 @@
# set scheduler for NVMe
ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none"
# 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
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"