Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1675 times and has 5 replies Next Thread
Grabbaren
Cruncher
Joined: Oct 23, 2007
Post Count: 11
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Feature request: Stoop running if CPU temperature goes high

Hi.

I know that on Windows computers I can install tthrottle to control cpu time so that the cpu temperature stays around a given temperature.

I recently have installed Linux on computers that previously had XP installed, and I'm not that much interrested in installing Wine. But of course I can, but I just doesn't wont to.

Therefore - to prevent overheating, espechially for laptops, I ask for a simple function that just pause all Boinc processes if the cpu temperature rises above a given temperature. And it should stay paused until cpu temperature goes down to a user specified temperature.
That way, I can cranc up the cpu time without worry for the computer health.

Maybe taskbar icon shift to a red version to indicate high cpu temp too (not important).

So - if I really wish the controll over temperature and nice gauges, I can always install TThrottle, but my idea is more for protection of the computer than fancy control.


Thanks
[Aug 20, 2017 6:14:17 PM]   Link   Report threatening or abusive post: please login first  Go to top 
SekeRob
Master Cruncher
Joined: Jan 7, 2013
Post Count: 2741
Status: Offline
Reply to this Post  Reply with Quote 
Re: Feature request: Stoop running if CPU temperature goes high

If it were easy, it would have long existed, your 'simple function'. Reality is, there is no one_stop_shop code to achieve this across the many Linux distributions.
[Aug 20, 2017 6:29:15 PM]   Link   Report threatening or abusive post: please login first  Go to top 
TonyEllis
Senior Cruncher
Australia
Joined: Jul 9, 2008
Post Count: 286
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Feature request: Stoop running if CPU temperature goes high

Agree with SekeRob it is not simple... However, have developed a better solution. Reduce the clock speed when the CPU reaches a certain temperature. This allows crunching to continue while containing the CPU temperature within a safe limit.

However, this does require some familiarity with basic script programming... details of what is done here on several linux machines based on Redhat derivatives at http://www.sraellis.tk/master-frame-control_cpu_temp.html. Some small modifications would be required for other distributions...
----------------------------------------
----------------------------------------
[Edit 1 times, last edit by TonyEllis at Aug 21, 2017 1:16:23 AM]
[Aug 21, 2017 1:15:23 AM]   Link   Report threatening or abusive post: please login first  Go to top 
KLiK
Master Cruncher
Croatia
Joined: Nov 13, 2006
Post Count: 3108
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Feature request: Stoop running if CPU temperature goes high

Agree with SekeRob it is not simple... However, have developed a better solution. Reduce the clock speed when the CPU reaches a certain temperature. This allows crunching to continue while containing the CPU temperature within a safe limit.

However, this does require some familiarity with basic script programming... details of what is done here on several linux machines based on Redhat derivatives at http://www.sraellis.tk/master-frame-control_cpu_temp.html. Some small modifications would be required for other distributions...

Tony, why can't this be done as an install? So that is has scripts pre-written & you only put in the top temp. & let it run.

That could be made for one type of Linux, like:
- version for Ubuntu
- version for Redhat
- version for Fedora
etc...

I'd gladly give somebody 200GRC for a little programming of that. wink
----------------------------------------
oldies:UDgrid.org & PS3 Life@home


non-profit org. Play4Life in Zagreb, Croatia
----------------------------------------
[Edit 1 times, last edit by KLiK at Aug 21, 2017 7:56:50 AM]
[Aug 21, 2017 7:56:09 AM]   Link   Report threatening or abusive post: please login first  Go to top 
TonyEllis
Senior Cruncher
Australia
Joined: Jul 9, 2008
Post Count: 286
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Feature request: Stoop running if CPU temperature goes high

KLiK I just wanted to show what is possible. There are other options available. A really quick search came up with several... for instance...

http://seperohacker.blogspot.com.au/2012/10/l...-cool-with-frequency.html
https://ask.fedoraproject.org/en/question/315...ds-and-control-fan-speed/
https://unix.stackexchange.com/questions/2498...uards-for-cpu-temperature
https://itsfoss.com/reduce-overheating-laptops-linux/

If anybody want to develop something based on my work, am happy to make the actual scripts available and provide further clarification and explanation as required. Note though that I have no Linux experience outside Redhat and Redhat derived distributions and Fedora.
----------------------------------------
[Aug 21, 2017 9:18:03 AM]   Link   Report threatening or abusive post: please login first  Go to top 
KerSamson
Master Cruncher
Switzerland
Joined: Jan 29, 2007
Post Count: 1684
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Feature request: Stoop running if CPU temperature goes high

For multicore/multithread CPU, one easy - but not elegant - way could be to limit the number of active threads in order to reduce the overall CPU load and to add back the threads if the environmental temperature is colder.
It is very "primitive" but it should work.
At the other side, I should take a deeper look in my (very) old Unix documentation, it should be possible at the program invocation to limit the available CPU resource for the invoked program. If I remember correctly, it cannot be modified dynamically (only at invocation time).
Otherwise, the built-in CPU thermal protection seems to work well as long as it is not inhibited at BIOS/UEFI level (in my case, Asus motherboard).
Cheers,
Yves
----------------------------------------
[Aug 21, 2017 12:58:20 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread