SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am going to describe a problem I had and how I solved it, in the hope of being helpful to someone with a similar issue.
I have a laptop with a Mobile AMD Sempron(tm) Processor 3100+. In versions of Slackware 13.0 and 13.1, the computer behaved as if there was a constant CPU load. The fan was really noisy and the computer heated a lot, usually around 65 C on an idle system. As a comparison, it used to be around 52 C before in Slackware 12.2.
What I noticed was that when I run powertop, I get the following:
Top causes for wakeups:
89.4% (1001.0) <kernel core> : hrtimer_start_range_ns (tick_sched_timer)
What I did was to recompile the kernel, using config-vmlinuz-generic-2.6.33.4 with the following changes:
“Processor type and features” > “Timer Frequency” > “300 Hz” (it was set to 1000)
“Processor type and features” > “Tickless System (Dynamic Ticks)” (it wasn't set)
“Processor type and features” > “Preemption model” > “Preemptible kernel”
Now the computer is cool and quiet again. I suppose the problem was in the Timer frequency, because in slackware 12.2 iirc in the nosmp kernel it was set to 250 Hz.
regards
solar
Last edited by solarfields; 03-13-2011 at 04:57 AM.
I think the 1000Hz freq has been choosen to increase desktop responsiveness (it matters a lot), but has obviously this backside effect on laptops.
Maybe you can have the best results if you leave it at 1000Hz and if you set the dynamic ticks (that should make the difference for your fans/load), preemptible kernel and desktop preemption model in kernel config.
i had a similar output of powertop on my old PC that had AMD Athlon Processor. However, since it was a PC I couldnt tell if there was extra heat So, I thought it had something to do with old AMD CPUs?
Now, after I have upgraded my PC, my CPU is Intel(R) Pentium(R) CPU G6950, using default generic-smp-2.6.33.4-smp, powertop shows
Top causes for wakeups:
41.3% ( 76.6) <kernel core> : hrtimer_start_range_ns (tick_sched_timer)
76.6 is much less than 1001
btw, at that time when googling for the problem I found this:
heh, when the 1337 slack comes, i may play with the kernel configuration. Personally, I found no difference in the performance between 1000 Hz and 300 Hz I guess, when you _know_ it should run better, then you see it :P
As for the load, the default setting in Slackware is to turn on CPU frequency scaling only when running on battery power. You might want to change that. See here:
my issue had nothing to do with cpu frequency scaling. It is not normal for the cpu to heat up that much when idle, even if running at the highest cpu frequency.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.