Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
overclocks being reset?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
KCE
n00b
n00b


Joined: 04 Jul 2007
Posts: 38
Location: Los Angeles

PostPosted: Sat Jul 14, 2007 2:57 am    Post subject: overclocks being reset? Reply with quote

I run Intel Xeons "Woodcrest" 5120s. Their stock speeds are 1.86GHz but I've pin modded them to do 2.33Ghz. I have C1 (speedstepping) disable in the BIOS. When I startup my system and do "cat /proc/cpuinfo" it reports the cores running at 1867.000 which shouldn't be. Is power management/cpufrequency changing it? To maintain my overclocks must I remove cpu frequency support from the kernel?

EDIT: Okay I noticed when I do "emerge --sync", it reports the speeds ~2.4Ghz which is correct. ?
_________________
Quote:
data corruption is only a minor issue in filesystems.

lol
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sat Jul 14, 2007 3:27 am    Post subject: Reply with quote

First of all, the cpuinfo shows stock speed, so that is not accurate.

emerge --sync shows the processor speed of the server you are grabbing from.

Please show output of "cpufreq-info"

hih,
poly-p man
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Sun Jul 15, 2007 3:54 am    Post subject: Reply with quote

May I chip in here? I'm having the same sort of problem, my C2Q gets reported as 900MHz and 600MHz even though it's clocked at 2.7GHz (stock 2.4GHz)
cpufreq-info :
Code:

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: 600 MHz - 900 MHz
  available frequency steps: 900 MHz, 600 MHz
  available cpufreq governors: conservative, ondemand, userspace
  current policy: frequency should be within 600 MHz and 900 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz.
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 600 MHz - 900 MHz
  available frequency steps: 900 MHz, 600 MHz
  available cpufreq governors: conservative, ondemand, userspace
  current policy: frequency should be within 600 MHz and 900 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz.
analyzing CPU 2:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 2
  hardware limits: 600 MHz - 900 MHz
  available frequency steps: 900 MHz, 600 MHz
  available cpufreq governors: conservative, ondemand, userspace
  current policy: frequency should be within 600 MHz and 900 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz.
analyzing CPU 3:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 3
  hardware limits: 600 MHz - 900 MHz
  available frequency steps: 900 MHz, 600 MHz
  available cpufreq governors: conservative, ondemand, userspace
  current policy: frequency should be within 600 MHz and 900 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz.


And yet cpuinfo gives:
Code:

cat cpuinfo
processor       : 0
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz
cpu MHz         : 600.000
cache size      : 4096 KB
siblings        : 4
core id         : 0
cpu cores       : 4
cpuid level     : 10
bogomips        : 5403.36
power management:

processor       : 1
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz
cpu MHz         : 600.000
cache size      : 4096 KB
siblings        : 4
core id         : 3
cpu cores       : 4
cpuid level     : 10
bogomips        : 5400.17
power management:

processor       : 2
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz
cpu MHz         : 600.000
cache size      : 4096 KB
siblings        : 4
core id         : 1
cpu cores       : 4
cpuid level     : 10
bogomips        : 5400.20
power management:

processor       : 3
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz
cpu MHz         : 600.000
cache size      : 4096 KB
siblings        : 4
core id         : 2
cpu cores       : 4
cpuid level     : 10
bogomips        : 5400.18
power management:


(Irrelevant bits snipped)

Note the ~5400 bogomips (of course, 5400/2 = 2700)
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Sun Jul 15, 2007 5:01 am    Post subject: Reply with quote

I think what cpuinfo is not always right. On my pc, cpuinfo sais my cpu runs at 1.86ghz while in truth i overclocked it to 2,7 or something. I can see my real frequency through "dmesg | grep Hz" or as bogomips/2. The thing with bogomips is that's it's cpu dependant and not all cpus in linux have their frequency as bogomips/2. I've got core2duo e6300.
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Sun Jul 15, 2007 5:15 am    Post subject: Reply with quote

