LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-19-2019, 12:47 PM   #1
anon026
Member
 
Registered: Jan 2018
Posts: 33

Rep: Reputation: Disabled
high cpu use (idle) on new asus tuf fx505dy


Hello :-) First laptop, and concerned at idle cpu use, and how relates to bad battery life. Wifi/vpn active, AC plugged in or not, notes and clock widget, and one small text file ... constant spikes of high use, 10-25%+ of cpu, and up to 60%+ at times ... 12% often seen during changes. On main desktop (arch/lts kernel/kde), idle cpu use very low indeed, 0-2%.

Arch (beginner), latest kernel (having to run so can boot; prefer lts), kde. Asus tuf fx505dy, ryzen 5/vega 8 (and unuseable RX560!), bios 304.

EDIT: looking for ways to increase performance, saw about turning off mitigations, so, incase helpful to anyone new to this, I did
sudo nano /etc/default/grub
and
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mitigations=off"
then regenerated grub.cfg ...
grub-mkconfig -o /boot/grub/grub.cfg

CPU now showing 0% on idle. Battery (full) shot up to showing 10 hrs battery left, then dropped back to the usual 2, grrr. But then moves to 3.33 hrs, which is the best so far, then back to 2.15/2 etc.

Last edited by anon026; 08-19-2019 at 01:45 PM.
 
Old 08-19-2019, 10:02 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,678
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
sounds like you need to explore and find out what is using so much CPU. my last heavy CPU usage was cause by Firefox visiting a badly programmed web site. it managed to reach 366% (of 4 cores). the "top" command in a terminal shell might be useful.
 
1 members found this post helpful.
Old 08-21-2019, 09:31 PM   #3
anon026
Member
 
Registered: Jan 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Sorry, I don't seem to be getting notifications, but just saw your response, and, wow, 366% must be some kind of record! :-) Thanks for advice too. Will keep an eye on things.
 
Old 08-21-2019, 09:50 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
The command line programs top or htop should help you identify what processes are using your CPU cycles.

See man top or man htop for more.

Last edited by frankbell; 08-21-2019 at 09:52 PM.
 
2 members found this post helpful.
Old 08-22-2019, 10:23 AM   #5
anon026
Member
 
Registered: Jan 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
The command line programs top or htop should help you identify what processes are using your CPU cycles.

See man top or man htop for more.
Thank you frankbell. Will definitely take a look at those packages. :-)
 
1 members found this post helpful.
Old 09-24-2019, 03:13 AM   #6
Herve5
Member
 
Registered: Oct 2016
Location: Europe
Distribution: Debian & Ubuntu Mate
Posts: 107

Rep: Reputation: Disabled
I am very interested by this thread. I face a similar problem, which is, an indexing process for a search process that I really love (the 'Recoll' utility) seems to take all CPU when the machine is idle, even when on batteries.

What I would like is to detect the switch to battery power, then issue some kill -STOP command to Recoll (automatically identifying its process #) and when back on the mains switch back with a kill -CONT...

Needless to say I don't know how to deal with this, nor even if this is the right way to do...

TIA!
H.
 
Old 09-24-2019, 03:54 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Have a look at the Arch linux wiki page on power management. Suspend/resume might become interesting.
Just kill it and restart in your scripts. Untested - I always disable any indexers.
 
1 members found this post helpful.
  


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
[SOLVED] High CPU load, top not showing any high CPU process angel115 Linux - Server 8 10-12-2015 12:58 AM
uptime command shows high cpu load while atop shows cpu idle occam25 Linux - Newbie 4 09-19-2014 09:30 PM
[SOLVED] High CPU load, but low CPU usage (high idle CPU) baffy Linux - Newbie 5 03-13-2013 09:24 AM
High load - but CPU 99% idle? Boss Hoss Linux - Hardware 6 05-24-2004 04:39 AM
High idle cpu load in 2.6.4? geekzen Linux - General 4 04-10-2004 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:43 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
Open Source Consulting | Domain Registration