So you know me … anything to squeeze just a little bit more out of my octagenarian machine … so I’ve been playing with the tuneddaemon and tuned-adm … to make a short story even shorter I wasn’t quite satisfied with the “balanced” profile so I made my own profile and got some nice little gains
Either sudo or as root in a terminal
mkdir /etc/tuned/profiles/desktop-max
then
nano /etc/tuned/profiles/desktop-max/tuned.conf
and paste in the following
#
# tuned configuration
#
[main]
summary=Optimized for maximum desktop performance
[cpu]
priority=10
governor=ondemand|schedutil
sampling_down_factor = 1000
energy_perf_bias=performance|balance_performance
energy_performance_preference=performance|balance_performance
boost=1
[acpi]
platform_profile=performance
[audio]
timeout=10
[disk]
# Comma separated list of devices, all devices if commented out.
# devices=sda
readahead=>4096
# cat /sys/block/<device>/queue/scheduler
# current (6.14.4-1-default) none [mq-deadline] kyber bfq
# mq-deadline was my default but kyber seems to work the best for me
elevator=kyber
[scsi_host]
#
alpm=max_performance
Now when you do tuned-adm list you should see a “desktop-max” option … lemme know if it works worth a dang or tweak it yourself and make it even better … you could even piggy-back some of the network stuff on top of it with tuned-adm profile desktop-max <network-something> for gaming …
Made a couple of changes to my desktop-max file and so far I’m very pleased with the results
My ancient Unigine Heaven benchmark (opengl) only gained 1 fps but the minimum fps nearly doubled … so no stutters and it is visibly smoother
Browserbench got significant gains in every test … I went from 6.05 to 6.35 in the speedometer test … for me even 6.15 would have been cause for celebration …
vkmark also got gains across the board and when it did use 55% (give or take) of my GPU now it uses 65% (give or take)
Tuned also sets my IO scheduler to kyber instead of mq-deadline and things are much smoother on the desktop now … the kernel complains when I set elevator=kyber on the cmdline and says it is no longer valid and I should use sysfs instead but I guess I’m not looking in the right place … but no matter … tuned does it for me
My internet connection is already maxxed out but now that I have a new/old laptop I’ll be able to test network latency/throughput on my local network … that’s next …
Current desktop-max/tuned.conf profile:
dart@windeath:~/Downloads/Unigine_Heaven-4.0> cat /etc/tuned/profiles/desktop-max/tuned.conf
#
# tuned configuration
#
[main]
summary=Optimize for maximum desktop performance
[sysctl]
kernel.sched_autogroup_enabled=1
[cpu]
priority=10
governor=ondemand|schedutil
sampling_down_factor = 1000
energy_perf_bias=performance|balance_performance
energy_performance_preference=performance|balance_performance
boost=1
[acpi]
platform_profile=performance
[audio]
timeout=10
[disk]
# Comma separated list of devices, all devices if commented out.
# devices=sda
readahead=>4096
# cat /sys/block/<device>/queue/scheduler
# current (6.14.4-1-default) none [mq-deadline] kyber bfq
# mq-deadline was my default but kyber seems to work the best for me
elevator=kyber
[scsi_host]
#
alpm=max_performance
Did run browserbench and got 6.34 ± 0.51. Then did read the instructions and started a clean other browser and got 6.6 ± 0.75. Wondering if it are just random variations, that could well be with those confidence intervals.
My computer is fast enough so I focus on idle power consumption and did chose for the governor “powersave”:
So 10 seconds at the boost power PL2 of 110 Watt after which it drops and stays on the TDP/PL1 power of 95 Watt as long as the update is running. Probably good to check if your computer also is and keeps running at it’s TDP when CPU stressed, if not you should look at cooling.