1
0
Fork 0
mirror of synced 2024-11-22 10:05:37 -05:00

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 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..."

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 # 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"

View file

@ -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"