Nowe posty

Autor Wątek: Monitor częstotliwości procesora - nie zmniejsza częstotliwości  (Przeczytany 6662 razy)

  • Gość
Używając tego apletu kiedyś mogłem zmniejszyć częstotliwość, ale ostatnio zauważyłem, że po prostu nie mogę zmniejszyć taktowania.

Co mogło się stać i jak mógłbym to zmienić (korzystam z ubuntu na notebooku)

ra-v

  • Gość
Monitor częstotliwości procesora - nie zmniejsza częstotliwości
« Odpowiedź #1 dnia: 2010-08-31, 22:23:06 »
Naet jak robisz powersave to nic nie ma? Moduł cpufreq (lub cpu_freq) załadowany/wkompilowany?

  • Gość
Monitor częstotliwości procesora - nie zmniejsza częstotliwości
« Odpowiedź #2 dnia: 2010-09-01, 00:20:44 »
Hmm... nie mam takiego modułu. Szukałem go w repo, ale nie znalazłem. W internecie znalazłem tylko daemon cpufreqd?

ra-v

  • Gość
Monitor częstotliwości procesora - nie zmniejsza częstotliwości
« Odpowiedź #3 dnia: 2010-09-01, 10:04:30 »
A pokaż co masz w tym aplecie, bo u mnie są 4 możliwe opcje do wyboru.

  • Gość
Monitor częstotliwości procesora - nie zmniejsza częstotliwości
« Odpowiedź #4 dnia: 2010-09-03, 19:32:09 »
Mam 8 opcji 800 Mhz, 1,2 Ghz, 1,6 Ghz, 2,2 Ghz, Performance, Conservative, Powersave, Ondemand, z czym, że teraz system preferuje częstotliwość 1,6 Ghz, a procek ma max. 2,2 Ghz

ra-v

  • Gość
Monitor częstotliwości procesora - nie zmniejsza częstotliwości
« Odpowiedź #5 dnia: 2010-09-04, 00:34:00 »
Performance - ma zawsze max.
Powersave - ma zawsze min.

A jeden z tych dwóch pozostałych ustawia sobie sam częstotliwość (przynajmniej powinien) w zależności ile potrzebuje mocy procesora. Z tym że moze nie od razu po włączeniu trubu, lecz po chwili zmniejszyć częstotliwość (u mnie czasem 2 minuty po tym jak coś porobiłem częstotliwosć spadała.

Jeśli żadne z tych nie działa to spróbuj jako root echem  - echo tryb > /sys/.... - w "/sys/..." jest jakiś plik governor, tzreba go znaleźć i w niego wbić to echo.

Zobacz jeszcze co masz ustawione w "/etc/sysconfig/cpuspeed" lub odpowiedniku.

PS. Po częstotliwości widzę ze to Intel, bo na AMD to byś z 2.2 max do 1.5 przeskalował, chyba że się coś zmieniło.

  • Gość
Monitor częstotliwości procesora - nie zmniejsza częstotliwości
« Odpowiedź #6 dnia: 2010-09-08, 01:50:13 »
Niestety nie mogłem znaleźśc żadnego governora. Sprawa, się skomplikowała. Przy małym obciążeniu preferuje 2,2 Ghz, a przy dużo większym 1,6 Ghz (przy temp max 63 stop. gpu i obudowy). Modułu acpu-cpufreq nie mam nie mogę znaleźśc, a wyniki moich prac przedstawiam poniżej:

Cytuj
tomasz@tomasz-laptop:/media/DATA/tomasz$ lsmod
Module                  Size  Used by
i2c_dev                 6500  0
isofs                  31620  0
udf                    81188  0
crc_itu_t               1852  1 udf
usb_storage            52768  0
hso                    32972  2
aes_i586                8124  0
aes_generic            27484  1 aes_i586
twofish                 5948  0
twofish_common         13244  1 twofish
serpent                18044  0
xts                     2940  0
gf128mul                8860  1 xts
binfmt_misc             8356  1
ppdev                   6688  0
vboxnetflt             84840  0
vboxnetadp             78344  0
vboxdrv               121160  1 vboxnetflt
dm_crypt               12928  0
snd_hda_codec_realtek   203328  1
arc4                    1660  2
ecb                     2524  2
snd_hda_intel          27016  2
snd_hda_codec          75708  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               7200  1 snd_hda_codec
ath9k                 258744  0
mac80211              181140  1 ath9k
ath                     8060  1 ath9k
snd_pcm_oss            37920  0
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           2656  0
iptable_filter          3100  0
snd_seq_oss            28576  0
snd_seq_midi            6464  0
nvidia               9586440  43
agpgart                34988  1 nvidia
uvcvideo               59080  0
videodev               36736  1 uvcvideo
v4l1_compat            14336  2 uvcvideo,videodev
psmouse                57332  0
serio_raw               5280  0
cfg80211               93052  3 ath9k,mac80211,ath
ip_tables              11692  1 iptable_filter
x_tables               16544  1 ip_tables
snd_rawmidi            22176  1 snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
shpchp                 32272  0
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  2 snd_pcm,snd_seq
snd_seq_device          6920  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
i2c_nforce2             6784  0
snd                    59204  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               7264  1 snd
snd_page_alloc          9156  2 snd_hda_intel,snd_pcm
asus_laptop            17400  0
led_class               4096  2 ath9k,asus_laptop
lp                      8964  0
parport                35340  2 ppdev,lp
dm_raid45              84228  0
xor                    15620  1 dm_raid45
usbhid                 38208  0
r8169                  32160  0
mii                     5212  1 r8169
video                  19380  0
output                  2780  1 video
tomasz@tomasz-laptop:/media/DATA/tomasz$ modprobe acpi-cpufreq
FATAL: Module acpi_cpufreq not found.
tomasz@tomasz-laptop:/media/DATA/tomasz$ cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 2.20 GHz and 2.20 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 2.20 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (162)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 2.20 GHz and 2.20 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.20 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (76)
tomasz@tomasz-laptop:/media/DATA/tomasz$ sudo cpufreq-set -g powersave
tomasz@tomasz-laptop:/media/DATA/tomasz$ cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 2.20 GHz and 2.20 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 2.20 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (162)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 2.20 GHz and 2.20 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.20 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (76)
tomasz@tomasz-laptop:/media/DATA/tomasz$ sudo cpufreq-set -f 800Mhz
tomasz@tomasz-laptop:/media/DATA/tomasz$ cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 2.20 GHz and 2.20 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 2.20 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (162)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 2.20 GHz and 2.20 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.20 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (76)
tomasz@tomasz-laptop:/media/DATA/tomasz$ echo Odpaliłem na dwóch konsolach povray benchmark
Odpaliłem na dwóch konsolach povray benchmark
tomasz@tomasz-laptop:/media/DATA/tomasz$ cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.60 GHz and 1.60 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.60 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (163)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.60 GHz and 1.60 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.60 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (77)
tomasz@tomasz-laptop:/media/DATA/tomasz$ sudo cpufreq-set -g performance
tomasz@tomasz-laptop:/media/DATA/tomasz$ cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.60 GHz and 1.60 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.60 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (163)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 800 MHz - 2.20 GHz
  available frequency steps: 2.20 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.60 GHz and 1.60 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.60 GHz.
  cpufreq stats: 2.20 GHz:0,00%, 1.60 GHz:0,00%, 1.20 GHz:0,00%, 800 MHz:0,00%  (77)
tomasz@tomasz-laptop:/media/DATA/tomasz$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:       +63.0°C  (crit = +96.0°C)                  

tomasz@tomasz-laptop:/media/DATA/tomasz$ smartctl
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

ERROR: smartctl requires a device name as the final command-line argument.


Use smartctl -h to get a usage summary

tomasz@tomasz-laptop:/media/DATA/tomasz$ smartctl /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Smartctl open device: /dev/sda failed: Permission denied
tomasz@tomasz-laptop:/media/DATA/tomasz$ sudo smartctl /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

tomasz@tomasz-laptop:/media/DATA/tomasz$ sudo hddtemp /dev/sda
/dev/sda: ST9500325AS: 34°C
tomasz@tomasz-laptop:/media/DATA/tomasz$
Dane systemowe:

Cytuj
tomasz@tomasz-laptop:/sys/devices/system/cpu/cpu0/cpufreq$ ls
affected_cpus               related_cpus                   scaling_governor
cpuinfo_cur_freq            scaling_available_frequencies  scaling_max_freq
cpuinfo_max_freq            scaling_available_governors    scaling_min_freq
cpuinfo_min_freq            scaling_cur_freq               scaling_setspeed
cpuinfo_transition_latency  scaling_driver                 stats
tomasz@tomasz-laptop:/sys/devices/system/cpu/cpu0/cpufreq$ sudo cat *
0
2200000
2200000
800000
10000
0
2200000 1600000 1200000 800000
conservative ondemand userspace powersave performance
2200000
acpi-cpufreq
performance
2200000
2200000

cat: stats: Is a directory
Czyli wniosek, że czeka na moduł którego nie ma: acpi-cpufreq. Jak mógłbym go ręcznie doinstalować?

ra-v

  • Gość
Monitor częstotliwości procesora - nie zmniejsza częstotliwości
« Odpowiedź #7 dnia: 2010-09-08, 22:19:35 »
Jeśli poleceniem "moprobe" się nie da załadować tzn że w jądrze nie ma. Ja to wcześniej robiłem tak, że albo brałem inne jądro, albo sam je kompilowałem. A czy da się od tak doinstalować to nie wiem.