Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Core2Duo minimal frequency too high
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
Munin
n00b
n00b


Joined: 30 Jun 2007
Posts: 41
Location: Germany

PostPosted: Sun Jan 20, 2008 7:42 pm    Post subject: [SOLVED]Core2Duo minimal frequency too high Reply with quote

got a problem with my Asus F3JM Laptop (Core2Duo T5600, 1.83GHz,2MB L2 Cache, ICH7 chipset)
since 2.6.23-r5 can't use my wifi device (intel ipw3945) I use 2.6,23-r1 atm (Gentoo sources in both cases)

under windoze the cpu is throttled down way further when the cord is unplugged, to be more precise:
standard frequency: ~1830MHz
standard on batteries: 869MHz (or smthn like that)
"battery saving" profile: 239MHz (jup, 239, I know it looks pretty f****** low)

Gentoo keeps telling me the lowest possible frequency is 996MHz, messing with throttling states (for example using klaptopdaemon) doesn't seem to have any effect

I'd say Windoze messes with the FSB to get down to 239MHz but I doubt it does just to get down to 869MHz

I assume its not a common problem since most other ppl complain(ed) about their max frequency being too low

let me know if you need any more info

thanks in advance for any help
_________________
Laptop: Asus F3JM | Core2Duo T5600 | 2048MB DDR2 RAM | GeForce Go 7600 | TuxOnIce 2.6.31
Desktop: custom | Core2Quad Q9650 | 4096MB DDR2 RAM | GeForce GTX285 | TuxOnIce 2.6.32


Last edited by Munin on Tue Jan 22, 2008 11:46 am; edited 1 time in total
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 814

PostPosted: Sun Jan 20, 2008 8:05 pm    Post subject: Re: Core2Duo minimal frequency too high Reply with quote

Munin wrote:
got a problem with my Asus F3JM Laptop (Core2Duo T5600, 1.83GHz,2MB L2 Cache, ICH7 chipset)
since 2.6.23-r5 can't use my wifi device (intel ipw3945) I use 2.6,23-r1 atm (Gentoo sources in both cases)

under windoze the cpu is throttled down way further when the cord is unplugged, to be more precise:
standard frequency: ~1830MHz
standard on batteries: 869MHz (or smthn like that)
"battery saving" profile: 239MHz (jup, 239, I know it looks pretty f****** low)

Gentoo keeps telling me the lowest possible frequency is 996MHz, messing with throttling states (for example using klaptopdaemon) doesn't seem to have any effect

I'd say Windoze messes with the FSB to get down to 239MHz but I doubt it does just to get down to 869MHz

I assume its not a common problem since most other ppl complain(ed) about their max frequency being too low

let me know if you need any more info

thanks in advance for any help


It sounds like Windows is misreporting the frequency. I believe your Linux installation is correct because 1Ghz is as low as a Merom should go. As far as I know only Socket P core2duo's have dynamic FSB frequency switching and even then it just cuts it in half, 239 Mhz is way too low to be right.
Back to top
View user's profile Send private message
MostAwesomeDude
Guru
Guru


Joined: 12 Aug 2007
Posts: 373

PostPosted: Mon Jan 21, 2008 12:23 am    Post subject: Reply with quote

Nah, it's reporting right; Core 2 chips should never go below 1GHz. Windows may be doing ACPI throttling in combination with CPU frequency scaling, which could cause an "apparent" change in speed.
_________________
Don't believe the "n00b" under my name.
Back to top
View user's profile Send private message
Munin
n00b
n00b


Joined: 30 Jun 2007
Posts: 41
Location: Germany

PostPosted: Mon Jan 21, 2008 1:55 pm    Post subject: Reply with quote

ok, these answers weren't exactly what I expected, I'm "a little" confused now...
activating the "battery saving" profile under windows really slows the system down a lot, increasing the time it runs on batteries to more than 2 and a half hours but rendering me unable to watch videos or do similar stuff, even starting applications takes ages, that's why I guessed 239MHz was more or less correct.
thanks for the answers anyway

at this point I got another question
here's a short excerps from dmesg:
Code:
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU1] (supports 8 throttling states)


what's the difference between "power states" and "throttling states"? I assume the "power states" are responsible for the CPUs frequency, being 1826MHz, 1328MHz and 996 MHz, yet I somehow miss C0 in dmesg, I know I read it during boot some time

Code:
cat /proc/acpi/processor/CPU1/throttling
state count:             8
active state:            T0
state available: T0 to T7
states:
   *T0:                  00%
    T1:                  12%
    T2:                  25%
    T3:                  37%
    T4:                  50%
    T5:                  62%
    T6:                  75%
    T7:                  87%

changing the throttling state (via klaptopdaemon if I remember right) apparently didn't change anything, so what is changing the throttling state supposed to do?
_________________
Laptop: Asus F3JM | Core2Duo T5600 | 2048MB DDR2 RAM | GeForce Go 7600 | TuxOnIce 2.6.31
Desktop: custom | Core2Quad Q9650 | 4096MB DDR2 RAM | GeForce GTX285 | TuxOnIce 2.6.32
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Mon Jan 21, 2008 4:00 pm    Post subject: Reply with quote

Munin wrote:
activating the "battery saving" profile under windows really slows the system down a lot, increasing the time it runs on batteries to more than 2 and a half hours

FWIW, I regularly get a full 3 and a half hours out of the exact same laptop[1] on a decent day. I've never run Windows on it, though, so I have no idea whether or not the 996 MHz minimal frequency cpufreq reports is correct. To be honest I suspect that cpufreq is correct, and that you misread 1328 MHz as 238 MHz in Windows.

C0 is supported by all processors -- it is the default state, where the CPU is always active and no power saving is done. The reason only C1 and C2 are shown to be supported is that you have it plugged in. Like on quite a few other laptops, the BIOS only opens up the lowest CPU power levels (C3 and C4 on this laptop, some others have C5 as well) when you're on battery.

Also, I have tuxonice-sources-2.6.23-r6, and wireless works fine for me with both ipw3945 and iwl3945 - care to explain your problem?



[1] (although I only have a single GB of RAM, would like to know where you got the other one and what you do with it)
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
x22
Apprentice
Apprentice


Joined: 24 Apr 2006
Posts: 208

PostPosted: Mon Jan 21, 2008 4:14 pm    Post subject: Reply with quote

C-states (a.k.a. sleep states or C0, C1, C2, etc) turn off parts of processor when it is not used (changes in C state occur many times per second on an idle system). C-states should work automatically if there is kernel support and if the laptop has correct ACPI.

P-states (P0, P1, P2, ...) control frequency and voltage. (P-states are ACPI interface to Speedstep.)

Throttling states (T0, T1, ...) control frequency too but they are less effective for saving power than Speedstep.
Back to top
View user's profile Send private message
niskel
Guru
Guru


Joined: 17 Nov 2004
Posts: 457
Location: Fredericton, NB, Canada

PostPosted: Mon Jan 21, 2008 5:55 pm    Post subject: Reply with quote

This is a problem with the BIOS in most Asus laptops. I have an Asus A8Js with similar problems. There is a bug over at the kernel's bugzilla that has fixes/patches for some models; it might be worth looking at or commenting on. http://bugzilla.kernel.org/show_bug.cgi?id=7578
Back to top
View user's profile Send private message
MostAwesomeDude
Guru
Guru


Joined: 12 Aug 2007
Posts: 373

PostPosted: Mon Jan 21, 2008 7:58 pm    Post subject: Reply with quote

ACPI throttling (T-states) tells the CPU to be idle for a set percentage of cycles, effectively slowing down the CPU. However, it doesn't really save any power; the main use of ACPI throttling is to regulate temperature.
_________________
Don't believe the "n00b" under my name.
Back to top
View user's profile Send private message
Munin
n00b
n00b


Joined: 30 Jun 2007
Posts: 41
Location: Germany

PostPosted: Tue Jan 22, 2008 11:45 am    Post subject: Reply with quote

I'm on batteries atm and just like you said C3 and C4 are now available

I might boot my desktop to windows and try to record a video of the laptop using the webcam (which seized to work under Linux :S), just to demonstrate how daaamn slow it really gets^^ (let me know if you wanna see it)

Quote:
FWIW, I regularly get a full 3 and a half hours out of the exact same laptop[1] on a decent day.
never really checked how long Linux runs on batteries, Windows usually runs for less than 2 hours, except in case I go for "battery saving", but in that case I really can only browse the web or write code, can't say for sure if I can listen to music, like stated above watching videos is a no-go. Yet sometimes its just what I need, for example when I sit in a lecture hall.

Quote:
I've never run Windows on it, though, so I have no idea whether or not the 996 MHz minimal frequency cpufreq reports is correct. To be honest I suspect that cpufreq is correct, and that you misread 1328 MHz as 238 MHz in Windows.
I might not have the best eyes but I still can read, so I definately didn't misread it, if there's an error, and that's probably the case, windows is lieing (ok, wouldn't really be a big surprise^^)
I just still wonder why it shows such a low frequency and why the normal frequency on batteries is below 900MHz, too :?: anyway, guess I'm gna say "solved" anyway since my questions have been answered

Quote:
[1] (although I only have a single GB of RAM, would like to know where you got the other one and what you do with it)
I bought it like that^^ I didn't change the hardware, I only got rid of that stupid rescue partition and repartitioned the disc;
I still run Windoze XP for some games and I guess the second GB is pretty helpful for that :)

Quote:
Also, I have tuxonice-sources-2.6.23-r6, and wireless works fine for me with both ipw3945 and iwl3945 - care to explain your problem?

r5 tries to access data that isn't there, can't recall what data atm but I guess I'll get it sorted out, after all I got my wireless card working for r1, too. Most likely I'll give r6 a try next week, since you say its working I shouldn't have any problems.... I hope
_________________
Laptop: Asus F3JM | Core2Duo T5600 | 2048MB DDR2 RAM | GeForce Go 7600 | TuxOnIce 2.6.31
Desktop: custom | Core2Quad Q9650 | 4096MB DDR2 RAM | GeForce GTX285 | TuxOnIce 2.6.32
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