Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CPU Problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
Pioneer
n00b
n00b


Joined: 01 Mar 2004
Posts: 36
Location: Austria

PostPosted: Sat Feb 16, 2008 11:48 am    Post subject: CPU Problem Reply with quote

Hi!

Ich habe meine CPU Core2Duo E2140 auf 2,5 GHz geclocked doch unter Linux läuft er nur auf den "normalen Wert" von max. 1,6 GHz. Wo liegt das Problem?

Quote:
acpitool --cpu
CPU type : Genuine Intel(R) CPU 2140 @ 1.60GHz
Min/Max frequency : 1200/1600 MHz
Current frequency : 1600 MHz
Frequency governor : ondemand
Freq. scaling driver : acpi-cpufreq
Cache size : 1024 KB
Bogomips : 4976.16
Bogomips : 4972.81

# of CPU's found : 2

Processor ID : 0
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2

Processor ID : 1
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2


Quote:

cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0
hardware limits: 1.20 GHz - 1.60 GHz
available frequency steps: 1.60 GHz, 1.20 GHz
available cpufreq governors: conservative, ondemand, userspace, performance
current policy: frequency should be within 1.20 GHz and 1.60 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz (asserted by call to hardware).
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 1
hardware limits: 1.20 GHz - 1.60 GHz
available frequency steps: 1.60 GHz, 1.20 GHz
available cpufreq governors: conservative, ondemand, userspace, performance
current policy: frequency should be within 1.20 GHz and 1.60 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz (asserted by call to hardware).


Unter Windows z.b. läuft er im Idle mit 1,6Ghz und unter Last mit 2,5 Ghz, warum underclockt er unter Linux?

lg
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5209

PostPosted: Sat Feb 16, 2008 11:53 am    Post subject: Reply with quote

ich würde auf bios-bug genauer in der ACPI implementation tippen.
Da die verfügbaren CPU-frequenzen in einer der ACPI tabellen stehen. Und du den acpi-cpufreq verwendest.
Und linux underclockt ihn nicht sondern betreibt ihn mit seinem normalen takt von 1.6Ghz.

Du könntest mal folgendes probieren:
deaktiviere mal testweise cpufreq im kernel und dann schau mal ob unter linux der Prozessor dann mit 2,5Ghz (was bei dieser CPU eine Übertaktung ist) läuft.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Pioneer
n00b
n00b


Joined: 01 Mar 2004
Posts: 36
Location: Austria

PostPosted: Sat Feb 16, 2008 12:01 pm    Post subject: Reply with quote

Ok werde ich machen.

btw. Ich habe alles auf einem Asus P5B mit neuerstem Bios laufen.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5209

PostPosted: Sat Feb 16, 2008 12:07 pm    Post subject: Reply with quote

Pioneer wrote:
Ok werde ich machen.

btw. Ich habe alles auf einem Asus P5B mit neuerstem Bios laufen.

naja bisher galt ASUS nicht gerade als linux wohlwollend.

könntest du eventuell die ausgabe von
Code:
dmesg | grep ACPI

hier posten?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Pioneer
n00b
n00b


Joined: 01 Mar 2004
Posts: 36
Location: Austria

PostPosted: Sat Feb 16, 2008 12:15 pm    Post subject: Reply with quote

Quote:

