and my /etc/tmpfiles.d/energy_performance_preference.conf is (note, this file would need to be different based on the number of logical CPU cores you have. My laptop has 4 physical cores but also hyperthreading which makes it appear like 8 logical cores):
# Favor energy efficiency for Speed Shift
w- /sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference - - - - power
To verify the tmpfiles.d settings were correctly applied, you could reboot and check that your output matches:
$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
1
$ cat /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preference
power
power
power
power
power
power
power
power
btw if you're running anything like TLP, that might override the setting. I'm pretty sure TLP has its own way of setting these things.
Personally I disable turboboost and tune the epp (energy performance preference) for speedshift (Intel hardware p-states) to favor efficiency instead of performance. This way I never hear my fans even if I'm doing heavy computation. I don't even notice the performance difference, though I assume it is at least measurable in tests.
Ripgrep. That's it. As much as some of the sexy new tools improve ergonomics, I am frequently the dev my coworkers ask for help so I find the value of being intimately familiar with the standard tools to be of far more value. That's why I trudge through the git CLI instead of using magit, why I use GNU coreutils despite not being a fan of the GPL, and why all my scripts are written for bash despite zshell being superior.
Small clarification, waybar does not need to rely on intervals (though it can if you want). Scripts can run as a daemon who's corresponding block is updated whenever the script outputs a new json line to stdout so that can occur whenever the underlying script wants, as frequently or infrequently as desired. (Though admittedly all my custom scripts for waybar are interval-based)
The efi/boot/bootx64.efi path is a special path for UEFI. Firmwares will always attempt to boot that path if no others are configured. This is useful for things like bootable USBs or devices without configurable firmware.
That file could have been there from anything (windows or Linux). If you're going to nuke it to see if that solves your issue, I'd suggest renaming instead of deleting and having a liveusb ready in case your boot breaks and you need to put it back.
I haven't hibernated or slept since getting an SSD. Boot times are mere seconds, so there's no need to deal with all that extra complication like hoping your devices get reinitialized properly when coming out of hibernation.
Media players seem like an ideal candidate. They don't need to self-update due to package managers, and I don't need it downloading album art. You could block it for privacy reasons (I don't need the album art downloader revealing my affinity for 90s pop music or bondage porn) or security reasons.
Edit2: probably should add word processors to the list. They tend to have network functions that some people use, but the closest I've come to using networking in a word processor was Ctrl+clicking a link to open it in my browser. If we went with sandboxing instead of open snitch then the browser wouldn't get network either since it was launched by a sandboxed program but I'd be willing to put up with copy+pasting links from my sandboxed word processor to my exposed browser.
Edit3: also most of the coreutils. I trust them enough that I wouldn't go through the effort, but if the coreutils would sandbox themselves like OpenBSD is doing with pledge(2), then that would still be an improvement.
So it's not news to anyone that archiso now has an installer built in
Hold up! Arch has an installer again? I'm actually learning about this now and I've been an arch user long enough to remember the previous installer.
Personally I'm going to keep doing it the manual way because I like the direct control with full knowledge of all actions performed. Also, I can do the arch install manually from memory at this point. But regardless, this will be great for new users to ease them into it.
The correct way is -Rns because that way you're alternating hands with each letter, minimizing the time each hand spends blocked, and maximizing throughput. But if you want to do -Rsn like an inefficient filthy casual then it will still work.
Well I know it's an open source driver which also means it is getting ported to less common operating systems like OpenBSD. That along with supporting GBM means I can use any Wayland compositor I want whereas Nvidia has me restricted to only a few. But I don't have first-hand experience since I've been on nvidia for the past decade. Here's the arch wiki on it in case that helps.
To do it temporarily (as in, rebooting would reset the setting) you could do:
To make it permanent you'd use tmpfiles.d to automatically write to those paths. For example, my
/etc/tmpfiles.d/disable_turboboost.confis:and my
/etc/tmpfiles.d/energy_performance_preference.confis (note, this file would need to be different based on the number of logical CPU cores you have. My laptop has 4 physical cores but also hyperthreading which makes it appear like 8 logical cores):To verify the tmpfiles.d settings were correctly applied, you could reboot and check that your output matches:
btw if you're running anything like TLP, that might override the setting. I'm pretty sure TLP has its own way of setting these things.
Personally I disable turboboost and tune the epp (energy performance preference) for speedshift (Intel hardware p-states) to favor efficiency instead of performance. This way I never hear my fans even if I'm doing heavy computation. I don't even notice the performance difference, though I assume it is at least measurable in tests.
Thank you! You definitely saved me a lot of frustration
Ripgrep. That's it. As much as some of the sexy new tools improve ergonomics, I am frequently the dev my coworkers ask for help so I find the value of being intimately familiar with the standard tools to be of far more value. That's why I trudge through the git CLI instead of using magit, why I use GNU coreutils despite not being a fan of the GPL, and why all my scripts are written for bash despite zshell being superior.
Threadripper 1950x
Small clarification, waybar does not need to rely on intervals (though it can if you want). Scripts can run as a daemon who's corresponding block is updated whenever the script outputs a new json line to stdout so that can occur whenever the underlying script wants, as frequently or infrequently as desired. (Though admittedly all my custom scripts for waybar are interval-based)
Custom module doc: https://github.com/Alexays/Waybar/wiki/Module:-Custom
I just leave a shell running
sudo watch pacman -Syuany time I use my computer to make sure I always stay up to date.please don't do this, its detrimental to the mirrors
The efi/boot/bootx64.efi path is a special path for UEFI. Firmwares will always attempt to boot that path if no others are configured. This is useful for things like bootable USBs or devices without configurable firmware.
That file could have been there from anything (windows or Linux). If you're going to nuke it to see if that solves your issue, I'd suggest renaming instead of deleting and having a liveusb ready in case your boot breaks and you need to put it back.
Try changing the exec line from
to
I haven't hibernated or slept since getting an SSD. Boot times are mere seconds, so there's no need to deal with all that extra complication like hoping your devices get reinitialized properly when coming out of hibernation.
Media players seem like an ideal candidate. They don't need to self-update due to package managers, and I don't need it downloading album art. You could block it for privacy reasons (I don't need the album art downloader revealing my affinity for 90s pop music or bondage porn) or security reasons.
Edit: PDF viewers! There is no reason evince should make a network call, and PDF viewers are no stranger to horrific security vulns.
Edit2: probably should add word processors to the list. They tend to have network functions that some people use, but the closest I've come to using networking in a word processor was Ctrl+clicking a link to open it in my browser. If we went with sandboxing instead of open snitch then the browser wouldn't get network either since it was launched by a sandboxed program but I'd be willing to put up with copy+pasting links from my sandboxed word processor to my exposed browser.
Edit3: also most of the coreutils. I trust them enough that I wouldn't go through the effort, but if the coreutils would sandbox themselves like OpenBSD is doing with
pledge(2), then that would still be an improvement.If you only started 84 seconds into the video, then that would be from OP's link since it includes the t parameter: https://m.youtube.com/watch?v=KU1JO5801CY&t=84
Oh, that's a shame
Hold up! Arch has an installer again? I'm actually learning about this now and I've been an arch user long enough to remember the previous installer.
Personally I'm going to keep doing it the manual way because I like the direct control with full knowledge of all actions performed. Also, I can do the arch install manually from memory at this point. But regardless, this will be great for new users to ease them into it.
I don't think xrandr works under Wayland
Yeah that's all covered in the post I linked to
xorg-server-xwayland was also in extra. You can see it on the arch linux archive. They just renamed "xorg-server-xwayland" to "xorg-xwayland", nothing has been moved. There's a possible explanation for the reason for the rename here.
The correct way is -Rns because that way you're alternating hands with each letter, minimizing the time each hand spends blocked, and maximizing throughput. But if you want to do -Rsn like an inefficient filthy casual then it will still work.
findYes, because otherwise you can't tell people you use arch linux.
It's not installed by default so no one is being forced or tricked into providing telemetry if they do not wish to.
Well I know it's an open source driver which also means it is getting ported to less common operating systems like OpenBSD. That along with supporting GBM means I can use any Wayland compositor I want whereas Nvidia has me restricted to only a few. But I don't have first-hand experience since I've been on nvidia for the past decade. Here's the arch wiki on it in case that helps.
What makes me feel old: my cellphone now has as much RAM as my first hard drive had space.
11 days to the AMD Big Navi announcement! I am excite
Not the same chipset and not wifi, but I recently started having this issue: https://bugzilla.kernel.org/show_bug.cgi?id=198931
Had to disconnect the ethernet from my USB type c dock or else all networking including wifi would fail.