DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default How to detect the frequency of individual cores in a dual core processor?

Hi,
I want to be able to check the individual frequency of the two cores in my processor(Intel Core2duo T9300). I tried the sysctl dev.cpu variables, but it only shows one frequency.

Death-Star awaits your command>sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 2501<----------This seems to be the frequency of one of my cores.
dev.cpu.0.freq_levels: 2501/32000 2187/27125 2000/24000 1750/21000 1600/18000 1400/15750 1200/13000 1050/11375 900/9750 800/10000 700/8750 600/7500 500/6250 400/5000 300/3750 200/2500 100/1250
dev.cpu.0.temperature: 55
dev.cpu.0.cx_supported: C1/1 C2/1 C3/57
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00% 0.00% 0.00%
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.1.temperature: 52
dev.cpu.1.cx_supported: C1/1 C2/1 C3/57
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_usage: 100.00% 0.00% 0.00%

As you can see there is no dev.cpu.1.freq. So how do I check the frequency of the other core?
Reply With Quote
  #2   (View Single Post)  
Old 17th July 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

I think all procs/cores must run on the same frequency then.

Code:
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU1
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 1041
dev.cpu.0.freq_levels: 2777/-1 2429/-1 2082/-1 1735/-1 1388/-1 1041/-1
dev.cpu.0.cx_supported: C1/0
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00%
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU2
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.1.cx_supported: C1/0
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_usage: 100.00%
dev.cpu.2.%desc: ACPI CPU
dev.cpu.2.%driver: cpu
dev.cpu.2.%location: handle=\_PR_.CPU3
dev.cpu.2.%pnpinfo: _HID=none _UID=0
dev.cpu.2.%parent: acpi0
dev.cpu.2.cx_supported: C1/0
dev.cpu.2.cx_lowest: C1
dev.cpu.2.cx_usage: 100.00%
dev.cpu.3.%desc: ACPI CPU
dev.cpu.3.%driver: cpu
dev.cpu.3.%location: handle=\_PR_.CPU4
dev.cpu.3.%pnpinfo: _HID=none _UID=0
dev.cpu.3.%parent: acpi0
dev.cpu.3.cx_supported: C1/0
dev.cpu.3.cx_lowest: C1
dev.cpu.3.cx_usage: 100.00%
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #3   (View Single Post)  
Old 17th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

They probably are, perhaps you wish to know load of each core?
Reply With Quote
  #4   (View Single Post)  
Old 17th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

But in linux, htop or any other utility will show seperate statistics for every core, including core frequency
Reply With Quote
  #5   (View Single Post)  
Old 17th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

Why do you need it anyway, isn;t load enough?
If it is use chonky or kgrellm (or something like that, can't remember exact name)
Reply With Quote
  #6   (View Single Post)  
Old 18th July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

I believe it's only the AMD 4-core CPUs that support multiple power planes (different voltages/frequencies per core).

AFAIK, there are no dual-core CPUs that support multile power planes.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Processor Utilisation zero on AMD64 jrs OpenBSD Installation and Upgrading 6 1st June 2009 07:32 AM
Enhanced Speedstep only works for two CPU cores on FreeBSD 7.1 Android1 FreeBSD General 13 19th April 2009 08:59 PM
How to make DesktopBSD detect re0? KlaymenDK Other BSD and UNIX/UNIX-like 9 6th January 2009 09:40 PM
GENERIC.MP kernel failing to boot AMD dual-core system < 75% of the time JMJ_coder NetBSD General 3 9th June 2008 01:54 PM
Dual core and FreeBSD ViperChief FreeBSD General 13 2nd June 2008 08:30 PM


All times are GMT. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick