Seti@Home optimized science apps and information
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
11 Dec 2007, 01:04:11 am

Login with username, password and session length
 
If you've registered already but never got your activation email, please click here.
 
 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Discussion Forum  |  Topic: Anyway I can see how much of my CPU cache is in use? 0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Anyway I can see how much of my CPU cache is in use?  (Read 1295 times)
pepperammi
Pre-Release Tester
Knight o' the round Table
***
Offline Offline

Posts: 190


View Profile
Anyway I can see how much of my CPU cache is in use?
« on: 06 Dec 2006, 06:11:14 pm »

Sorry. Probably a silly question. I'm just curious like I am at times of how much of my system memory is in use.

Is there anyway to see how much of my CPU cache is in use? I've just upgraded my CPU to a D945 from a D830 and it has 2x2Mb cache.
Logged
Pepo
Knight o' the Realm
**
Offline Offline

Posts: 39



View Profile
Re: Anyway I can see how much of my CPU cache is in use?
« Reply #1 on: 06 Dec 2006, 07:03:04 pm »

Probably continuously the whole, as the recent PCs' OSes won't fit in Wink
Maybe you could find out about the rate of cache misses, if this is interesting to you.

Peter
Logged
pepperammi
Pre-Release Tester
Knight o' the round Table
***
Offline Offline

Posts: 190


View Profile
Re: Anyway I can see how much of my CPU cache is in use?
« Reply #2 on: 07 Dec 2006, 06:06:03 am »

Probably continuously the whole, as the recent PCs' OSes won't fit in Wink
Maybe you could find out about the rate of cache misses, if this is interesting to you.

Peter
Oh right. Well could be interesting. What's a cache miss anyway?  Roll Eyes
Logged
Pepo
Knight o' the Realm
**
Offline Offline

Posts: 39



View Profile
Re: Anyway I can see how much of my CPU cache is in use?
« Reply #3 on: 07 Dec 2006, 07:18:05 am »

What's a cache miss anyway?  Roll Eyes

Simplified story: when "processor core" needs to crunch some data or execute some code, it looks into "its memory pools (a.k.a. cache)". If the data/code is there, it's called a "cache hit". If not, it must be delivered to the cache (instances) from main memory first, this case is called "cache miss".

Short story long: other can explain much better then me, see http://en.wikipedia.org/wiki/CPU_cache  Wink

Peter
Logged
pepperammi
Pre-Release Tester
Knight o' the round Table
***
Offline Offline

Posts: 190


View Profile
Re: Anyway I can see how much of my CPU cache is in use?
« Reply #4 on: 07 Dec 2006, 12:53:10 pm »

Thanks
Logged
citroja
Knight o' the Realm
**
Offline Offline

Posts: 54


View Profile
Re: Anyway I can see how much of my CPU cache is in use?
« Reply #5 on: 24 Dec 2006, 12:58:08 pm »

I was wondering the same thing...thanks for the info

-citroja
Logged
BenHer
Code Wizard
Knight Templar
*****
Offline Offline

Posts: 395


View Profile
Re: Anyway I can see how much of my CPU cache is in use?
« Reply #6 on: 21 Jan 2007, 01:41:35 pm »

Modern chips (pentium 4 and later) have counters inside of them that could be used to calculate this...for a range of time, and using the proper tools.

There are many monitoring counters inside of modern CPUs that count all kinds of esoteric things.  # of floating point instructions that are "retired", # of times cache misses occured (ie memory was directly read from), and so on.

There are programmer tools from both Intel and AMD that can be used to setup these timers, run a program for a specified length of time, and then read these counters.

I guess the most important thing to really do would be to specify when to start counting: the beginning of seti run of a full WU?,  only for a section (function) of the seti code?
and for how long:  Full WU run?,  after WU is read from data file into RAM?
and under what conditions:  Only for certain angle ranges?
Logged
Pages: [1] Go Up Print 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Discussion Forum  |  Topic: Anyway I can see how much of my CPU cache is in use? « previous next »
Jump to:  


Quote!
There are three kinds of lies: lies, damned lies, and statistics.
- Benjamin Disraeli

 
Site Statistics
Total Members:712
Total Posts:5,149
Total Topics:344
Downloads
Apps
Windows R-1.x24,298
Windows R-2.019,537
Windows R-2.234,486
Linux 32bit 1.x6,320
Linux 32bit 2.23,874
Linux 64bit 2.21,345
Alpha/IA64106
FreeBSD295
HPUX202
Subtotal:89,860
Source packs:3,488
Tool/WU packs:5,828
Total:118,921
GBs dl'd:178.12
Pages served
Today:267
Total:2,230,602
(since 6/26/2006)
172 Donations to S@H
U.S. Dollars:3,196.59
Euros:830.90
Last 24h:$ 0.00
Avg./24h:$ 14.07
Estim. total:$ 4,276.76
Latest Member:
tharn
 
 
Seti@Home optimized science apps and information | Powered by Enigma 2.0 (RC1).
© 2003-2007, LSP Dev Team. All Rights Reserved.
Seti@Home optimized science apps and information Forums | Powered by SMF.
© 2005, Simple Machines LLC. All Rights Reserved.
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!