Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] extreme slowness / frequency scaling weirdness
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
dgulotta
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2006
Posts: 88

PostPosted: Fri Jan 09, 2015 9:31 pm    Post subject: [solved] extreme slowness / frequency scaling weirdness Reply with quote

I have been having some issues with my laptop suddenly becoming extremely slow. I think this may be due to the cpu frequency being set to the lowest level. If I run cpupower frequency-info, it will say something like "hardware limits: 1.20-2.70 GHz ... current policy: frequency should be between 1.20 GHz and 1.20 GHz". The latter number is sometime higher when the computer is not being slow. From what I have read, it seems like this could be due to the computer overheating, but the computer does not seem hot. The "sensors" command reports one sensor at 0 C, one at 127 C, and the other four are between 29 C and 40 C. Is it likely that the sensor giving the 127 C reading is bad and is causing the slowdown? Is it possible/safe to ignore this senor?

Last edited by dgulotta on Sun Jan 11, 2015 7:59 pm; edited 2 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Fri Jan 09, 2015 10:32 pm    Post subject: Reply with quote

What do you mean by "extremely" slow?

Yes, most modern machines will throttle when overheating. But they will throttle when it feels like it. Chances are it won't throttle to a small fraction of its full speed so if you're running 1/10 the speed of "fast" mode it's not likely due to throttling.

You should check that sensor that's stuck at 127C when it's working properly. Likely it will also read 127C, and thus is a red herring and thus safe to ignore it.

You should check what the machine's doing when it's slow, is it swapping? Did you run out of RAM and have no swap? Broken driver?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
dgulotta
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2006
Posts: 88

PostPosted: Fri Jan 09, 2015 11:16 pm    Post subject: Reply with quote

If I try to type or click in any X11 application, there is a noticeable lag --- maybe half a second for most apps but several seconds for Firefox. If Firefox is running, then top reports that Firefox is using 100% CPU. I think other programs report larger than usual CPU usage percentages as well, but I haven't checked too thoroughly. I haven't really tested whether there are any problems outside of X. Restarting X does not fix the problem, but rebooting does, and it sometimes goes away on its own.

I am only using 2GB of memory out of 8GB, so that shouldn't be the problem.

One time the dmesg contained "Monitor-mwait will be used to enter c-3 state" from around the same time the slowness started, but there were other times that I didn't see anything in dmesg. I don't see anything unusual in Xorg.0.log.

I guess I did update my video drivers recently.

Is it normal for the upper limit on the cpu frequency policy to change?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Fri Jan 09, 2015 11:47 pm    Post subject: Reply with quote

If Firefox et al. are using 100% CPU, that wound account for their slow response and for the high temperature. What is the output of emerge --info? What video drivers do you use?
Back to top
View user's profile Send private message
dgulotta
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2006
Posts: 88

PostPosted: Sat Jan 10, 2015 12:00 am    Post subject: Reply with quote

I am using x11-drivers/xf86-video-intel-2.99.917. However, I did some more testing and I do not think the problem is related to video or X11. I killed X11 and tried running some programs from the console, and they ran at about 1/15 normal speed.

Edit:
I am also having some issues with the power cable and possibly the battery. I previously thought these were unrelated, but now I am not so sure. I have to bend the cable in just the right way to get it to work. This is not unusual for a failing cable, but the strange thing is that the battery will not charge. (By "work" I mean that the laptop will run on AC power. The battery does not charge regardless of whether the laptop is on or off.)

Could this cause the slowdown? Is it likely that the battery is also bad?

Edit:
Replacing the power adapter seems to have fixed the problem.
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