arstechnica.com
Open in
urlscan Pro
18.222.3.70
Public Scan
Submitted URL: https://arstechnica.com/civis/viewtopic.php?f=19&t=465002
Effective URL: https://arstechnica.com/civis/threads/instant-cpu-speed-details-for-mac-os-x.465002/
Submission: On January 31 via manual from IT — Scanned from IT
Effective URL: https://arstechnica.com/civis/threads/instant-cpu-speed-details-for-mac-os-x.465002/
Submission: On January 31 via manual from IT — Scanned from IT
Form analysis
7 forms found in the DOMPOST /civis/search/search
<form action="/civis/search/search" method="post" class="uix_searchForm" data-xf-init="quick-search">
<a class="uix_search--close">
<i class="fa--xf far fa-window-close" aria-hidden="true"></i>
</a>
<input type="text" class="input js-uix_syncValue uix_searchInput uix_searchDropdown__trigger" autocomplete="off" data-uixsync="search" name="keywords" placeholder="Search…" aria-label="Search" data-menu-autofocus="true">
<a href="/civis/search/" class="uix_search--settings u-ripple rippleButton" data-xf-key="/" aria-label="Search" aria-expanded="false" aria-haspopup="true" title="Search">
<i class="fa--xf far fa-cog" aria-hidden="true"></i>
</a>
<span class=" uix_searchIcon">
<i class="fa--xf far fa-search" aria-hidden="true"></i>
</span>
<input type="hidden" name="_xfToken" value="1706691634,03587f0735632ed33f08e15f34de1a2d">
</form>
POST /civis/search/search
<form action="/civis/search/search" method="post" class="menu-content" data-xf-init="quick-search">
<h3 class="menu-header">Search</h3>
<div class="menu-row">
<div class="inputGroup inputGroup--joined">
<input type="text" class="input js-uix_syncValue" name="keywords" data-uixsync="search" placeholder="Search…" aria-label="Search" data-menu-autofocus="true">
<select name="constraints" class="js-quickSearch-constraint input" aria-label="Search within" style="width: 101px; flex-grow: 0; flex-shrink: 0;">
<option value="">Everywhere</option>
<option value="{"search_type":"post"}">Threads</option>
<option value="{"search_type":"post","c":{"nodes":[19],"child_nodes":1}}">This forum</option>
<option value="{"search_type":"post","c":{"thread":465002}}">This thread</option>
</select>
</div>
</div>
<div class="menu-row">
<label class="iconic"><input type="checkbox" name="c[title_only]" value="1"><i aria-hidden="true"></i><span class="iconic-label">Search titles only</span></label>
</div>
<div class="menu-row">
<div class="inputGroup">
<span class="inputGroup-text" id="ctrl_search_menu_by_member">By:</span>
<input type="text" class="input" name="c[users]" data-xf-init="auto-complete" placeholder="Member" aria-labelledby="ctrl_search_menu_by_member" autocomplete="off">
</div>
</div>
<div class="menu-footer">
<span class="menu-footer-controls">
<button type="submit" class="button--primary button button--icon button--icon--search rippleButton"><span class="button-text">Search</span></button>
<a href="/civis/search/" class="button rippleButton"><span class="button-text">Advanced search…</span></a>
</span>
</div>
<input type="hidden" name="_xfToken" value="1706691634,03587f0735632ed33f08e15f34de1a2d">
</form>
POST /civis/search/search
<form action="/civis/search/search" method="post" class="menu-content" data-xf-init="quick-search">
<div class="menu-row">
<div class="inputGroup">
<input name="keywords" class="js-uix_syncValue" data-uixsync="search" placeholder="Search…" aria-label="Search" type="hidden">
<select name="constraints" class="js-quickSearch-constraint input" aria-label="Search within" style="width: 101px; flex-grow: 0; flex-shrink: 0;">
<option value="">Everywhere</option>
<option value="{"search_type":"post"}">Threads</option>
<option value="{"search_type":"post","c":{"nodes":[19],"child_nodes":1}}">This forum</option>
<option value="{"search_type":"post","c":{"thread":465002}}">This thread</option>
</select>
</div>
</div>
<div class="menu-row">
<label class="iconic"><input type="checkbox" name="c[title_only]" value="1"><i aria-hidden="true"></i><span class="iconic-label">Search titles only</span></label>
</div>
<div class="menu-row">
<div class="inputGroup">
<span class="inputGroup-text">By:</span>
<input class="input" name="c[users]" data-xf-init="auto-complete" placeholder="Member" autocomplete="off">
</div>
</div>
<div class="menu-footer">
<span class="menu-footer-controls">
<button type="submit" class="button--primary button button--icon button--icon--search rippleButton"><span class="button-text">Search</span></button>
<a href="/civis/search/" class="button rippleButton" rel="nofollow"><span class="button-text">Advanced…</span></a>
</span>
</div>
<input type="hidden" name="_xfToken" value="1706691634,03587f0735632ed33f08e15f34de1a2d">
</form>
POST /civis/search/search
<form action="/civis/search/search" method="post" class="uix_searchForm" data-xf-init="quick-search">
<a class="uix_search--close">
<i class="fa--xf far fa-window-close" aria-hidden="true"></i>
</a>
<input type="text" class="input js-uix_syncValue uix_searchInput uix_searchDropdown__trigger" autocomplete="off" data-uixsync="search" name="keywords" placeholder="Search…" aria-label="Search" data-menu-autofocus="true">
<a href="/civis/search/" class="uix_search--settings u-ripple rippleButton" data-xf-key="/" aria-label="Search" aria-expanded="false" aria-haspopup="true" title="Search">
<i class="fa--xf far fa-cog" aria-hidden="true"></i>
</a>
<span class=" uix_searchIcon">
<i class="fa--xf far fa-search" aria-hidden="true"></i>
</span>
<input type="hidden" name="_xfToken" value="1706691634,03587f0735632ed33f08e15f34de1a2d">
</form>
POST /civis/search/search
<form action="/civis/search/search" method="post" class="menu-content" data-xf-init="quick-search">
<h3 class="menu-header">Search</h3>
<div class="menu-row">
<div class="inputGroup inputGroup--joined">
<input type="text" class="input js-uix_syncValue" name="keywords" data-uixsync="search" placeholder="Search…" aria-label="Search" data-menu-autofocus="true">
<select name="constraints" class="js-quickSearch-constraint input" aria-label="Search within" style="width: 101px; flex-grow: 0; flex-shrink: 0;">
<option value="">Everywhere</option>
<option value="{"search_type":"post"}">Threads</option>
<option value="{"search_type":"post","c":{"nodes":[19],"child_nodes":1}}">This forum</option>
<option value="{"search_type":"post","c":{"thread":465002}}">This thread</option>
</select>
</div>
</div>
<div class="menu-row">
<label class="iconic"><input type="checkbox" name="c[title_only]" value="1"><i aria-hidden="true"></i><span class="iconic-label">Search titles only</span></label>
</div>
<div class="menu-row">
<div class="inputGroup">
<span class="inputGroup-text" id="ctrl_search_menu_by_member">By:</span>
<input type="text" class="input" name="c[users]" data-xf-init="auto-complete" placeholder="Member" aria-labelledby="ctrl_search_menu_by_member" autocomplete="off">
</div>
</div>
<div class="menu-footer">
<span class="menu-footer-controls">
<button type="submit" class="button--primary button button--icon button--icon--search rippleButton"><span class="button-text">Search</span></button>
<a href="/civis/search/" class="button rippleButton"><span class="button-text">Advanced search…</span></a>
</span>
</div>
<input type="hidden" name="_xfToken" value="1706691634,03587f0735632ed33f08e15f34de1a2d">
</form>
POST /civis/search/search
<form action="/civis/search/search" method="post" class="menu-content" data-xf-init="quick-search">
<div class="menu-row">
<div class="inputGroup">
<input name="keywords" class="js-uix_syncValue" data-uixsync="search" placeholder="Search…" aria-label="Search" type="hidden">
<select name="constraints" class="js-quickSearch-constraint input" aria-label="Search within" style="width: 101px; flex-grow: 0; flex-shrink: 0;">
<option value="">Everywhere</option>
<option value="{"search_type":"post"}">Threads</option>
<option value="{"search_type":"post","c":{"nodes":[19],"child_nodes":1}}">This forum</option>
<option value="{"search_type":"post","c":{"thread":465002}}">This thread</option>
</select>
</div>
</div>
<div class="menu-row">
<label class="iconic"><input type="checkbox" name="c[title_only]" value="1"><i aria-hidden="true"></i><span class="iconic-label">Search titles only</span></label>
</div>
<div class="menu-row">
<div class="inputGroup">
<span class="inputGroup-text">By:</span>
<input class="input" name="c[users]" data-xf-init="auto-complete" placeholder="Member" autocomplete="off">
</div>
</div>
<div class="menu-footer">
<span class="menu-footer-controls">
<button type="submit" class="button--primary button button--icon button--icon--search rippleButton"><span class="button-text">Search</span></button>
<a href="/civis/search/" class="button rippleButton" rel="nofollow"><span class="button-text">Advanced…</span></a>
</span>
</div>
<input type="hidden" name="_xfToken" value="1706691634,03587f0735632ed33f08e15f34de1a2d">
</form>
<form style="display:none" hidden="hidden">
<input type="text" name="_xfClientLoadTime" value="" id="_xfClientLoadTime" title="_xfClientLoadTime" tabindex="-1">
</form>
Text Content
Log in Register SEARCH Everywhere Threads This forum This thread Search titles only By: Search Advanced search… Everywhere Threads This forum This thread Search titles only By: Search Advanced… * Front Page * Forums * New posts * Subscribe Log in Register SEARCH Everywhere Threads This forum This thread Search titles only By: Search Advanced search… Everywhere Threads This forum This thread Search titles only By: Search Advanced… MORE OPTIONS Toggle width Menu Install the app Install * Forums * Operating Systems & Software * Macintoshian Achaia JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding. INSTANT CPU SPEED DETAILS FOR MAC OS X * Thread starter 9600man * Start date Nov 2, 2004 Jump to latest Follow Reply Status Not open for further replies. ••• MORE OPTIONS Who Replied? 9600MAN ARS LEGATUS LEGIONIS 23y 11,991 Nov 2, 2004 #1 * Nov 2, 2004 * Add bookmark * * #1 Anyway I can get instant information at what speed my CPU is running at, like from the terminal, or some funky dockling?<BR><BR>I know people are going to suggest that I do the frame rate calculations: but the calcs will only give me a rough estimate, and secondly that performance does not scale linear (especially with our lovely bandwidth starved G4 architecture).<BR><BR>Also, I'm kinda anal in that I want to know what's exactly going on. The reason I ask is because I noticed my splinter cell perfomance nose dived when I forgot to set my laptop CPU performance from reduced to highest one time. The frame rate drop was significant enough to warrant a, 'what the fsck? splinter cell has bullet time?' before I realised I didn't change my energy settings in control panel.<BR><BR>I think I remember a terminal command that gives me the current CPU details. 'hostinfo' doesn't work as I get this:<BR><BR><pre class="ip-ubbcode-code-pre"> Mach kernel version: Darwin Kernel Version 7.5.0: Thu Aug 5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Kernel configured for a single processor only. 1 processor is physically available. Processor type: ppc7450 (PowerPC 7450) Processor active: 0 Primary memory available: 512.00 megabytes. Default processor set: 48 tasks, 125 threads, 1 processors Load average: 1.81, Mach factor: 0.28 </pre><BR><BR>and that is with reduced CPU at the moment.<BR><BR>'top' only gives me this much about the system before it shows the various stuff running on my mac:<BR><BR><pre class="ip-ubbcode-code-pre"> Processes: 47 total, 3 running, 44 sleeping... 125 threads 00:58:38 Load Avg: 0.63, 0.62, 0.54 CPU usage: 67.1% user, 10.8% sys, 22.2% idle SharedLibs: num = 123, resident = 30.3M code, 3.41M data, 10.1M LinkEdit MemRegions: num = 4665, resident = 72.8M + 10.1M private, 78.1M shared PhysMem: 58.6M wired, 126M active, 113M inactive, 298M used, 213M free VM: 3.42G + 83.4M 19946(0) pageins, 0(0) pageouts</pre><BR><BR>So, any hints or ideas? ••• MORE OPTIONS Report Add bookmark Share Quote Report 9600MAN ARS LEGATUS LEGIONIS 23y 11,991 Nov 2, 2004 #2 * Nov 2, 2004 * Add bookmark * * #2 You know, I just thought that what would be great with these temp. apps you can get for mac os x, is a mention of current CPU speed alongside the temp details. I just fired up thermographX (i downloaded from version tracker ages ago) and it doesn't give me the CPU speed. Kinda silly as you'd like to graph the results of temperature against the CPU speed (and type, which is given). ••• MORE OPTIONS Report Add bookmark Share Quote Report S STEPHENB ARS LEGATUS LEGIONIS 24y 11,837 Subscriptor++ Nov 2, 2004 #3 * Nov 2, 2004 * Add bookmark * * #3 Does MenuMeters work for you? It's simple and I really like the network performance indicator. ••• MORE OPTIONS Report Add bookmark Share Quote Report N N8_F ARS CENTURION 23y 360 Nov 2, 2004 #4 * Nov 2, 2004 * Add bookmark * * #4 I thought "sysctl -a hw" would do it, but on my iBook I get 1.2Ghz for both the current, min, and max and it doesn't change when I am on "Reduced." Perhaps it doesn't step like the G5s? I thought the G4s had some power saving features ••• MORE OPTIONS Report Add bookmark Share Quote Report G GLYPHON ARS SCHOLAE PALATINAE 21y 1,405 Nov 2, 2004 #5 * Nov 2, 2004 * Add bookmark * * #5 ^ doesn't change on my g5 either ••• MORE OPTIONS Report Add bookmark Share Quote Report H HELIXBLUE ARS CENTURION 22y 300 Nov 2, 2004 #6 * Nov 2, 2004 * Add bookmark * * #6 This is what you want. It used to be /usr/sbin/AppleSystemProfiler, but now it's /usr/sbin/system_profiler<BR><BR>system_profiler -detailLevel -2 ••• MORE OPTIONS Report Add bookmark Share Quote Report O OPCENTER ARS PRAEFECTUS 24y 3,361 Nov 2, 2004 #7 * Nov 2, 2004 * Add bookmark * * #7 Here is (most of) what I get:<BR><BR>$ system_profiler -detailLevel -2<BR>Hardware:<BR><BR> Hardware Overview:<BR> <BR> Machine Model: PowerBook G4 15"<BR> CPU Type: PowerPC G4 (3.2)<BR> Number Of CPUs: 1<BR> CPU Speed: 1 GHz<BR> L2 Cache (per CPU): 256 KB<BR> L3 Cache (per CPU): 1 MB<BR> Memory: 1 GB<BR> Bus Speed: 133 MHz<BR> Boot ROM Version: 4.5.3f2<BR> Serial Number: QQQQQQQQQQQ ••• MORE OPTIONS Report Add bookmark Share Quote Report B BAKSHI ARS TRIBUNUS ANGUSTICLAVIUS 21y 6,038 Nov 2, 2004 #8 * Nov 2, 2004 * Add bookmark * * #8 You may want to edit out that serial number, opcenter. ••• MORE OPTIONS Report Add bookmark Share Quote Report B BADANDY WELL-KNOWN MEMBER 22y 13,991 Nov 2, 2004 #9 * Nov 2, 2004 * Add bookmark * * #9 ANYBODY KNOW IF THERE IS A LOW-LEVEL API EXPOSED TO GET THE INSTANTANEOUS PROCESSOR SPEED?<BR><BR>This would be really, really informative in terms of figuring out what the heck is going on WRT the Hot-G5 codes and trying to figure out what the tasker is doing to "throttle" codes as we see them. ••• MORE OPTIONS Report Add bookmark Share Quote Report D DRPARALLAX ARS TRIBUNUS MILITUM 21y 2,292 Nov 2, 2004 #10 * Nov 2, 2004 * Add bookmark * * #10 this is when a /proc vfs would be very nice.<BR><BR>cat /proc/cpu would kick ass. *sigh* ••• MORE OPTIONS Report Add bookmark Share Quote Report H HOBOLD ARS TRIBUNUS MILITUM 21y 2,472 Nov 2, 2004 #11 * Nov 2, 2004 * Add bookmark * * #11 Unfortunately system_profiler does not report "reduced" processor speed on my TiBook 800. I see the parameters for full speed, even though the current MHz are 667 and L3 is turned off. ••• MORE OPTIONS Report Add bookmark Share Quote Report D DARYLF2 ARS TRIBUNUS ANGUSTICLAVIUS 23y 6,413 Subscriptor Nov 2, 2004 #12 * Nov 2, 2004 * Add bookmark * * #12 <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by hobold:<BR>Unfortunately system_profiler does not report "reduced" processor speed on my TiBook 800. I see the parameters for full speed, even though the current MHz are 667 and L3 is turned off. <HR></BLOCKQUOTE><BR><BR>Same here with my Dual 2.5 GHz G5 (which has PowerBook-like CPU energy saver settings). This would be nice to be able to see "at a glance" (perhaps in AquaMon, if it is still in active development). ••• MORE OPTIONS Report Add bookmark Share Quote Report 9600MAN ARS LEGATUS LEGIONIS 23y 11,991 Nov 3, 2004 #13 * Nov 3, 2004 * Add bookmark * * #13 <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by stephenb:<BR>Does http://www.ragingmenace.com/software/menumeters/ work for you? It's simple and I really like the network performance indicator. <HR></BLOCKQUOTE><BR><BR>MenuMeter doesn't seem to report current CPU speed. Or at least according to the website:<BR><BR><BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR><BR>The CPU Meter can display system load both as a total percentage, or broken out as user and system time. It can also graph user and system load and display the load as a "thermometer". The menu for the CPU Meter contains several pieces of information I like to have a single click away (uptime, load average, open Process Viewer, open Console). <HR></BLOCKQUOTE><BR><BR><BR>So there is NO way to see what speed you mac is running at? Is this a lack of system available knowledge on Mac OS X? Or just no one has figured out how to do it on OS X? How does one go about polling the CPU speed anyway? ••• MORE OPTIONS Report Add bookmark Share Quote Report H HOBOLD ARS TRIBUNUS MILITUM 21y 2,472 Nov 3, 2004 #14 * Nov 3, 2004 * Add bookmark * * #14 Determining CPU speed: not generally possible, but you can come close enough in practice:<BR><BR>1. ask OS for CPU type<BR><BR>2. run CPU specific code path with a known timing in terms of cycles<BR><BR>3. elapsed wall clock time divided by known number of cycles is cycle time<BR><BR>If the OS tells you of a CPU type you don't know, you are out of luck. Likewise, if the OS is sloppy about reported wall clock time, or keeps scheduling the test process weirdly, you are out of luck as well.<BR><BR>Usually you have to run the measurement loop several time, and then pick the fastest run. This assumes that the fastest run was not interrupted by something else, therefor wall clock time and processor time are equal. ••• MORE OPTIONS Report Add bookmark Share Quote Report 9600MAN ARS LEGATUS LEGIONIS 23y 11,991 Nov 3, 2004 #15 * Nov 3, 2004 * Add bookmark * * #15 I found this script, CPUfrequency that apparently gives you your current CPU hz.<br><br>Developer has this to say however: <br><blockquote class="ip-ubbcode-quote"> <font size="-1">quote:</font><hr> <br>via Developer: Anonymous<br>: Hi, I made this, but I just want everyone to know that while the script works, the shell command that it relies on doesn't function properly in OS X 10.3. If Apple ever fixes this, it'll work like a charm. whoo-hoo!<br> <hr> </blockquote> <br><br>and apparently is using this terminal command:<br><blockquote class="ip-ubbcode-quote"> <font size="-1">quote:</font><hr>CPUfrequency is a group of Terminal shell scripts (<b>sysctl hw.cpufrequency</b>) that determine the speed that your processor is actually running at. <hr> </blockquote> <br><br>Which I tried but I got this,<i>hw.cpufrequency: 1333333328</i>, no matter if I did reduced or highest for CPU settings in Energy saver.<br><br>*sigh* How come in Windows, you can get instant access to current CPU speed, but with OS X, the very function seems to be broken? -- View image here: http://episteme.arstechnica.com/infopop/emoticons/icon_frown.gif -- ••• MORE OPTIONS Report Add bookmark Share Quote Report R REV_ENG ARS SCHOLAE PALATINAE 22y 720 Nov 3, 2004 #16 * Nov 3, 2004 * Add bookmark * * #16 <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by 9600man:<BR>So there is NO way to see what speed you mac is running at? Is this a lack of system available knowledge on Mac OS X? Or just no one has figured out how to do it on OS X? How does one go about polling the CPU speed anyway? <HR></BLOCKQUOTE><BR><BR>It looks like this guy has attempted to port procfs from freebsd:<BR>http://www.kernelthread.com/mac/apme/procfs/ ••• MORE OPTIONS Report Add bookmark Share Quote Report Status Not open for further replies. * Forums * Operating Systems & Software * Macintoshian Achaia * * Light theme * * Contact us * Posting guidelines * Terms and rules * Privacy policy * Help * * RSS Community platform by XenForo® © 2010-2021 XenForo Ltd. | Community services from Audentio Jump to latest Follow Reply Jump to latest Follow Reply × Register now! WE CARE ABOUT YOUR PRIVACY We and our 143 partners store and/or access information on a device, such as unique IDs in cookies to process personal data. You may accept or manage your choices by clicking below or at any time in the privacy policy page. These choices will be signaled to our partners and will not affect browsing data.More information about your privacy WE AND OUR PARTNERS PROCESS DATA TO PROVIDE: Use precise geolocation data. Actively scan device characteristics for identification. Store and/or access information on a device. Personalised advertising and content, advertising and content measurement, audience research and services development. List of Partners (vendors) I Accept Show Purposes