dmesg | grep ACPI
BIOS-e820: 000000007ff90000 - 000000007ff9e000 (ACPI data)
BIOS-e820: 000000007ff9e000 - 000000007ffe0000 (ACPI NVS)
ACPI: RSDP 000FA9B0, 0014 (r0 ACPIAM)
ACPI: RSDT 7FF90000, 0038 (r1 MSTEST TESTONLY 11000726 MSFT 97)
ACPI: FACP 7FF90200, 0084 (r2 MSTEST OEMFACP 11000726 MSFT 97)
ACPI: DSDT 7FF905C0, 928C (r1 A0545 A0545000 0 INTL 20060113)
ACPI: FACS 7FF9E000, 0040
ACPI: APIC 7FF90390, 006C (r1 MSTEST OEMAPIC 11000726 MSFT 97)
ACPI: MCFG 7FF90400, 003C (r1 MSTEST OEMMCFG 11000726 MSFT 97)
ACPI: OEMB 7FF9E040, 007B (r1 MSTEST AMI_OEM 11000726 MSFT 97)
ACPI: HPET 7FF99850, 0038 (r1 MSTEST OEMHPET 11000726 MSFT 97)
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
ACPI: HPET id: 0x8086a202 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
ACPI: Core revision 20070126
tbxface-0598 [00] tb_load_namespace : ACPI Tables successfully acquired
evxfevnt-0091 [00] enable : Transition to ACPI mode successful
ACPI: bus type pci registered
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P7._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 *14 15)
ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - DE, should be D9 [20070126]
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 15 devices
ACPI: ACPI bus type pnp unregistered
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: SSDT 7FF9E0C0, 01C6 (r1 AMI CPU1PM 1 INTL 20060113)
ACPI: SSDT 7FF9E290, 013A (r1 AMI CPU2PM 1 INTL 20060113)
ACPI Exception (processor_core-0821): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI Exception (processor_core-0821): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 19 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 19 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 19
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 17 (level, low) -> IRQ 20
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 21
ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16


Btw. Ich will grad den neuen Kernel in /boot verschieben aber da ist nicht mein alter Kernel drinnen, sondern nur ein Link auf boot.
fstab:
Quote:

/dev/sda7 /boot ext3 noauto,noatime 1 2
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5209

PostPosted: Sat Feb 16, 2008 12:19 pm    Post subject: Reply with quote

/boot gemounted?
oder beim letzten mal vergessen /boot zu mounten?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Sat Feb 16, 2008 12:20 pm    Post subject: Reply with quote

Ich denke nicht, dass die CPU unter Linux langsamer läuft, es ist einzig die Anzeige falsch. Probiers doch mal aus, Kernel kompilieren einmal normal und einmal übertaktet. Die Frequenz wird ja nicht gemessen sondern einfach ausgelesen. Und da gibt es offiziell nur einige Werte. Wenn ich meine CPU (6420) übertakte, dann geht kein Powermanagment, dann läuft die immer voll. Gibt beim booten ne Meldung, dass da irgendwas nicht gefunden wird oder irgendwas nicht passt. Aber will da jetzt nicht groß rumspielen, um die zu bekommen.
Back to top
View user's profile Send private message
Pioneer
n00b
n00b


Joined: 01 Mar 2004
Posts: 36
Location: Austria

PostPosted: Sat Feb 16, 2008 12:36 pm    Post subject: Reply with quote

Quote:

acpitool --cpu
CPU type : Genuine Intel(R) CPU 2140 @ 1.60GHz
CPU speed : 2486.475 MHz
Cache size : 1024 KB
Bogomips : 4976.14
Bogomips : 4972.79

# of CPU's found : 2

Processor ID : 0
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2

Processor ID : 1
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2


So jetzt habe ich den Kernel ohne CPUFreq kompiliert. ;)
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5209

PostPosted: Sat Feb 16, 2008 12:40 pm    Post subject: Reply with quote

Pioneer wrote:
Quote:

acpitool --cpu
CPU type : Genuine Intel(R) CPU 2140 @ 1.60GHz
CPU speed : 2486.475 MHz
Cache size : 1024 KB
Bogomips : 4976.14
Bogomips : 4972.79

# of CPU's found : 2

Processor ID : 0
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2

Processor ID : 1
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2


So jetzt habe ich den Kernel ohne CPUFreq kompiliert. ;)


Scheint wirklich nur ein anzeige Problem zu sein wenn cpufreq aktiv ist. Denn bei beiden ausgaben sind die Bogomips identisch und diese werden beim starten des kernels gemessen.
Könntest du mal die CPU wieder mit ihrem normal takt laufen lassen und dann nochmal die Ausgabe von acpitool --cpu hier posten.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Pioneer
n00b
n00b


Joined: 01 Mar 2004
Posts: 36
Location: Austria

