Package Details: performance-tweaks 0.0.1.r0.ge9d8ab2-1

Git Clone URL: https://aur.archlinux.org/performance-tweaks.git (read-only, click to copy)
Package Base: performance-tweaks
Description: automatic tweaks for Improving performance while gaming and other tasks
Upstream URL: https://gitlab.com/garuda-linux/themes-and-settings/settings/performance-tweaks
Keywords: gaming nice nohang performance zram
Licenses: GPL
Conflicts: performance-tweaks, tlp
Provides: performance-tweaks
Submitter: librewish
Maintainer: librewish
Last Packager: librewish
Votes: 11
Popularity: 0.80
First Submitted: 2020-01-05 08:28
Last Updated: 2020-11-14 12:07

Pinned Comments

librewish commented on 2020-01-05 08:34

this package is to automatically use some of the performance tweaks that are mentioned in https://wiki.archlinux.org/index.php/Improving_performance

this package does following
* sets performance governer
* sets swappiness to 10
* vm.vfs.cache.pressure to 75
* enables zram only using systemd-swap
* udev rule to change ioscheduler based on disk type
* udev rule to change set hdparm 
* udev rule to change set performance on amd graphics card
* enables systemd services for ananicy auto-cpufreq haveged irqbalance nohang prelockd memavaild systemd-swap fstrim.timer

any suggesions are welcome to improve more performance automatically using this package

Latest Comments

AnyCreatureMorph commented on 2020-06-28 00:16

==> Checking for packaging issues... ==> Creating package "performance-tweaks"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: performance-tweaks r12.4858ab5-1 (Sat 27 Jun 2020 08:16:29 PM EDT) ==> Cleaning up...

Checking keyring... Checking integrity... Loading packages files... Checking file conflicts... Checking available disk space... Installing performance-tweaks (r12.4858ab5-1)... Configuring performance-tweaks... ==> Attempting to set performance governor...Setting cpu: 0 Setting cpu: 1 Setting cpu: 2 Setting cpu: 3 Setting cpu: 4 Setting cpu: 5 Setting cpu: 6 Setting cpu: 7 x86_energy_perf_policy 17.05.11 (C) Len Brown len.brown@intel.com /tmp/alpm_5zbkfV/.INSTALL: line 77: /sys/class/drm/card0/device/power_dpm_state: Permission denied /tmp/alpm_5zbkfV/.INSTALL: line 78: /sys/class/drm/card0/device/power_dpm_force_performance_level: Permission denied /tmp/alpm_5zbkfV/.INSTALL: line 79: echo: write error: Operation not permitted Error while configuring /tmp/alpm_5zbkfV/.INSTALL: line 81: /sys/devices/system/cpu/cpufreq/boost: Permission denied ==> Attempting to enable services...Failed to enable unit: Unit file grub-btrfs.path does not exist. ==> Adding user 'avron' to user-group 'input,video,plugdev' ==> services should now be enabled.==> Please add new users to 'input,video,plugdev' group.==> Reboot your system, so changes will take effect.. Transaction successfully finished.

papakilo commented on 2020-06-01 23:44

Hi librewish, thanks for your package working well upto kernel 5.6.15. Today I tried new kernel 5.7 and had a freeze. Probably one or more tweaks hang the system because they're no more suitable: infact I read there were some changes in task scheduler. Please check. Thanks.

librewish commented on 2020-04-06 01:20

yes it will remove all changes when uninstalled with

sudo pacman -Rnsc performance-tweaks

and those errors show because you dont have amdgpu and intel cpu you can ignore them

Geeko commented on 2020-04-05 19:53

Hi, thank you for that awesome package! But I noticed some errors during the installation:

/tmp/alpm_HyQ2CH/.INSTALL: строка 76: /sys/class/drm/card0/device/power_dpm_state: Отказано в доступе [in English "Access denied"] /tmp/alpm_HyQ2CH/.INSTALL: строка 77: /sys/class/drm/card0/device/power_dpm_force_performance_level: Отказано в доступе [in English "Access denied"] /tmp/alpm_HyQ2CH/.INSTALL: строка 79: /sys/devices/system/cpu/intel_pstate/no_turbo: Нет такого файла или каталога [in English "No such file or directory"]

By the way, does that package revert changes in case of it's removal? I found no post_remove section in .install file.

librewish commented on 2020-01-07 03:43

swappiness is set 5 because setting it to 0 may be counterproductive. you need to swap. yes you may remove swap partition if you do not need to hibernate. and after going over some articles it is recommended to remove swap partition.

miss_barfin commented on 2020-01-07 02:26

excuse me but why swappiness is set to 5 and not zero? also if i wanna use this package, is it better to just completely remove my swap partition? (because it enables zram)

librewish commented on 2020-01-05 08:34

this package is to automatically use some of the performance tweaks that are mentioned in https://wiki.archlinux.org/index.php/Improving_performance

this package does following
* sets performance governer
* sets swappiness to 10
* vm.vfs.cache.pressure to 75
* enables zram only using systemd-swap
* udev rule to change ioscheduler based on disk type
* udev rule to change set hdparm 
* udev rule to change set performance on amd graphics card
* enables systemd services for ananicy auto-cpufreq haveged irqbalance nohang prelockd memavaild systemd-swap fstrim.timer

any suggesions are welcome to improve more performance automatically using this package