Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0019
by
kk003
on 03/09/2017, 13:54:04 UTC
This is the scheme of my setup. Is a box 44cm wide x 32cm high and gpus are setup on two levels one on top of other. (1060 3Gb gpu)
There is a raspberry pi wich allows me to reset/poweroff-on and control the inside temps using 5 sensors DS18B20.
12 fans push fresh air inside the box. They feed on an external psu. Temps with power limite 92W are 57-68ºC.
By the way I had a big cpu load (5-14) when I had power limit to 72W. Once set to 92W got down to 1.5-2.2 (yes I know no good yet, but much better).
I use a celeron g3900, looking forward to upgrade to I3.
I post this hoping the schematic helps others like me who have their rig in remote locations.
Here the code bits for temps, poweron/off and reset.

Code:
#!/bin/bash
# Script name: poweron-poweroff.sh
# El script apaga o enciende el equipo al que esta conectado
# usando el canal 1 del rele
GPIO_POWER=24
gpio -g mode $GPIO_POWER out
sleep 2
# Enciende o apaga el equipo segun su estado previo
gpio -g write $GPIO_POWER 1
sleep 1 # Lo mantengo activado 1 segundo
gpio -g write $GPIO_POWER 0
exit
Code:
#!/bin/bash
# Nombre script: reset_remoto.sh
# El script resetea el equipo al que esta conectado
# usando el canal 2 del rele
GPIO_RESET=23
gpio -g mode $GPIO_RESET out
sleep 2
# Resetea el equipo
gpio -g write $GPIO_RESET 1
sleep 1 # Lo mantengo pulsado 1 segundo
gpio -g write $GPIO_RESET 0
exit
Code:
#!/bin/bash
Nombre script: show_temp_sensores.sh
# El script lee la temperatura de los sensores
NOMBRES_DIR=/root/nombres
/bin/ls /sys/bus/w1/devices/ | grep 28* > $NOMBRES_DIR
N=$(/bin/cat $NOMBRES_DIR | wc -l)
echo "Numero de sensores : " $N
for ((LINEAS=1; LINEAS <= $N ; LINEAS=LINEAS+1))
do
NOMBRE_FILE=`/bin/sed -n -e "${LINEAS}p" $NOMBRES_DIR`
TEMP=$(/bin/cat /sys/bus/w1/devices/$NOMBRE_FILE/w1_slave | grep t= | awk -F= '{ printf "%.2f C\n", $2/1000}')
echo -n "Sensor$LINEAS :" $NOMBRE_FILE
echo " - Temp " $TEMP
done