Try "x86info -mhz"
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Sun Jul 15, 2007 3:56 pm    Post subject: Reply with quote

darklegion wrote:
Try "x86info -mhz"

Ohhh ... nice app ;)

Code:

Found 4 CPUs
--------------------------------------------------------------------------
CPU #1
/dev/cpu/0/cpuid: No such file or directory
Family: 6 Model: 15 Stepping: 7 Type: 0 Brand: 0
CPU Model: Core 2 Duo  Original OEM
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR
Extended feature flags:
 SYSCALL xd em64t lahf_lm
Cache info
 L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L3 unified cache: 4MB, 16-way associative. 64 byte line size.
TLB info
 Instruction TLB: 4x 4MB page entries, or 8x 2MB pages entries, 4-way associative
 Instruction TLB: 4K pages, 4-way associative, 128 entries.
 Data TLB: 4MB pages, 4-way associative, 32 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 Data TLB: 4K pages, 4-way associative, 256 entries.
 64 byte prefetching.
The physical package supports 4 logical processors

2.70GHz processor (estimate).

--------------------------------------------------------------------------
CPU #2
Family: 6 Model: 15 Stepping: 7 Type: 0 Brand: 0
CPU Model: Core 2 Duo  Original OEM
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR
Extended feature flags:
 SYSCALL xd em64t lahf_lm
Cache info
 L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L3 unified cache: 4MB, 16-way associative. 64 byte line size.
TLB info
 Instruction TLB: 4x 4MB page entries, or 8x 2MB pages entries, 4-way associative
 Instruction TLB: 4K pages, 4-way associative, 128 entries.
 Data TLB: 4MB pages, 4-way associative, 32 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 Data TLB: 4K pages, 4-way associative, 256 entries.
 64 byte prefetching.
The physical package supports 4 logical processors

2.70GHz processor (estimate).

--------------------------------------------------------------------------
CPU #3
Family: 6 Model: 15 Stepping: 7 Type: 0 Brand: 0
CPU Model: Core 2 Duo  Original OEM
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR
Extended feature flags:
 SYSCALL xd em64t lahf_lm
Cache info
 L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L3 unified cache: 4MB, 16-way associative. 64 byte line size.
TLB info
 Instruction TLB: 4x 4MB page entries, or 8x 2MB pages entries, 4-way associative
 Instruction TLB: 4K pages, 4-way associative, 128 entries.
 Data TLB: 4MB pages, 4-way associative, 32 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 Data TLB: 4K pages, 4-way associative, 256 entries.
 64 byte prefetching.
The physical package supports 4 logical processors

2.70GHz processor (estimate).

--------------------------------------------------------------------------
CPU #4
Family: 6 Model: 15 Stepping: 7 Type: 0 Brand: 0
CPU Model: Core 2 Duo  Original OEM
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR
Extended feature flags:
 SYSCALL xd em64t lahf_lm
Cache info
 L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L3 unified cache: 4MB, 16-way associative. 64 byte line size.
TLB info
 Instruction TLB: 4x 4MB page entries, or 8x 2MB pages entries, 4-way associative
 Instruction TLB: 4K pages, 4-way associative, 128 entries.
 Data TLB: 4MB pages, 4-way associative, 32 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 L0 Data TLB: 4MB pages, 4-way set associative, 16 entries
 Data TLB: 4K pages, 4-way associative, 256 entries.
 64 byte prefetching.
The physical package supports 4 logical processors

2.70GHz processor (estimate).

--------------------------------------------------------------------------
WARNING: Detected SMP, but unable to access cpuid driver.
Used Uniprocessor CPU routines. Results inaccurate.

The fact that the governor doesn't see it like that annoys me ...
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Sun Jul 15, 2007 6:06 pm    Post subject: Reply with quote

My older athlon64 tells the real frequency with cpuinfo even if I overclock it. Cpuinfo reports what cpuid instruction sais and not the real thing or what the kernel uses internally. I think it's a bios issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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