2

how can force system to use only 50% of CPU power using TLP? i mean which items should be changed in tlp config file (etc/default/tlp)?

5
  • Why would you want to reduce CPU power to 50%? What is the problem that you're trying to solve? Overheating? Cheers, Al
    – heynnema
    Sep 24, 2016 at 19:32
  • yes.fan working problem.
    – hliadramzy
    Sep 25, 2016 at 5:36
  • How old is the computer? Desktop or laptop? Do you have a dual-boot configuration? If so, do the fans work under Windows? Best we try and solve the fan problem instead of trying to reduce CPU. Cheers, Al
    – heynnema
    Sep 25, 2016 at 10:53
  • hp 8460p. no dual boot.but in windows every things is ok.in linux for every job that cause increasing cpu usage such as previewing images file in nautilus fan goes to high.i had disabled fan always working in ac mode at bios.also in battery mode in linux there is no problem.
    – hliadramzy
    Sep 25, 2016 at 11:47
  • I'll have to place my lengthy reply in an answer, below... Cheers, Al
    – heynnema
    Sep 25, 2016 at 14:05

2 Answers 2

2

Thats quite simple provided your CPU uses the intel_pstate driver:

CPU_MAX_PERF_ON_BAT=50

Refer to configuration for details.

1

OK, here we go...

First... DON'T TURN OFF YOUR FAN IN THE BIOS. You'll burn up your machine.

I want you to check your BIOS. I went to http://h20564.www2.hp.com/hpsc/swd/public/readIndex?sp4ts.oid=5056901&swLangOid=8&swEnvOid=2020 and found an older BIOS update. Please check this against your version. I'll show it below...

enter image description here

Next, I want you to upgrade your processor microcode, by installing intel-microcode using Synaptic. Install it, reboot the computer, and then in terminal type dmesg|grep microcode to see it in action.

Next, remove TLP and any other such tools installed, and instead, install thermald, again using Synaptic. In its default configuration, it should work on most machines out of the box. However there is a thermal-conf.xml file which can be customized for your hardware. I wrote a custom .xml file for my laptop. Read up (man) thermald and thermal-conf.xml to get more info. Thermald can be run in --no-daemon mode to see what it's doing, and to help write your own custom .xml file.

Next... with age, computers, especially laptops, get very dusty inside, and it clogs up fans and electronics. With the computer TURNED OFF, take a vacuum cleaner with an exhaust port, and blow dust out of the computer through the vents in the bottom case.

Do all these things and report back. Cheers, Al

edit: if all this fails, we'll check the following...

My fan is always on but not in MSWindows (HP elitebook 8460p)

Ubuntu 14.04 EliteBook 8460p constant fan, hot, short battery

https://ubuntuforums.org/showthread.php?t=1764858&p=10848757#post10848757 (this one has a minor error)

12
  • could you send me your thermald conf file?wich items should be changed?i dont want my cpu temp goes over 45 degree.
    – hliadramzy
    Sep 25, 2016 at 14:45
  • First do ALL of the things that I suggested first, and lets see if they solve the problem. Please report back EXACT details of your results. My conf file can't be dropped in instead of the default, but it can be used as an example. I can always send you my conf later. Cheers, Al
    – heynnema
    Sep 25, 2016 at 14:53
  • ok. bios is up to date.this is my thermald conf file. wikisend.com/download/676852/thermal-conf.xml
    – hliadramzy
    Sep 25, 2016 at 15:46
  • Did you have to update the BIOS, or was it already up to date? Did you do the other items yet? Your thermal-conf.xmf is a good start. Did you use the --no-daemon mode to get you some of the values/etc? You need to remove the last 75% of example code, and I think that you need to change the line <influence> 100 </influence> because I don't think you want two devices with the same value. Please report back IN DETAIL about the other items, so that I know what eventually helped, or not. Cheers, Al
    – heynnema
    Sep 25, 2016 at 16:31
  • To see if thermald is working, in terminal, type sudo tail -f /var/log/syslog and start some app running that would normal kick in the fans. Cheers, Al
    – heynnema
    Sep 25, 2016 at 16:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .