LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-29-2008, 02:18 PM   #1
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
BIOS settings for processor? Command to get processor speed?? Memory speed?


Linux newbie. Have Award BIOS, AMD Sempron processor, and want to find out right setting to use for BIOS. The BIOS options allow you to choose:
"CPU Overclock Mhz" 200-250
"AGP Overclock Mhz" 66 -100
"AGP 2.0 Speed" 1,1x2,1x2x4
"HT Frequency" 1,2,3,4

After I can get Linux to boot up, how can I use the command line to get the clock speed that the processor is running at (not the name of the processor, but the speed that the BIOS set it to run at?)?

How can I get the speed of the memory from the commnad line?

I know that there was this command that I could use to test the write speed to the harddrive, but what about the processor and the memory?

Last edited by newtovanilla; 11-29-2008 at 02:19 PM.
 
Old 11-30-2008, 07:54 AM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
For the cpu:

cat /proc/cpuinfo

For memory:

dmidecode
 
Old 11-30-2008, 07:58 AM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Rep: Reputation: 84
Hya,

If I understand your post,
cpu info can be obtained under /sys directory.

Happy Penguins!
 
Old 12-04-2008, 06:17 PM   #4
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
> more /proc/cpuinfo

Gave some information on the cpu, but it did not time the cpu to tell me how fast it is running. Doesn't it just tell you what it reads from the cpu?

> ls /sys

There are directories there, but how does that get me cpu speed or memory speed?

# dmidecode

Gave information on the memory size, bank, but it did not give the speed of the memory? How can I time the memory to find the speed per bank?
 
Old 12-04-2008, 06:51 PM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
see www.makelinux.net for more info on /proc

plenty of GUI indicators are available istro?

man dmidecode

try phoronix test suite
 
Old 12-04-2008, 07:19 PM   #6
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
/proc/cpuinfo gives the clock speed of your CPU(s) at that moment. In the case below, that's 1596 MHz.

Code:
jcliburn@osprey:~$ grep Hz /proc/cpuinfo
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
cpu MHz		: 1596.000
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
cpu MHz		: 1596.000
dmidecode gives memory speed.

Code:
jcliburn@osprey:~$ sudo /usr/sbin/dmidecode -t memory | grep -i speed
	Supported Speeds:
	Current Speed: 30 ns
	Current Speed: 30 ns
	Speed: 333 MHz (3.0 ns)
	Speed: 333 MHz (3.0 ns)
 
Old 12-04-2008, 08:40 PM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
in addition to dmidecode you can use lshw to get a nicely formated output of the information and a bit more.

lshw -C processor


lshw -C memory

phoronix test suite for the benchmarking.. http://www.phoronix-test-suite.com/
 
Old 12-04-2008, 09:24 PM   #8
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Quote:
Originally Posted by farslayer View Post
in addition to dmidecode you can use lshw to get a nicely formated output of the information and a bit more.

lshw -C processor


lshw -C memory
Indeed. I wasn't aware lshw was packaged for Fedora, but it is.

yum install lshw.

Thanks for the tip.
 
Old 12-04-2008, 09:28 PM   #9
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
after getting used to the number of packages in Debians repository, I rarely ever think a package wont be available...
I sometimes forget everyone doesn't have it quite so easy
 
Old 12-04-2008, 10:23 PM   #10
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
Most modern BIOS auto detect memory and CPU operating speeds. See if you have an Auto setting in BIOS and use that.
 
  


Reply

Tags
bios, processor, ram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Processor speed always at 100%? General Linux - Laptop and Netbook 1 05-08-2007 05:30 PM
find out the processor speed ashley75 Linux - General 2 12-29-2005 01:03 PM
System processor speed? xamdbz01 *BSD 8 07-02-2005 12:26 AM
Processor clock speed vs. CPU speed moxieman99 Linux - General 4 06-24-2005 11:43 AM
What speed is your processor? ezra143 General 34 12-30-2003 03:24 AM


All times are GMT -5. The time now is 06:49 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration