+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: Anyway I can see how much of my CPU cache is in use?  (Read 16167 times)

pepperammi

  • Guest
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.

Pepo

  • Guest
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 ;)
Maybe you could find out about the rate of cache misses, if this is interesting to you.

Peter

pepperammi

  • Guest
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 ;)
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?  ::)

Pepo

  • Guest
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?  ::)

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  ;)

Peter

pepperammi

  • Guest
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

citroja

  • Guest
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

BenHer

  • Guest
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?

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 26
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 30
Total: 30
Powered by EzPortal