You are not logged in.

#1 2010-06-25 14:03:14

Void_Walker
Member
Registered: 2009-06-17
Posts: 53

Atom N450 cpufreq problem

Greetings, travelers.
I have bought a new netbook recently and i am trying to make cpufreq work correctly. but! i cant set the core freq highter than 1,33GHz which isnt right. I have noticed that

[void@hp ~]$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.67 GHz
  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.33 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.33 GHz.
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.67 GHz
  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.33 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.33 GHz.

current policy enables only 1.33 GHz and and dont know how to change this.
Any ideas?
cpufreq-set -f 1.6GHz does not return any error, but it only sets the clock speed to 1.33GHz

Last edited by Void_Walker (2010-06-25 14:03:48)

Offline

#2 2010-06-25 14:28:16

f3ath
Member
From: Moscow, Russia
Registered: 2009-03-15
Posts: 9

Re: Atom N450 cpufreq problem

Do you have cpufreqd installed? If so, check /etc/conf.d/cpufreq

Offline

#3 2010-06-25 15:09:51

Void_Walker
Member
Registered: 2009-06-17
Posts: 53

Re: Atom N450 cpufreq problem

Ok, solved, i have been using acpi_cpufreq, it was enought to use

sudo modprobe p4-clockmod

Edit: ok, not solved, p4-clockmod does not solve this issue.

Last edited by Void_Walker (2010-06-26 16:15:38)

Offline

#4 2010-06-27 17:42:30

Void_Walker
Member
Registered: 2009-06-17
Posts: 53

Re: Atom N450 cpufreq problem

/sys/devices/system/cpu/cpu0/cpufreq/bios_limit contains a ugly number. 1333000. Since this file is read-olny i cant figure out how to change it. Any help? quite similar to this: http://bugs.archlinux.org/task/18901

Offline

#5 2010-06-27 18:16:59

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Atom N450 cpufreq problem

Void_Walker wrote:

/sys/devices/system/cpu/cpu0/cpufreq/bios_limit contains a ugly number. 1333000. Since this file is read-olny i cant figure out how to change it. Any help? quite similar to this: http://bugs.archlinux.org/task/18901

That number is not ugly, it's 1333000Hz or 1.33GHz. Of course it should be 1666000 instead, but I don't know how to help you get to that. Have you tried using the userspace governor and setting the freq manually?

Offline

#6 2010-06-27 18:46:30

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: Atom N450 cpufreq problem

Try put max_freq="1.67GHz"...In my n280 i solved so....


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#7 2010-06-27 19:49:21

Void_Walker
Member
Registered: 2009-06-17
Posts: 53

Re: Atom N450 cpufreq problem

Update: WORKAROUND: add "processor.ignore_ppc=1" to your kernel boot line, like this:

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 processor.ignore_ppc=1 ro
initrd /kernel26.img

and change the value in

/sys/module/processor/parameters/ignore_ppc

from 0 to 1

but still, this isn't a solution (yes, it does work, but... its only a workaround) sad hopefully, this will be solved in future, until then, you may stick with this...

Gusar wrote:

That number is not ugly, it's 1333000Hz or 1.33GHz. Of course it should be 1666000 instead, but I don't know how to help you get to that. Have you tried using the userspace governor and setting the freq manually?

Yes, I have tried to set the freq manualy. It was possible to change the freq in range of 1ghz to 1.33ghz, but not highter.

dieghen89 wrote:

Try put max_freq="1.67GHz"...In my n280 i solved so....

I already have done this long ago... my problem was that the bios_limit is set to 1.33ghz, whitch isn't the real maximum of my processor.

Last edited by Void_Walker (2010-06-27 20:19:54)

Offline

#8 2010-06-27 20:37:01

zhuk_av
Member
Registered: 2009-11-02
Posts: 36

Re: Atom N450 cpufreq problem

Don't you think that this is, probably, not a bug in the kernel? I own Acer Aspire One with Atom N270 processor. And /sys/devices/system/cpu/cpu0/cpufreq/bios_limit on my system contains 1600000. This is the highest frequency for N270. Can your netbook vendor set this value to 1.33 GHz for some unknown reason?

Offline

#9 2010-06-27 21:24:41

Void_Walker
Member
Registered: 2009-06-17
Posts: 53

Re: Atom N450 cpufreq problem

No, i doubt that this is the case... i have been buying this netbook fully aware of its hardware spec. like processor, ram, fsb and disk... (i own HP mini 5102 with Atom N450) i am positive that my maximum clock speed is no less than 1 666 000 Hz smile

Last edited by Void_Walker (2010-06-27 21:37:48)

Offline

#10 2010-06-27 21:45:06

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Atom N450 cpufreq problem

Void_Walker wrote:

No, i doubt that this is the case... i have been buying this netbook fully aware of its hardware spec. like processor, ram, fsb and disk... (i own HP mini 5102 with Atom N450) i am positive that my maximum clock speed is no less than 1 666 000 Hz smile

Well, it seems to be quite clear that the 1.33GHz thing comes from the BIOS. So I too would put the fault with the vendor and not the linux kernel. There are other N450 based netbooks out there and they clock to 1.66GHz in linux. Which netbook exactly do you have?

Offline

#11 2010-06-28 00:36:02

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: Atom N450 cpufreq problem

http://www.meyithi.com/2010-06-28-01262 … _scrot.png

http://www.meyithi.com/2010-06-28-01424 … _scrot.png

N450 on Samsung N220, as you can see I can run @ 1000 MHz, 1.33 GHz & 1.67 GHz with acpi-cpufreq driver.  I do run a custom kernel but all I have done is to change processor type to Atom, and I get the same scaling on stock kernel.

Last edited by Meyithi (2010-06-28 00:44:29)


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#12 2010-06-28 07:38:08

Void_Walker
Member
Registered: 2009-06-17
Posts: 53

Re: Atom N450 cpufreq problem

Yes, this may be the vendors fault. (but bios update did not solve this for me) so ill stick with the workaround until then. (i forgot to mension that i am using x86_64 version... ) anyway recompiling of kernel didn't change anything for me (i just recompiled the default settings + chnage of processor type) so it seems that it is really the vendors fault, i'll try and ask HP about it. But it makes me wonder since they *sell* their product with linux (opensuse) and from what i have found on google, it would seem that cpufreq doesnt work there correctly either....

Offline

#13 2010-06-28 08:36:26

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: Atom N450 cpufreq problem

I'd do another try before asking help to hp...I am the mainteiner of kernel-netbook on aur, and this kernel contains about all modules that a netbook needs...

You can try with this, and if it doens't work, you can contact hp...

p.s. i provide only i686 package, so you can pick the PKGBUILD, and modify it for a 64 bit system...With the stock kernel i've noticed always some problems that i solved ootb with kernel-netbook...


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

Board footer

Powered by FluxBB