Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

what the...
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Sat Sep 29, 2012 2:21 pm    Post subject: what the... Reply with quote



Why is 1 core at full speed, but the rest are only at 800mhz? Is it that one only is being used, or that the rest have a fault?
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Sat Sep 29, 2012 6:08 pm    Post subject: Reply with quote

It's probably the kernel scheduler reducing the speed until it's needed. If your kernel uses the on-demand governor, this is to be expected.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Sat Sep 29, 2012 6:17 pm    Post subject: Reply with quote

Thanks nelz. Any idea if Mint 13 includes this?
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Sun Sep 30, 2012 11:11 am    Post subject: Reply with quote

Code:
zgrep CPU_FREQ /proc/config.gz


should show you which cpufreq options are enabled in your kernel.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Sun Sep 30, 2012 3:41 pm    Post subject: Reply with quote

nelz wrote:
Code:
zgrep CPU_FREQ /proc/config.gz


should show you which cpufreq options are enabled in your kernel.



Typed that. Got this:

gzip: /proc/config.gz: No such file or directory Confused
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
Paradigm Shifter



Joined: Sat May 19, 2012 1:16 pm
Posts: 84

PostPosted: Sun Sep 30, 2012 4:29 pm    Post subject: Reply with quote

It's called Cool 'n' Quiet, the AMD equivalent to Intel Speedstep.

It's BIOS controlled, and in my experience great if you want to decrease idle power draw, but a nightmare if you've got any software that is reliant on CPU clock to control its internal timing count - Unreal Tournament engine games spring to mind here; if you install them with the CPU 'idle' they'll run in fast-forward due to the CPU clocking up to full speed when the game actually runs.

Run linpack or something similar, and you'll see all cores at their rated 3200MHz. Smile

It's interesting to see the evolution of power saving tech for CPUs - initially it was a bit of a sledgehammer solution (all cores clocked up or down) then it evolved to a load-based scenario (all cores have independent clock states depending on load) and the latest and greatest versions (semi-)intelligently work out how much a core can be overclocked based on load, TDP and temperature.

So, no, there's no fault there. It's doing what it's designed to. If you want it running full speed all the time, disable Cool 'n' Quiet in the BIOS. Smile
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Sun Sep 30, 2012 7:19 pm    Post subject: Reply with quote

heiowge wrote:
gzip: /proc/config.gz: No such file or directory Confused


Stupid distros trying to hide the kernel config.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
el chapulín



Joined: Fri Sep 07, 2012 2:13 pm
Posts: 50

PostPosted: Mon Oct 01, 2012 2:06 pm    Post subject: Reply with quote

As it's a Debian based distro this should do it:

Code:
$ grep -i cpu_freq /boot/config-`uname -r`
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Mon Oct 01, 2012 3:55 pm    Post subject: Reply with quote

CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
el chapulín



Joined: Fri Sep 07, 2012 2:13 pm
Posts: 50

PostPosted: Mon Oct 01, 2012 5:21 pm    Post subject: Reply with quote

Well the performance governor is configured as the default on that system... but you said that different cores are at different speeds, which as far as I know is not normal cpfreq behaviour - nor is it normal for speedstep or cool n quiet as far as I know.

The cores being locked to 800MHz could be a symptom of a lack of "dual power plane" support on the motherboard. You should verify this first and that your board is definitely an AM3 board and not an AM2+ or "AM3 optimised" board... your CPU, assuming it's the one in your signature certainly requires an AM3 board to realise it's full potential, but you haven't stated what motherboard you have.
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Mon Oct 01, 2012 8:13 pm    Post subject: Reply with quote

Its an ASRock M3A770DE. I hope that means more to you than it does to me. The manual says "Support for socket AM3 processors: AMD Phenom II X4 / X3 / X2 (except 920 / 940) and Athlon II X4 / X3 / X2 processors).
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Mon Oct 01, 2012 8:25 pm    Post subject: Reply with quote

Maybe these will help?






_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
el chapulín



Joined: Fri Sep 07, 2012 2:13 pm
Posts: 50

PostPosted: Tue Oct 02, 2012 8:30 am    Post subject: Reply with quote

Your board is ok. As a diagnostic test can you disable frequency scaling in the BIOS setup (if you're not sure how read the motherboard manual) and see if that causes all cores to return to their correct speed.
Back to top
View user's profile Send private message
Paradigm Shifter



Joined: Sat May 19, 2012 1:16 pm
Posts: 84

PostPosted: Tue Oct 02, 2012 12:50 pm    Post subject: Reply with quote

Set 'Cool 'n' Quiet' to [Disabled]. Watch all CPU cores run at 3200Mhz.

Modern CPUs are designed in such a way as to allow cores to clock independently based on load.

This Anandtech review, particularly the second page, goes into a little more detail about 'Turbo' and power states on the CPU cores.

Was my previous post a figment of my imagination? You're looking for a problem when there isn't one.
Back to top
View user's profile Send private message
el chapulín



Joined: Fri Sep 07, 2012 2:13 pm
Posts: 50

PostPosted: Tue Oct 02, 2012 1:49 pm    Post subject: Reply with quote

He has the performance governor enabled so all cores should at the highest clock, that is the issue.

I agree though, disabling cool and quiet should be the next step.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast