LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-18-2010, 04:34 PM   #1
investmentbnker75
Member
 
Registered: Oct 2007
Location: Eastern Seaboard
Distribution: CentOS
Posts: 162

Rep: Reputation: 15
Linux CPU mismatch issue


I have an issue where the CPU isnt running at full capacity.

I there some way to enable all the CPU, is it a power setting in the BIOS?

Thanks

Last edited by investmentbnker75; 10-19-2010 at 04:40 PM. Reason: New sentence
 
Old 10-18-2010, 04:55 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
The cpuinfo file shows you the CPU model, but the speed (MHz) is just the speed at the time the file was recorded.

If you want to see the current CPU frequency, use acpitool -c, or look at /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq or similar.

A modern CPU does not run full speed all the time. For most tasks, there are other things that slow down the system (such as access to memory or to the hard disk), so the CPU doesn't have to run full speed to keep up. It is a way of saving power. The operating system will change the speed according to the tasks that are being performed; if you run a program that requires lots of calculations, then you will find that the CPU is pushed up to full speed.
 
Old 10-18-2010, 10:30 PM   #3
investmentbnker75
Member
 
Registered: Oct 2007
Location: Eastern Seaboard
Distribution: CentOS
Posts: 162

Original Poster
Rep: Reputation: 15
Is there a way to verify that?

Last edited by investmentbnker75; 10-20-2010 at 09:18 AM.
 
Old 10-18-2010, 11:53 PM   #4
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
You might be able to force the higher speed by using the /sys/devices/system/cpu/cpu0/cpufreq/ interface.

The following gives a list of the available governor modes:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
Typically one of these is "performance"; this can be set by:
Code:
sudo echo performance >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
And you can then examine scaling_cur_freq.

Another possible cause of throttling is overheating, for example when a fan has failed.
 
Old 10-19-2010, 11:31 AM   #5
investmentbnker75
Member
 
Registered: Oct 2007
Location: Eastern Seaboard
Distribution: CentOS
Posts: 162

Original Poster
Rep: Reputation: 15
The fans are running without failures and the temps seem normal, are there any documents on this issue you can refer me to for this happening on *nix OS's?

Many thanks

Last edited by investmentbnker75; 10-20-2010 at 09:19 AM.
 
Old 10-19-2010, 11:50 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You can disable this feature by issuing:
Code:
sudo echo performance >/sys/devices/system/cpu/cpu0/cpufreq/performance
But why do you want to do this? Your system will consume more power, will produce more heat, and there is no loss in performance if you keep it enabled.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux kernel/header mismatch jenser2 Linux - Newbie 1 04-08-2008 01:03 AM
bdflush and kupdated high cpu usage issue to_sc300 Linux - Hardware 0 12-17-2004 12:02 PM
Linux kernel version mismatch claudiu_t Linux - Software 3 10-12-2003 06:25 AM
cpu issue w/ slack 9.0 RIgimp75 Slackware 8 06-16-2003 09:14 PM
CPU Load ran away...NFS issue? Linux303 Linux - General 7 01-06-2003 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration