[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cpufreq at celeron-m



Доброго дня.

Воодушевленный http://grafit.mchtr.pw.edu.pl/~szczedar/nx9020.html
попробовал сделать cpufreq на celeron-m

Итак, диспозиция:
hp nx9020 с celeron-m 340 (1.5 GHz) который по заявлению производителя
не поддерживает технологию speed-step. 

И действительно, при попытке подключить модуль cpufreq-centrino 
(а равно как и любой другой помимо ниже описанного) вылезала ошибка 
no such device.

В ядро (2.6.11.7 + acpi-20050309 + некоторые  патчи от debian) включил 
p4-clockmod; cpufreqd при установке распознал p-точки, его конфги я
немного изменил, чтобы при переходе на батарею он понижал частоту.
Поставил "powersave governon" модулем, загрузил модули
p4-clockmod
cpufeq-powersave

При переходе на батарею частота снижается до 750 МГц, при интенсивной
загрузке (scimark2) переходит на 935 МГц.

/proc/cpuinfo для трех состояний (внешнее питание, батарея,
батарея+загрузка процессора); конфиг ядра (то что касается cpufreq);
конфиг cpufreqd; результаты scimark2 (внешнее питание, батарея) во
вложении.

Кто-нибудь может подтвердить или опровергнуть эту информацию?

-- 
:Wq
Not an editor command: Wq
CONFIG_MPENTIUMM=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_TABLE=m
CONFIG_X86_P4_CLOCKMOD=m
CONFIG_X86_SPEEDSTEP_LIB=m
# this is a comment
#
# you need: 1 [General] section, 
#           1 or more [Profile] sections
#	          1 or more [Rule] sections
#
# a section ends at the first blank line
#
# [Rule] sample:
#           [Rule]
#           name=sample_rule
#           ac=on                    # (on/off)
#           battery_interval=0-10
#           cpu_interval=30-60
#           programs=xine,mplayer
#           profile=sample_profile
#
# [Profile] sample:
#           [Profile]
#           name=sample_profile
#           minfreq=1187500
#           maxfreq=1500000
#           policy=performance
#
# see CPUFREQD.CONF(5) manpage for a complete reference

[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=acpi #(acpi, apm or pmu)
# Uncomment the following line to enable ACPI workaround (see cpufreqd.conf(5))
# acpi_workaround=1
verbosity=4 #(if you want a minimal logging set to 5)

[Profile]
name=hi_boost
minfreq=1053750
maxfreq=1500000
policy=performance

[Profile]
name=medium_boost
minfreq=620625
maxfreq=1053750
policy=performance

[Profile]
name=lo_boost
minfreq=187500
maxfreq=620625
policy=performance

[Profile]
name=lo_power
minfreq=187500
maxfreq=620625
policy=powersave

# conservative mode when not AC
[Rule]
name=conservative
ac=off                   # (on/off)
battery_interval=0-100   
cpu_interval=0-40
profile=lo_boost

# need some power
[Rule]
name=lo_cpu_boost
ac=off                   # (on/off)
battery_interval=0-100
cpu_interval=30-80
profile=medium_boost

# need big power (not if battery very low)
[Rule]
name=hi_cpu_boost
ac=off                   # (on/off)
battery_interval=50-100
cpu_interval=70-100
profile=medium_boost

# full power when AC
[Rule]
name=AC_on
ac=on                   # (on/off)
profile=hi_boost

# full power when watching DVDs and not AC:
# this is the last rule and takes less
# precedence with respect to the others
[Rule]
name=dvd_watching
ac=off                   # (on/off)
battery_interval=0-100
programs=xine,mplayer,avidemux
cpu_interval=0-100
profile=medium_boost
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 9
model name	: Intel(R) Celeron(R) M processor         1500MHz
stepping	: 5
cpu MHz		: 1496.547
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe
bogomips	: 2965.50

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 9
model name	: Intel(R) Celeron(R) M processor         1500MHz
stepping	: 5
cpu MHz		: 935.341
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe
bogomips	: 1853.44

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 9
model name	: Intel(R) Celeron(R) M processor         1500MHz
stepping	: 5
cpu MHz		: 748.273
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe
bogomips	: 1482.75

**                                                              **
** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
** for details. (Results can be submitted to pozo@nist.gov)     **
**                                                              **
Using       2.00 seconds min time per kenel.
Composite Score:          352.01
FFT             Mflops:   284.08    (N=1024)
SOR             Mflops:   439.94    (100 x 100)
MonteCarlo:     Mflops:    56.63
Sparse matmult  Mflops:   398.40    (N=1000, nz=5000)
LU              Mflops:   580.99    (M=100, N=100)
**                                                              **
** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
** for details. (Results can be submitted to pozo@nist.gov)     **
**                                                              **
Using       2.00 seconds min time per kenel.
Composite Score:          213.32
FFT             Mflops:   171.68    (N=1024)
SOR             Mflops:   266.15    (100 x 100)
MonteCarlo:     Mflops:    34.15
Sparse matmult  Mflops:   242.73    (N=1000, nz=5000)
LU              Mflops:   351.89    (M=100, N=100)

Reply to: