Seti@Home optimized science apps and information
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
09 May 2007, 01:30:40 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 994 times)
pepperammi
Pre-Release Tester
Knight o' the round Table
***
Offline Offline

Posts: 171


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: 25



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: 171


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: 25



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: 171


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: 51


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: 394


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!
Every solution breeds new problems.
- Murphy's Law

 
Site Statistics
Total Members:448
Total Posts:3416
Total Topics:228
Downloads
Apps
Windows R-1.x21999
Windows R-2.017230
Windows R-2.217976
Linux 32bit 1.x5578
Linux 32bit 2.21611
Linux 64bit 2.2283
Subtotal:64677
Source packs:2821
Tool/WU packs:3628
Total:71126
GBs dl'd:147.05
Pages served
Today:229
Total:1191610
(since 6/26/2006)
89 Donations to S@H
U.S. Dollars:1,843.73
Euros:464.29
Last 24h:$ 46.00
Avg./24h:$ 27.82
Estim. total:$ 2,447.31
Latest Member:
setala
 
 
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!