LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-10-2019, 11:18 AM   #1
sox
LQ Newbie
 
Registered: Jan 2019
Posts: 6

Rep: Reputation: Disabled
Notebook power management


Hello,
I have kubuntu 18.10 and big problem with power management. Everything is fine till notebook is on ac, when ac is unplugged performance sucks:/ Every browser works slow, videos on youtube are freezeeing every few sec but sound is ok. Ive installed tlp but improvement isnt so good as i expected. When i set up best performance is ok till battery isnt below ~70%, when i set up always ac plan battery is draining and performance isnt good. Its not a hardware problem, previously i had debian + kde and everything was perfect, on windows also is good. Generaly im little bit dissapointed, even startup time is about 20-25 sec, windows/debian about 15sec.
What can and should i do?
 
Old 01-10-2019, 02:33 PM   #2
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 943

Rep: Reputation: 237Reputation: 237Reputation: 237
What does Kubuntu have over Debian KDE?
I've never tried Kubuntu, but do have Ubuntu and Debian testing KDE, don't like Ubuntu.
If you're not hung on KDE, perhaps LMDE might work better. It's kind of funny to think Ubuntu was derived from Debian, then other folks decided to put together a bunch of distributions derived from Ubuntu, Mint being one of them, and now Mint has a version branching away from Ubuntu and going back to Debian as it's base.
 
Old 01-12-2019, 01:38 PM   #3
sox
LQ Newbie
 
Registered: Jan 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
But its not kde problem, just power management in ubuntu and i need tips where all these settings are
 
Old 01-14-2019, 05:24 AM   #4
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware, Maemo
Posts: 524
Blog Entries: 2

Rep: Reputation: 108Reputation: 108
I don't know how power management will affect performance, unless it messes with the cpu governor.

Try
Code:
cpupower frequency-info
or
cpufreq-info
see what that tells you.
 
Old 01-15-2019, 10:14 AM   #5
sox
LQ Newbie
 
Registered: Jan 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Code:
cpufreq-info                  
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 965 MHz.
analyzing CPU 1:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 893 MHz.
analyzing CPU 2:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 2
  CPUs which need to have their frequency coordinated by software: 2
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 949 MHz.
analyzing CPU 3:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 3
  CPUs which need to have their frequency coordinated by software: 3
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 924 MHz.
analyzing CPU 4:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 4
  CPUs which need to have their frequency coordinated by software: 4
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 798 MHz.
analyzing CPU 5:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 5
  CPUs which need to have their frequency coordinated by software: 5
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 934 MHz.
analyzing CPU 6:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 6
  CPUs which need to have their frequency coordinated by software: 6
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 938 MHz.
analyzing CPU 7:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 7
  CPUs which need to have their frequency coordinated by software: 7
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 821 MHz.



cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.48 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
 
Old 01-15-2019, 01:46 PM   #6
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware, Maemo
Posts: 524
Blog Entries: 2

Rep: Reputation: 108Reputation: 108
Yeah.

Don't use powersave, it will keep the CPU clock as low as possible, regardless of the need. Instead use "conservative" as powersave. And don't use "performance" instead use "ondemand" for performance.

Obviously a very poor choice by your distro to only include powersave and performance by default. So change it or use another distro. Probably the solution is to load the modules for conservative and ondemand CPU governors, and then select them with scaling, and then add these to whatever setting your distro use, to be the default options.

Ondemand is the default option in most GNU/Linux distroes. Personally I prefer "conservative", which is almost like "ondemand", but increase the CPU clock at a slower rate, but fast enough for long/hard tasks.

Edit. OOPS. My bad, I see that is is Intel_Pstate. I can use Intel_Pstate, but I don't use it, I prefer acpi-cpufreq instead. Not sure about intel pstate and the issues you are having, but I assume it uses powersave when not connected to power and performance when connected.

You can try acpi-cpufreq by adding the boot parameter
Code:
intel_pstate=disable
. I still think alot of what I said appplies, but intel_pstate powersave and performance is a bit different than acpi_cpufreq equivilants.

Last edited by zeebra; 01-15-2019 at 01:49 PM. Reason: mistake, added info
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop powering down on ac power regardless of xfce power management wufo Ubuntu 2 12-20-2016 07:05 PM
Power Management not working on embedded MIPS when using /sys/power/state RichardS Programming 1 01-21-2011 07:18 AM
Which "power distro" for lots of customizing and good system power management? mothergoose729 Linux - Distributions 11 11-18-2009 09:11 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration