Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Frequency scaling su amd64 [QUASI RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
otaku
Guru
Guru


Joined: 16 Dec 2004
Posts: 428
Location: Rho (MI)

PostPosted: Fri Jun 24, 2005 3:47 pm    Post subject: Frequency scaling su amd64 [QUASI RISOLTO] Reply with quote

Ciao a tutti, con l'arrivo del gran caldo ho deciso di impostare una politica di risparmio energetico (e termico ;)) per la cpu, visto che il computer è sempre acceso in camera...

Detto questo ricompilo il kernel aggiungendo il supoporto al frequency scaling, attivo dal bios il supporto per Cool 'n Quite... emergo quindi powernowd...

purtroppo con il demone in azione il clock non scende al di sotto di 1808.813 MHz...
ho provato anche cpudyn (stessa cosa) e cpufreqd che manco la cambia...

googolando, e sclerando in questo caldo pomeriggio leggo:
Code:
# cpufreq-info
cpufrequtils 0.3: cpufreq-info (C) Dominik Brodowski 2004
Per favore, comunicare errori e malfunzionamenti a linux@brodo.de.
analisi della CPU 0:
  modulo powernow-k8
  CPU per le quali e` necessario cambiare la frequenza contemporaneamente: 0
  limiti hardware: 1000 MHz - 2.00 GHz
  frequenze disponibili: 1000 MHz, 1.80 GHz, 2.00 GHz
  gestori disponibili: ondemand, powersave, userspace, performance
  gestore corrente: la frequenza deve mantenersi tra 1.32 GHz e 2.00 GHz.
                   Il gestore "ondemand" puo` decidere quale velocita` usare
                  in questo intervallo.
  la frequenza attuale della CPU e` 1.80 GHz (ottenuta da una chiamata diretta all'hardware).

in particolare:
Code:
gestore corrente: la frequenza deve mantenersi tra 1.32 GHz e 2.00 GHz.

non è che a causa del gestore di corrente che non scende sotto i 1800?

qualcuno avrebbe qualche idea da proporre...


grazie a tutti in anticipo
_________________
Ventiquattr'ore al giorno in preda a una follia contorta...


Last edited by otaku on Sat Jun 25, 2005 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Jun 24, 2005 4:44 pm    Post subject: Re: Frequency scaling su amd64 Reply with quote

cosa dice il kernel sul tuo processore?
che frequenze hai disponibili?
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Fri Jun 24, 2005 5:20 pm    Post subject: Reply with quote

Che kernel hai e con che opzioni hai compilato (relative al cfs)?
_________________
about:mozilla
Back to top
View user's profile Send private message
otaku
Guru
Guru


Joined: 16 Dec 2004
Posts: 428
Location: Rho (MI)

PostPosted: Fri Jun 24, 2005 5:41 pm    Post subject: Reply with quote

ecco :D
Code:
  [*] CPU Frequency scaling
  [ ]   Enable CPUfreq debugging
  <*>   CPU frequency translation statistics
  [ ]     CPU frequency translation statistics details
        Default CPUFreq governor (userspace)  --->
  <*>   'performance' governor
  <*>   'powersave' governor
  ---   'userspace' governor for userspace frequency scaling
  <*>   'ondemand' cpufreq policy governor
  <*>   CPU frequency table helpers
  ---   CPUFreq processor drivers
  <*> AMD Opteron/Athlon64 PowerNow!
  < > Intel Enhanced SpeedStep
  <M> ACPI Processor P-States driver
  --- shared options
  [ ] /proc/acpi/processor/../performance interface (deprecated)


Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
1000000 1800000 2000000

_________________
Ventiquattr'ore al giorno in preda a una follia contorta...
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Jun 24, 2005 5:52 pm    Post subject: Reply with quote

otaku wrote:
Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
1000000 1800000 2000000

scusa...? 8O
che strano... perché solo tre frequenze? io ne ho sempre viste quattro o cinque, nei processori mobile
Back to top
View user's profile Send private message
otaku
Guru
Guru


Joined: 16 Dec 2004
Posts: 428
Location: Rho (MI)

PostPosted: Fri Jun 24, 2005 6:08 pm    Post subject: Reply with quote

k.gothmog wrote:
otaku wrote:
Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
1000000 1800000 2000000

scusa...? 8O
che strano... perché solo tre frequenze? io ne ho sempre viste quattro o cinque, nei processori mobile

è un desktop :)
_________________
Ventiquattr'ore al giorno in preda a una follia contorta...
Back to top
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Fri Jun 24, 2005 6:55 pm    Post subject: Reply with quote

io ho queste
Code:
2200000 2000000 1800000 1000000
e funziona tutto regolarmente, stesse opzioni tue nel kernel su un amd64@3200 Newcastle. Sicuro che la scheda mamma supporti a dovere il cool'n'quiet? La mia ha avuto bisogno di un'aggiornamento al bios.
_________________
~~ Per amore della rosa si sopportano le spine... ~~
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Fri Jun 24, 2005 7:16 pm    Post subject: Reply with quote

Se hai una delle prime schede madri per a64, c'è caso che il supporto non ci sia per niente (lo so che è un'idiozia enorme, ma è così)
_________________
about:mozilla
Back to top
View user's profile Send private message
otaku
Guru
Guru


Joined: 16 Dec 2004
Posts: 428
Location: Rho (MI)

PostPosted: Fri Jun 24, 2005 7:47 pm    Post subject: Reply with quote

il problema è che la frequenza cambia... ma di 200 MHz quando viene detto chiaramente che può arrivare a 1GHz :(
_________________
Ventiquattr'ore al giorno in preda a una follia contorta...
Back to top
View user's profile Send private message
otaku
Guru
Guru


Joined: 16 Dec 2004
Posts: 428
Location: Rho (MI)

PostPosted: Sat Jun 25, 2005 4:51 pm    Post subject: Reply with quote

il problema sembra essere dovuto a questo file
Code:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

che era impostato ad una frequenza più alta di 1GHz... per ora metto il comando
Code:
echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

in /etc/conf.d/local.start, esiste una soluzione un po' più elegante?
_________________
Ventiquattr'ore al giorno in preda a una follia contorta...
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Jun 26, 2005 8:18 am    Post subject: Reply with quote

Come prima cosa posso consigliarti di non usare demoni superflui, ma di lasciare fare tutto al modulo ondemand del kernel? Vedrai che è molto più veloce e reattivo degli altri ;)

Magari prova così, poi vediamo se il problema si ripresenta. Ci sono stati dei problemi un pò allucinanti sulle mobo per gli hammer più un anno e mezzo fa a proposito del cool'n'quiet... ma non mi sembra il tuo coso

Cya!
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum