Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox using 20% of CPU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Fri Aug 25, 2017 7:44 pm    Post subject: Firefox using 20% of CPU Reply with quote

After I switched my kernel from 3.9.34-gentoo to 3.14.5-gentoo, firefox is using 20 to 25 % of CPU whereas before it was only using 6%. ( when I am watching youtube video with 1080) I didn't change anything. Is simply copied .config from 3.9.34 dir to 3.14.5 dir and did make && make modules_install, mkconfig -o and selected the new kernel. I verified uname -a that I am running 3.14.5. What in the world is going on here?
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1734
Location: Frankfurt, Germany

PostPosted: Fri Aug 25, 2017 7:51 pm    Post subject: Reply with quote

You can't just copy .config to a different kernel version. You should at least run "make oldconfig" and answer all questions. After that you should run "make menuconfig" and make sure that everything is OK.
Back to top
View user's profile Send private message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Fri Aug 25, 2017 8:24 pm    Post subject: Reply with quote

Yah but why the increase in CPU usage
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44218
Location: 56N 3W

PostPosted: Fri Aug 25, 2017 8:34 pm    Post subject: Reply with quote

txykumat,

You have an illegal kernel .config. Anything can happen,
It gives you all sorts of strange behaviour that is very difficult to diagnose.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Fri Aug 25, 2017 9:33 pm    Post subject: Reply with quote

ok i'll oldconfig and go through menuconfig
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7328
Location: Saint Amant, Acadiana

PostPosted: Fri Aug 25, 2017 9:39 pm    Post subject: Reply with quote

Your new kernel 3.14 is even not in portage, why such an old kernel?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Sat Aug 26, 2017 7:52 pm    Post subject: Reply with quote

Oh no, I meant 4.9.34 and 4.12.5-gentoo kernel. I recompiled kernel though the result is the same. I wonder what changed...
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 432

PostPosted: Mon Aug 28, 2017 12:13 pm    Post subject: Reply with quote

Check numer of cores u see, i remeber on my core2duo 4.10 kernel reported 4 cores :D and cpu was over 60% on idle, so i ditched it ( I switched to ryzen a bit later so no idea what happened there)
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2542
Location: Canada

PostPosted: Mon Aug 28, 2017 10:38 pm    Post subject: Reply with quote

mir3x wrote:
Check numer of cores u see, i remeber on my core2duo 4.10 kernel reported 4 cores :


Which is correct if CPU supports hyperthreading
Back to top
View user's profile Send private message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Tue Aug 29, 2017 4:37 pm    Post subject: Reply with quote

How do I check what my MAKEOP supposed to be? I thought it was

Code:
$ npro


But won't work. My CPU is Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz and

Code:
$ cat /proc/cpuinfo


shows CPU 0, 1, 2, 3.

For now I am back to older kernel so my laptop won't hiss just watching youtube videos.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum