change cpu-freq on manjaro 20.04 xfce
#1
Hi, 
after running the default Debian my pbp shipped with I now installed Manjaro 20.04 xfce. 
As I use the pbp while travelling the power settings are pretty important. 

On Debian I could simply set the cpu to powersafe via the battery icon. 
On manjaro xfce I can not find such an option. xfce4-cpufreq-plugin is only displaying but won't let me change the settings.

Any ideas? Or on powersaving in general? I choose xfce as I though it should be less power consuming.
#2
You can see current system current (while on battery):

Code:
cat /sys/class/power_supply/cw2015-battery/current_now

Play around with some settings, but I'm on a 5.7 kernel, and it seems that on a modern kernel, the scheduler does a really good job of handling the cores to keep power use minimized. You could try turning off most of the cores to save a bit of power, but I'm not sure that gains you a lot.

But you've got USB-C charging. IMO, the far easier option is to just carry a USB-C battery bank (build a DIY one if you want and source the 18650s locally). I don't think even a lot of tweaking will change stuff as much as just carrying more battery. Smile
#3
you probably want:
sudo cpupower -c all frequency-set -g conservative

read cpupower manpage for all the details.
#4
(06-20-2020, 03:20 PM)thumbsup Wrote: I choose xfce as I though it should be less power consuming.

I wonder if the choice of desktop really makes a measurable difference. Anyone?
#5
brightness, idle actions, visual processing, hardrware acceleration, and background processes all impact.

something like fluxbox, i3 or sway with low brightness and conservative governor should be the most power friendly.
#6
Let me rephrase my question:

- Idle power is significant (just booting into the console or plain xserver)

- Webbrowsers and other user processes are further major power consumers.

Does the choice of the desktop environment really contribute anything significant on top of above numbers?

10 minutes later: A quick google search https://www.phoronix.com/scan.php?page=a...tops&num=4

Power consumption of an idle desktop: kde 7924.75mw vs xfce 7473.46mw. The difference is 6%.

If we run now actual programs, then overall power consumption goes up. If we assume for the sake of arguments 8000mW, then the difference becomes 3%.

On the other hand, interacting with KDE might consume more power than interacting with xfce. Does that contribute anything? Most of the time, one is only interacting with user applications.

Nothing is obvious Undecided
#7
add hardware acceleration to my list above. i implied that with visual processing, but... minimizing cpu in favor of gpu and vpu processing will have huge impact.

as you point out, all of your usage is impactful. from a user experience, i find i3 and sway to be the quickest and lightest while also the most usable. there is an assumption that this translates to power savings, but like yourself i would love to see more data.
#8
(06-20-2020, 05:50 PM)Syonyk Wrote: You can see current system current (while on battery):

Code:
cat /sys/class/power_supply/cw2015-battery/current_now

Play around with some settings, but I'm on a 5.7 kernel, and it seems that on a modern kernel, the scheduler does a really good job of handling the cores to keep power use minimized.  You could try turning off most of the cores to save a bit of power, but I'm not sure that gains you a lot.

But you've got USB-C charging.  IMO, the far easier option is to just carry a USB-C battery bank (build a DIY one if you want and source the 18650s locally).  I don't think even a lot of tweaking will change stuff as much as just carrying more battery. Smile
The output for this is always "0"......
I have two powerbanks and two foldable solarpanels with me. Still running out of power is a big worry for me :-)

(06-20-2020, 06:25 PM)xmixahlx Wrote: you probably want:
sudo cpupower -c all frequency-set -g conservative

read cpupower manpage for all the details.
That does the trick - "powersave" works  as well.



Maybe I'm wrong but the first default system seemed to be more stable and less power-consuming to me. With Manjaro I have the feeling the laptop is producing way more heat now.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro Sway Theme Broken Eighty8 1 571 03-08-2024, 08:41 AM
Last Post: tophneal
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 2,000 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 601 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,663 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,853 12-11-2023, 03:47 AM
Last Post: calinb
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 657 12-07-2023, 03:11 PM
Last Post: wdt
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 1,264 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 2,192 08-21-2023, 09:10 PM
Last Post: vanessadonald
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,189 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Manjaro - HIbernate - brcmfmac clk issue pompeyPinePro 1 987 08-18-2023, 02:06 AM
Last Post: juliamenendez

Forum Jump:


Users browsing this thread: 1 Guest(s)