Summertime and full year heatmap

AgentB
AgentB
Joined: 17 Mar 12
Posts: 915
Credit: 513211304
RAC: 0
Topic 208062

I have been logging the SSD temperature every 10 minutes for one of my crunchers for over 12 months.  it's located at the bottom of the case.

On the horizontal axis is the hour of day and vertical is month.

Case Heatmap

I'm thinking to script something like"crunch while temperature is < 32C" then shutdown until 22:00 to keep room temps sane. 

(boinccmd --quit  #stop boinc; rtcwake -m off --date 22:00:00 # restart later)

Anyone with other crunching plans for summer?

Shafa
Shafa
Joined: 31 May 05
Posts: 53
Credit: 627005014
RAC: 0

Yes.The crunching plan is

Yes.

The crunching plan is easy, June - August all my computers work only from approx. 20,00 till 09,00 (depending on the outside temps, controlled manually via teamviewer). In the meantime, they are just running idle.

Any working and helpful script to do it easily (not manually) will be appreciated :D  I am quite lazy to test it via cron or any other way...

Logforme
Logforme
Joined: 13 Aug 10
Posts: 332
Credit: 1714373961
RAC: 0

Any working and helpful

Any working and helpful script to do it easily (not manually) will be appreciated :D  I am quite lazy to test it via cron or any other way...

Can't you use the boinc manager? Options - Computing preferences. Daily schedules tab.

 

 

Jim1348
Jim1348
Joined: 19 Jan 06
Posts: 463
Credit: 257957147
RAC: 0

I keep the machines running

I keep the machines running year round for CPU work, but turn off the GPUs progressively.  The Maxwells (GTX 970 and 980) are off now, but I hope to keep the Pascals (GTX 1070) going all summer.  They are in the coolest part of the basement, and it could work, depending on how hot Donald thinks we should get.

 

Shafa
Shafa
Joined: 31 May 05
Posts: 53
Credit: 627005014
RAC: 0

Logforme wrote:Can't you

Logforme wrote:

Can't you use the boinc manager? Options - Computing preferences. Daily schedules tab.

 

Yes sure, but starting a script would be faster, especially if you have more than "a few" PCs... and you want to change the schedule according to temperature or other conditions...

 

Zalster
Zalster
Joined: 26 Nov 13
Posts: 3117
Credit: 4050672230
RAC: 0

Why not move your SSD?   I'm

Why not move your SSD?  

I'm sure you could find a sata extender and a molex L extender and be able to put the SSD somewhere else in your case.  

AgentB
AgentB
Joined: 17 Mar 12
Posts: 915
Credit: 513211304
RAC: 0

Zalster wrote:Why not move

Zalster wrote:
Why not move your SSD?

It is in the coolest part of the case now, i guess i could get a really long extender and put it outside the case!

I just use the SSD as a room thermometer (and system disk of course).

Zalster
Zalster
Joined: 26 Nov 13
Posts: 3117
Credit: 4050672230
RAC: 0

AgentB wrote:Zalster

AgentB wrote:
Zalster wrote:
Why not move your SSD?

It is in the coolest part of the case now, i guess i could get a really long extender and put it outside the case!

I just use the SSD as a room thermometer (and system disk of course).

Lol, I've done that before. First couple of rigs were real Frankenputers...

AgentB
AgentB
Joined: 17 Mar 12
Posts: 915
Credit: 513211304
RAC: 0

OK I was thinking about how

OK I was thinking about how to best do this and figured it needed to be penguin friendly (sorry MS owners)

  • temperature sensitive
  • sensible in that it didn't have too long off periods.  (or too short)
  • turn off gpu crunching first
  • turn off cpu second
  • and if passes a threshold shutdown (gracefully) and restart later.

So i've knocked a little script to run by cron every 10 minutes.  (I had a script running already to log temps and suchlike) - it does need root privs (sudo crontab) if you want to shutdown when too hot.

Be careful if you just cut and paste from here, there is some line wrapping which should be obvious.

 #!/bin/bash

# <snip logging stuff>

# set temps for suspending processes
#

CoolT=28                                        # Always crunch (degC)
GPUstopT=34                                     # GPU suspend temp
CPUstopT=35                                     # CPU suspend temp

ALLstopT=40                                     # shut down and restart later temp
RESTARTTIME=23:00                               # Nightime!
STOPTIME=1200                                   # suspend interval (seconds)

cd /var/lib/boinc-client                        # so boinccmd can find things like password files
RoomT=$(/usr/sbin/hddtemp -n /dev/sda)          # Get room temp using case SSD

#
# you could use the weather supplied by yahoo via tuxnet.de for temps!
#
# LOCATION=nnnnnnnn                               #Get weather temp from locationID at yahoo https://www.yahoo.com/news/weather/
#
# RoomT=$(curl --silent "http://weather.tuxnet24.de/?id=$LOCATION&mode=http" | grep  "current_temp " | cut "-d "  -f3)

# based on temperature suspend crunching for a while

if (( RoomT > GPUstopT )); then /usr/bin/boinccmd --set_gpu_mode never $STOPTIME ; fi                     #stop GPU
if (( RoomT > CPUstopT )); then /usr/bin/boinccmd --set_run_mode never $STOPTIME ; fi                     #Stop CPU
if (( RoomT < CoolT    )); then /usr/bin/boinccmd --set_run_mode always --set_gpu_mode always  ; fi       #Start both

# too hot!
# this needs root privs
if (( RoomT > ALLstopT )); then /usr/bin/boinccmd --quit; sleep 60; /usr/sbin/rtcwake -m off $RESTARTTIME ; fi   #shutdown and reboots later.

 

MAGIC Quantum Mechanic
MAGIC Quantum M...
Joined: 18 Jan 05
Posts: 1911
Credit: 1444822811
RAC: 1282605

Here where I am I still have

Here where I am I still have to use the GeForce running 24/7 to keep the house warm since the blazing climate change is supposed to be up to 63F by the 14th of June Wink

 

mikey
mikey
Joined: 22 Jan 05
Posts: 12780
Credit: 1867750061
RAC: 1848206

MAGIC Quantum Mechanic

MAGIC Quantum Mechanic wrote:
Here where I am I still have to use the GeForce running 24/7 to keep the house warm since the blazing climate change is supposed to be up to 63F by the 14th of June Wink 

I'd say I'd love to trade you but I wouldn't!! I'm on the opposite coast  and down a bit, near SC, and it's in the 80's both outside and in my finally finished computer room that has it's OWN a/c system!! I had to go with what's called a 'mini-split' because standard a/c units won't cool below about 50F and my room has no windows in it so still needs cooling even in the winter time. Windows meant a loss of wall space and the room is small enough now at only 7 feet by 13 feet by 10 feet high. The home builder messed up as the room was only supposed to be 8 feet high, but it's okay as it's the same height as the rest of the garage it was taken from. That means that the inside units are now way above head height and up and out of the way of everything else. I now run all of my hardware 24/7/365 and the a/c keeps the temps at the set temp of 82F. It could go alot lower but there's no point, except to spend more money on it, as the outside temp is at least that most days anyway.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.