PostPosted: Sat Feb 16, 2008 12:44 pm    Post subject: Reply with quote

firefly wrote:
Pioneer wrote:
Quote:

acpitool --cpu
CPU type : Genuine Intel(R) CPU 2140 @ 1.60GHz
CPU speed : 2486.475 MHz
Cache size : 1024 KB
Bogomips : 4976.14
Bogomips : 4972.79

# of CPU's found : 2

Processor ID : 0
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2

Processor ID : 1
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2


So jetzt habe ich den Kernel ohne CPUFreq kompiliert. ;)


Scheint wirklich nur ein anzeige Problem zu sein wenn cpufreq aktiv ist. Denn bei beiden ausgaben sind die Bogomips identisch und diese werden beim starten des kernels gemessen.
Könntest du mal die CPU wieder mit ihrem normal takt laufen lassen und dann nochmal die Ausgabe von acpitool --cpu hier posten.


Stimmt wäre interessant. Mach ich gleich. ;)
Back to top
View user's profile Send private message
Pioneer
n00b
n00b


Joined: 01 Mar 2004
Posts: 36
Location: Austria

PostPosted: Sat Feb 16, 2008 12:48 pm    Post subject: Reply with quote

Quote:
acpitool --cpu
CPU type : Genuine Intel(R) CPU 2140 @ 1.60GHz
CPU speed : 1604.936 MHz
Cache size : 1024 KB
Bogomips : 3212.25
Bogomips : 3209.77

# of CPU's found : 2

Processor ID : 0
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2

Processor ID : 1
Bus mastering control : no
Power management : no
Throttling control : no
Limit interface : no
Active C-state : C1
C-states (incl. C0) : 2


Da dürfts wirklich nur was mit der Anzeige gehabt haben. ;)
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Sat Feb 16, 2008 1:21 pm    Post subject: Reply with quote

Laut http://en.wikipedia.org/wiki/BogoMips sollte für den Core 2 Duo gelten: BogoMips ~ 2 * Taktfrequenz in MHz, bei Deinen 2,5 GHz sollten also ca. 5000 BogoMips angezeigt werden. Wenn der Wert deutlich darunter liegt ist das ein Zeichen dafür, dass Dein Prozessor nicht mit 2,5 GHz läuft.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5209

PostPosted: Sat Feb 16, 2008 1:24 pm    Post subject: Reply with quote

schachti wrote:
Laut http://en.wikipedia.org/wiki/BogoMips sollte für den Core 2 Duo gelten: BogoMips ~ 2 * Taktfrequenz in MHz, bei Deinen 2,5 GHz sollten also ca. 5000 BogoMips angezeigt werden. Wenn der Wert deutlich darunter liegt ist das ein Zeichen dafür, dass Dein Prozessor nicht mit 2,5 GHz läuft.

das passt schon da BogoMIPS=4976.14
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Sat Feb 16, 2008 1:27 pm    Post subject: Reply with quote

Hm, ich weiss nicht. Wenn die Bogomips beim booten gemessen werden, kann es ja dennoch sein, dass du vom Governor später heruntergetaktet wirst. Sicher kann man da wohl nur sein, wenn der default governor im Kernel direkt auf powersave gesetzt wird und du nach dem booten auf performance umschaltest (oder andersrum?).
Ich würd eher nen Benchmark machen.
_________________
Death by snoo-snoo!
Back to top
View user's profile Send private message
rc
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 234

PostPosted: Sat Feb 16, 2008 4:44 pm    Post subject: Reply with quote

Hi,
papahuhn wrote:

Wenn die Bogomips beim booten gemessen werden, kann es ja dennoch sein, dass du vom Governor später heruntergetaktet wirst. Sicher kann man da wohl nur sein, wenn der default governor im Kernel direkt auf powersave gesetzt wird und du nach dem booten auf performance umschaltest (oder andersrum?).
Ich würd eher nen Benchmark machen.

Code:

cat /proc/cpuinfo

gibt hier jeweils zum aktuellen Takt auch die passenden Bogo-Mips aus.

Gruß,
rc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum 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