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

Joao Rocha Braga Filho goffredo em gmail.com
Sábado Setembro 19 13:31:56 BRT 2015


2015-09-19 10:42 GMT-03:00 Paulo Henrique - BSDs Brasil <
paulo.rddck at bsd.com.br>:

>
>
> Em 19/09/2015 10:22, Nilton Jose Rizzo escreveu:
>
>> Em Sat, 19 Sep 2015 10:18:58 -0300, Paulo Henrique escreveu
>>
>>> Em 19/09/2015 10:15, "Nilton Jose Rizzo" <rizzo at i805.com.br> escreveu:
>>>
>>>> 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
>>>> **************************************************/
>>>>
>>>> -------------------------
>>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>>
>>> Rizzo está fritando ovo na ventoinha!?:-D
>>>
>>     Mas não é .... não tinha reparado essas coisas não e olha
>> que o cooler é o original e no inicio do ano troquei a pasta térmica
>> e puz uma a base de ouro para uma dissipação melhor, acho que está na hora
>> de fazer outra limpeza e comprar um watercooler
>>
>> em tempo o micro está aberto e como não tenho ar condicionado ,,,,
>> sim estou fritanti ovo e fazendo um misto quente kkkkkkk
>>
>
> Olhando aqui no meu sistema não tem a sysctl dev.cpu.0.freq que é criada
> pelo device cpufreq.
> O processador é um Quad-Core Q9450 rodando a 3.2Ghz
>
> last pid: 61264;  load averages:  0.58,  0.63,  0.53 up 2+01:56:59
> 10:34:23
> 144 processes: 1 running, 143 sleeping
> CPU 0:  3.9% user,  0.0% nice,  0.8% system,  2.3% interrupt, 93.0% idle
> CPU 1:  7.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 93.0% idle
> CPU 2:  8.6% user,  0.0% nice,  0.0% system,  0.8% interrupt, 90.6% idle
> CPU 3: 25.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 75.0% idle
> Mem: 2653M Active, 392M Inact, 848M Wired, 48M Cache, 420M Buf, 2740K Free
> Swap: 6144M Total, 993M Used, 5151M Free, 16% Inuse, 24K In
>
>   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME WCPU COMMAND
> 61026 NoRm4nD      42  20    0  1843M  1271M uwait   3   3:11 26.42%
> thunderbird
>  1191 NoRm4nD      62  20    0  2230M  1183M uwait   0 270:45 7.57% firefox
>  1155 NoRm4nD       6  20    0   185M 25424K select  1  78:48 1.66% xmms
>  1120 root          1  20    0  3253M 17176K select  2  55:10 0.88% Xorg
> 14976 NoRm4nD      36  20    0  1604M   141M uwait   1   4:58 0.00% java
>  1149 NoRm4nD       4  20    0   232M 13800K uwait   1   3:07 0.00%
> xfsettingsd
>  8351 www          27  20    0   556M 65800K accept  0   2:17 0.00% httpd
>  1147 NoRm4nD       3  23    0   214M 14048K select  1   1:49 0.00%
> xfce4-panel
> 32477 www          27  20    0   556M 67796K accept  1   1:45 0.00% httpd
> 41905 NoRm4nD       4  20    0   288M 68300K uwait   2   1:07 0.00%
> xfdesktop
>  1187 NoRm4nD       1  20    0   137M 16324K select  3   1:06 0.00% xfe
> 45642 www          27  20    0   556M 86056K accept  1   0:54 0.00% httpd
> root at MATILDA:/home/NoRm4nD #
>
> root at MATILDA:/home/NoRm4nD # ./temperatura.csh
> sysctl: unknown oid 'dev.cpu.0.freq': No such file or directory
> dev.cpu.3.temperature: 65,0C
> dev.cpu.2.temperature: 65,0C
> dev.cpu.1.temperature: 65,0C
> dev.cpu.0.temperature: 70,0C
> sysctl: unknown oid 'dev.cpu.0.freq': No such file or directory
> dev.cpu.3.temperature: 64,0C
> dev.cpu.2.temperature: 65,0C
> dev.cpu.1.temperature: 65,0C
> dev.cpu.0.temperature: 71,0C
> dev.cpu.3.temperature: 64,0C
> dev.cpu.2.temperature: 66,0C
> dev.cpu.1.temperature: 67,0C
> dev.cpu.0.temperature: 70,0C
> dev.cpu.3.temperature: 64,0C
> dev.cpu.2.temperature: 65,0C
> dev.cpu.1.temperature: 65,0C
> dev.cpu.0.temperature: 70,0C
> dev.cpu.3.temperature: 64,0C
> dev.cpu.2.temperature: 65,0C
> dev.cpu.1.temperature: 67,0C
> dev.cpu.0.temperature: 69,0C
> dev.cpu.3.temperature: 63,0C
> dev.cpu.2.temperature: 65,0C
> dev.cpu.1.temperature: 64,0C
> dev.cpu.0.temperature: 69,0C
> dev.cpu.3.temperature: 63,0C
> dev.cpu.2.temperature: 65,0C
> dev.cpu.1.temperature: 65,0C
> dev.cpu.0.temperature: 71,0C
> dev.cpu.3.temperature: 65,0C
> dev.cpu.2.temperature: 68,0C
> dev.cpu.1.temperature: 63,0C
> dev.cpu.0.temperature: 68,0C
> dev.cpu.3.temperature: 65,0C
> dev.cpu.2.temperature: 67,0C
> dev.cpu.1.temperature: 67,0C
> dev.cpu.0.temperature: 70,0C
> dev.cpu.3.temperature: 65,0C
> dev.cpu.2.temperature: 65,0C
> dev.cpu.1.temperature: 65,0C
> dev.cpu.0.temperature: 71,0C
> dev.cpu.3.temperature: 64,0C
> dev.cpu.2.temperature: 66,0C
> dev.cpu.1.temperature: 64,0C
> dev.cpu.0.temperature: 70,0C
>
>
> A maquina está fechada e a temperatura ambiente não deve estar passando
> dos 24ºC.
>
> Vou ali fazer um misto quente também com ovo frito que não está nada frio
> a cpu daqui, troquei a pasta termica e fiz uma limpeza no equipamento em
> Julho.
>


O que é isto?

O processador mais frio aqui é o que nunca trocou a pasta térmica, e tem
mais de 6 anos e meio de uso. :^o

root:SUPER[1045] sysctl dev.cpu.0.freq=2500
dev.cpu.0.freq: 1250 -> 2500
root:SUPER[1046] sysctl -a | grep dev.cpu...temperature
dev.cpu.3.temperature: 50,1C
dev.cpu.2.temperature: 50,1C
dev.cpu.1.temperature: 50,1C
dev.cpu.0.temperature: 50,1C
root:SUPER[1047] w
13:18  up 2 days, 14:53, 21 users, load averages: 0,40 0,72 1,44
USER       TTY      FROM                                      LOGIN@  IDLE
WHAT

Se bem que é o menor clock daqui.


João Rocha.

PS: entre o aumento de frequência e a exibição de temperatura se passaram
minutos.



> Att.
>
>> Kkk
>>> Att.
>>> -------------------------
>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>
>>
>> ---
>> /*************************************************
>> **Nilton José Rizzo            UFRRJ
>> **http://www.rizzo.eng.br      http://www.ufrrj.br
>> **http://lattes.cnpq.br/0079460703536198
>> **************************************************/
>>
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
>
> --
> :UNI><BSD:
>
> Paulo Henrique.
> UnixBSD Tecnologia
> Segurança em Tecnologia da Informação.
> Fone: (21) 96713-5042 / (21) 3708-9388
> Site: https://www.unixbsd.com.br
>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
>


-- 
"Sempre se apanha mais com as menores besteiras. Experiência própria."

http://jgoffredo.blogspot.com
goffredo at gmail.com


Mais detalhes sobre a lista de discussão freebsd