[FUG-BR] [Curiosidade] Velocidade de queda da temperatura baixando o clock.

Nilton Jose Rizzo rizzo em i805.com.br
Sábado Setembro 19 10:14:00 BRT 2015


Em Fri, 18 Sep 2015 00:10:57 -0300, Joao Rocha Braga Filho escreveu



Aqui em casa rodando um Athon XP II 64
last pid: 59718;  load averages:  1.60,  1.62,  1.72                  up
5+12:28:23  10:07:16
109 processes: 1 running, 106 sleeping, 2 zombie
CPU: 11.3% user,  0.0% nice, 44.9% system,  2.1% interrupt, 41.6% idle
Mem: 573M Active, 5895M Inact, 1343M Wired, 832M Buf, 124M Free
Swap: 3852M Total, 369M Used, 3482M Free, 9% Inuse

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
31757 rizzo       123  20    0  1055M   553M select  1 189:01 102.34% firefox
59642 rizzo         1  21    0 27992K  6472K select  1   0:51   2.77% ssh
 1248 rizzo         1  20    0  3236M 24484K select  0  79:05   2.28% Xorg
 1357 rizzo         6  20    0   511M 97344K select  1  64:44   1.15% ktorrent
  565 root          1  20    0 16664K   888K select  1   0:48   1.12% moused
 1261 rizzo         1  20    0   178M 11432K select  0   2:38   0.76% xfwm4
59641 rizzo         1  20    0 25756K  4444K select  1   0:03   0.21% scp
31786 rizzo        10  20    0  1670M    99M select  1   4:34   0.12% midori
59718 root          1  20    0 21932K  3456K CPU1    1   0:00   0.09% top
 1320 rizzo         3  20    0   508M 23388K select  0   6:54   0.07% cairo-dock
 1029 mysql        16  20    0   241M  5616K select  0   1:40   0.02% mysqld
 1325 rizzo         1  20    0   191M  3820K select  0   0:36   0.02% python2.7
 1419 rizzo         1  20    0 74808K  5232K select  0   0:09   0.01% xterm
 1255 rizzo         1  20    0 17068K  1856K select  0   0:28   0.01% dbus-daemon
59635 rizzo         1  20    0 74808K  9492K select  0   0:00   0.01% xterm
 1263 rizzo         4  20    0   230M 10052K select  0   0:23   0.01% xfce4-panel
 1266 rizzo         4  20    0   217M  9320K select  0   0:18   0.00% xfdesktop
 1178 haldaemon     2  20    0 60796K  3712K select  1   2:20   0.00% hald


dev.hwpstate.0.freq_settings: 3400/29680 2700/22417 2000/18225 800/7315
dev.cpu.0.freq_levels: 3400/29680 2700/22417 2000/18225 800/7315
dev.cpu.0.freq: 3400



Dei uma customizada no seu script João, como segue


root at valfenda:~ # more temperatura.csh
#!/bin/csh

set f=`sysctl -e dev.cpu.0.freq`
sysctl -a | grep dev.cpu...temperature
sysctl dev.cpu.0.freq=1250 
set c=10
while ( $c )
        sysctl -a | grep dev.cpu...temperature
        sleep 1
        @ c --
end
sysctl $f 

root at valfenda:~ # csh temperatura.csh 
dev.cpu.1.temperature: 82,6C
dev.cpu.0.temperature: 82,6C
dev.cpu.0.freq: 3400 -> 800
dev.cpu.1.temperature: 81,6C
dev.cpu.0.temperature: 81,6C
dev.cpu.1.temperature: 79,0C
dev.cpu.0.temperature: 79,0C
dev.cpu.1.temperature: 77,5C
dev.cpu.0.temperature: 77,5C
dev.cpu.1.temperature: 76,7C
dev.cpu.0.temperature: 76,7C
dev.cpu.1.temperature: 76,5C
dev.cpu.0.temperature: 76,5C
dev.cpu.1.temperature: 76,0C
dev.cpu.0.temperature: 76,0C
dev.cpu.1.temperature: 75,6C
dev.cpu.0.temperature: 75,6C
dev.cpu.1.temperature: 75,3C
dev.cpu.0.temperature: 75,3C
dev.cpu.1.temperature: 75,0C
dev.cpu.0.temperature: 75,0C
dev.cpu.1.temperature: 74,7C
dev.cpu.0.temperature: 74,7C
dev.cpu.0.freq: 800 -> 3400
root at valfenda:~ # 


---
/*************************************************
**Nilton José Rizzo            UFRRJ
**http://www.rizzo.eng.br      http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**************************************************/



Mais detalhes sobre a lista de discussão freebsd