Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] AMD 64 Cool'n'Quite
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Tue Nov 30, 2004 6:26 am    Post subject: [SOLVED] AMD 64 Cool'n'Quite Reply with quote

Hi Leute,

Ich hab schon die suchen Funktion benutzt und einiges rausgefunden zum Thema. Nur hab ich trotzdem immer noch ein kleines Problem. Hab im Kernel alle Power Management Governors aktiviert (built in) und die PowerNow Funktion des Athlon 64 im Kernel aktiviert (auch auf Motherboard - unter Windows funzt es). Dann hab ich powernowd emerged und das hat auch alles super geklappt, nur wenn ich powernowd mit powernowd start starte, sagt er mir, das er diese CPUfreq_max etc. Tabelle nicht finden kann. Hab sie aber ebenfalls im Kernel aktiviert. Muss man die irgendwie gesondert erstellen oder sowas? Im "Verzeichniss" wo die Dateien liegen sollten, ist nüx. Wenn ja woher bekomm ich die Daten etc. bzw. was mache ich falsch?


Last edited by b0rG on Tue Dec 14, 2004 5:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Throx
n00b
n00b


Joined: 18 May 2004
Posts: 25

PostPosted: Tue Nov 30, 2004 7:11 am    Post subject: Reply with quote

probier mal cpudyn, damit liefs bei mir eigentlich sofort...
zu powernow kann ich leider kein statement abgeben
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Tue Nov 30, 2004 7:39 am    Post subject: Reply with quote

ok thx! werds dann mal testen... trotzdem würde mich das mit dem powernowd interessieren :P
Back to top
View user's profile Send private message
uwe0815
n00b
n00b


Joined: 23 Oct 2004
Posts: 21

PostPosted: Tue Nov 30, 2004 10:18 am    Post subject: Reply with quote

Hi,
userspace muß der default governor sein, sonst gehts glaube nicht. Ansonsten funtioniert powernowd prima bei mir.

Uwe
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Tue Nov 30, 2004 6:18 pm    Post subject: Reply with quote

userspace hab ich auch als default eingestellt (nicht performance), geht aber trotzdem nicht :(
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Tue Nov 30, 2004 6:54 pm    Post subject: Reply with quote

Mach mal folgendes:

- Installiere einen Kernel >= 2.6.9 und aktiviere den Scheduler 'ondemand' in den Powersave-Optionen
- Deinstalliere cpudyn, powernowd usw.
- echo 'ondemand' > /sys/devices/system/cpu/cpu0/scaling_govenor

Und fertig!
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Tue Nov 30, 2004 7:28 pm    Post subject: Reply with quote

ok ich probiers! thx!
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Sat Dec 04, 2004 3:23 pm    Post subject: Reply with quote

bekomme dann folgenden fehler:
bash: /sys/devices/system/cpu/cpu0/scaling_govenor: Permission denied
bin als root eingeloggt...
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Sat Dec 04, 2004 3:25 pm    Post subject: Reply with quote

den bekomme ich auch
Back to top
View user's profile Send private message
zinion
Guru
Guru


Joined: 27 Oct 2004
Posts: 541
Location: Ruhgebietshausen

PostPosted: Sat Dec 04, 2004 3:32 pm    Post subject: Reply with quote

Ich habe einfach powernowd emerged, dann liefs super.

Code:

bash-2.05b# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 15
model name      : AMD Athlon(tm) 64 Processor 3500+
stepping        : 0
cpu MHz         : 1001.310
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 1966.08
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp


^^ Brav auf niedrigstem level und steigt bei Auslastung sofort hoch. Als Beispiel mal direkt während des Startens von evolution:

Code:

bash-2.05b# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 15
model name      : AMD Athlon(tm) 64 Processor 3500+
stepping        : 0
cpu MHz         : 2202.883
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 4325.37
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

_________________
Es ist schön und warm
hier im Gentoo-Land
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Sat Dec 04, 2004 4:03 pm    Post subject: Reply with quote

naja nutzt mir nur nichts
Back to top
View user's profile Send private message
zinion
Guru
Guru


Joined: 27 Oct 2004
Posts: 541
Location: Ruhgebietshausen

PostPosted: Sat Dec 04, 2004 11:47 pm    Post subject: Reply with quote

Was nutzt dir nichts?

Wenn du den ganzen anderen Scheiss runterwrifst und powernowd emerged solte es gehen. Im BIOS ist Cool'n'Quiet aktiviert?
_________________
Es ist schön und warm
hier im Gentoo-Land
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Sun Dec 05, 2004 1:25 pm    Post subject: Reply with quote

cool'n'quite ist aktiviert...
hab den ganzen "scheiß" runtergeworfen...
funzt trotzdem nicht...
Back to top
View user's profile Send private message
RealGeizt
l33t
l33t


Joined: 22 Apr 2003
Posts: 700

PostPosted: Mon Dec 06, 2004 7:44 am    Post subject: Reply with quote

hi!
ich benutze cool'n'quite mit cpudyn und habe keine probleme damit.
hier ist ein kleines mini-howto, damit es auch bei dir funktioniert :)

1) kernel: so sollte deine kernel config aussehen
Code:

 [*] Power Management support
 CPU Frequency scaling  --->
 [*] CPU Frequency scaling
< >   /proc/cpufreq interface (deprecated)                                                 
 Default CPUFreq governor (performance)  --->                                         
 ---   'performance' governor                                                               
 <*>   'powersave' governor                                                                 
 <*>   'userspace' governor for userspace frequency scaling                                 
 [ ]     /proc/sys/cpu/ interface (2.4. / OLD)                                               
 <*>   CPU frequency table helpers                                                           
 ---   CPUFreq processor drivers                                                             
 <*> AMD Opteron/Athlon64 PowerNow!


2)cpudyn emergen:
Code:
emerge cpudyn


3)cpudyn in den default runlevel schmeissen, damit es beim booten gleich aktiviert wird.
Code:
rc-update add cpudyn default


4)cpudyn anpassen:
in der config datei kannst du alles genau festlegen, was passieren soll wenn :)
ich schalte hier auch noch meine platten in den standby modus, wenn sie länger wie 10 minuten nicht gebraucht werden.
hier ist meine
Code:
/etc/conf.d/cpudyn


Code:
# Cpudyn configure options

################################################
# COMMON OPTIONS
################################################

#
# Internal between idle ratio tests in 1/10 sec increments
#

INTERVAL=1

################################################
# CPUFREQ OPTIONS
################################################

#
# CPU idle work ratio to speed up
#

CPU_UP=0.5

#
# CPU idle work ratio to speed down
#

CPU_DOWN=0.9

#
# when using cputhrottling, what state to switch when speeding down
#

THROTTLING_LOW=7

#
# Count also niced process in CPU usage. Default is no.
#

#NICE=yes

################################################
# DISK OPTIONS
# (disabled by default)
################################################

#
# Timeout to put the disk in standby mode if there was no
# io during that period (in seconds)
#

TIMEOUT=600

#
# Specified disks to spindown (comma separated devices)
#

DISKS=/dev/hda,/dev/hdb,/dev/hdc


################################################
# Special Startup Options
# (you shouldn't need to change these)
################################################
# cpufreq sources for 2.4 kernels
CPUFREQ_24="/proc/cpufreq"
# cpufreq sources for 2.5/2.6 kernels
CPUFREQ_25="/sys/devices/system/cpu/cpu0/cpufreq /sysfs/devices/system/cpu/cpu0/cpufreq"
# pure acpi cpufreq
CPUFREQ_ACPI="/proc/acpi/processor/CPU0/throttling"


5)cpudyn starten:
Code:
/etc/init.d/cpudyn start


mit
Code:
cat /proc/cpuinfo

kannst du das ganze überwachen.
wenn deine cpu im leerlauf ist, dann hat sie eine niedrige taktrate (bei mir 800 mhz) und wenn du ein programm startest dann wird sie voll ausgelastet (bei mir 2000 mhz).

sieht bei mir praktisch so aus:
a)cpu im leerlauf
Code:

chris@cKy : 2 files 814Kb $ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 4
model name      : AMD Athlon(tm) 64 Processor 3000+
stepping        : 8
cpu MHz         : 800.059
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 1576.14
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp


b)hier bei auslastung
Code:
chris@cKy : 2 files 814Kb $ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 4
model name      : AMD Athlon(tm) 64 Processor 3000+
stepping        : 8
cpu MHz         : 2000.148
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 3940.35
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp


viel spass damit :)

ps: mit
Code:
dmesg | grep powernow

kannst du sehen, ob es in deinem kernel aktiviert wurde und unterstützt wird.
bei mir liefert er die ausgabe...deine wird wohl so ähnlich sein.
Code:
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09b)
powernow-k8:    0 : fid 0xc (2000 MHz), vid 0x2 (1500 mV)
powernow-k8:    1 : fid 0xa (1800 MHz), vid 0x6 (1400 mV)
powernow-k8:    2 : fid 0x0 (800 MHz), vid 0xa (1300 mV)
powernow-k8: cpu_init done, current fid 0xc, vid 0x2


Last edited by RealGeizt on Mon Dec 06, 2004 8:02 am; edited 4 times in total
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Mon Dec 06, 2004 7:48 am    Post subject: Reply with quote

@RealGeizt

VIELEN LIEBEN DANK! :)

Ich werds gleich ausprobieren, wenn ich mein Gentoo Image wieder eingespielt habe!
Back to top
View user's profile Send private message
RealGeizt
l33t
l33t


Joined: 22 Apr 2003
Posts: 700

PostPosted: Mon Dec 06, 2004 7:52 am    Post subject: Reply with quote

b0rG wrote:
@RealGeizt

VIELEN LIEBEN DANK! :)

Ich werds gleich ausprobieren, wenn ich mein Gentoo Image wieder eingespielt habe!


kein problem :)
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Tue Dec 07, 2004 6:05 pm    Post subject: Reply with quote

jo, funktioniert ganz gut.
Code:
cpu MHz         : 1004.900
CPU Temp:  +34.5°C  (high =   +80°C, hyst =   +75°C)

endlich nen bissl kälter :wink: (also lieber nicht im Winter benutzen)
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Tue Dec 07, 2004 6:34 pm    Post subject: Reply with quote

Hab alles der Anleitung nach gemacht... bekomme anschließend folgenden Fehler:

* Starting cpudynd ...
* Neither CPUFreq nor ACPI throttling support were found [ !! ]

bekomme zudem folgenden fehler:

borg ~ # dmesg | grep powernow
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09b)
powernow-k8: BIOS error: numpst must be 1
powernowd[11579]: segfault at 0000003b9220fe1b rip 0000003b921443f7 rsp 0000007fbfffec80 error 7
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Wed Dec 08, 2004 9:35 am    Post subject: Reply with quote

b0rG wrote:
Hab alles der Anleitung nach gemacht... bekomme anschließend folgenden Fehler:

* Starting cpudynd ...
* Neither CPUFreq nor ACPI throttling support were found [ !! ]

bekomme zudem folgenden fehler:

borg ~ # dmesg | grep powernow
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09b)
powernow-k8: BIOS error: numpst must be 1
powernowd[11579]: segfault at 0000003b9220fe1b rip 0000003b921443f7 rsp 0000007fbfffec80 error 7

Bitte einen neueren Kernel probieren (z.B. 2.6.10-rc3). Problem dürfte dann gelöst sein.
Back to top
View user's profile Send private message
SuEt
Apprentice
Apprentice


Joined: 11 Oct 2002
Posts: 169
Location: Schweiz - Zurich

PostPosted: Wed Dec 08, 2004 10:56 am    Post subject: Reply with quote

@ b0rG:

hab genau den selben Fehler. Solltest du das Asus K8V SE Delux Mobo besitzen:
Irgendwo in diesem Forum (https://forums.gentoo.org/viewtopic.php?t=209184&highlight=cool+k8v) steht, dass dieses Problem mit dem Asus K8V SE Delux entsteht, wenn man die Bios Version 1.04 verwendet. Ein Downgrade zu Version 1.03 sollte den Fehler beheben (habs noch nicht getestet, warte auf die Version 1.05).

Gruss
SuEt
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Wed Dec 08, 2004 10:59 am    Post subject: Reply with quote

SuEt wrote:
@ b0rG:

hab genau den selben Fehler. Solltest du das Asus K8V SE Delux Mobo besitzen:
Irgendwo in diesem Forum (https://forums.gentoo.org/viewtopic.php?t=209184&highlight=cool+k8v) steht, dass dieses Problem mit dem Asus K8V SE Delux entsteht, wenn man die Bios Version 1.04 verwendet. Ein Downgrade zu Version 1.03 sollte den Fehler beheben (habs noch nicht getestet, warte auf die Version 1.05).

Gruss
SuEt

Oder eben einen aktuellen kernel benutzen...
Back to top
View user's profile Send private message
b0rG
n00b
n00b


Joined: 12 Jul 2004
Posts: 42

PostPosted: Wed Dec 08, 2004 11:33 am    Post subject: Reply with quote

hab ein msi mainboard... egal... ich probiers mal mit nem neuen kernel...

die frage ist nur wie... hab bis jetzt immer den kernel von gentoo-dev-sources benutzt (emergen halt), anschließend make menuconfig und dann make && make modules_install... dann das ganze halt in /boot kopiert... nur was mach ich mit dem patch für 2.6.10...? ist eine bz2 datei... hab sie entpackt und jetzt hab ich eine rc3 datei... was mach ich mit der?

hab noch nie einen direkt von kernel.org "installiert"
Back to top
View user's profile Send private message
SuEt
Apprentice
Apprentice


Joined: 11 Oct 2002
Posts: 169
Location: Schweiz - Zurich

PostPosted: Wed Dec 08, 2004 11:37 am    Post subject: Reply with quote

@ b0rG:

in der Datei /usr/src/linux/README steht beschrieben, wie man einen Patch einspielt. Einfach den Anweisungen folgen.

@brodo:

jups, hab den Post von dir gelesen, dachte aber, dass eine Alternative auch interessant sein könnte :wink:
Back to top
View user's profile Send private message
RealGeizt
l33t
l33t


Joined: 22 Apr 2003
Posts: 700

PostPosted: Wed Dec 08, 2004 3:36 pm    Post subject: Reply with quote

b0rG wrote:
hab ein msi mainboard... egal... ich probiers mal mit nem neuen kernel...

die frage ist nur wie... hab bis jetzt immer den kernel von gentoo-dev-sources benutzt (emergen halt), anschließend make menuconfig und dann make && make modules_install... dann das ganze halt in /boot kopiert... nur was mach ich mit dem patch für 2.6.10...? ist eine bz2 datei... hab sie entpackt und jetzt hab ich eine rc3 datei... was mach ich mit der?

hab noch nie einen direkt von kernel.org "installiert"


ich habe auch ein msi board und benutze den 2.6.9-gentoo-r6 dev-sources kernel.
für die 2.6 kernelreihe ist das commando anders wie beim 2.4er.

Code:
make all modules_install
ist offiziell für 2.6

so kannst du einen patch anwenden.
1) geh in das verzeichnis, in dem sich die zu patchende datei befindet dann;

Code:
cat /pfad/zum/patch | patch -p1
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Wed Dec 08, 2004 4:11 pm    Post subject: Reply with quote

brodo wrote:
SuEt wrote:
@ b0rG:

hab genau den selben Fehler. Solltest du das Asus K8V SE Delux Mobo besitzen:
Irgendwo in diesem Forum (https://forums.gentoo.org/viewtopic.php?t=209184&highlight=cool+k8v) steht, dass dieses Problem mit dem Asus K8V SE Delux entsteht, wenn man die Bios Version 1.04 verwendet. Ein Downgrade zu Version 1.03 sollte den Fehler beheben (habs noch nicht getestet, warte auf die Version 1.05).

Gruss
SuEt

Oder eben einen aktuellen kernel benutzen...


Wobei aktuell z.b. development-sources (zur Zeit 2.6.10_rc3) sind, damit funktionierts hier mit einem Asus K8V SE Deluxe.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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