LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2009, 08:46 PM   #1
robertsong
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
How to calculate cache miss rate ?


hello,everyone.

Is there any open-souce software which is able to calculate the
cache miss rate of some archs like arm, mips, not only on x86 ?

I have found that valgrind can simulate the cache miss rate, but as
you can see, valgrind now can only be run on x86 and PPC.

$ valgrind --tool=cachegrind /tmp/helloworld
hello,world.
==31085==
==31085== I refs: 100,720
==31085== I1 misses: 606
==31085== L2i misses: 602
==31085== I1 miss rate: 0.60%
==31085== L2i miss rate: 0.59%
==31085==
==31085== D refs: 52,260 (36,074 rd + 16,186 wr)
==31085== D1 misses: 808 ( 634 rd + 174 wr)
==31085== L2d misses: 753 ( 586 rd + 167 wr)
==31085== D1 miss rate: 1.5% ( 1.7% + 1.0% )
==31085== L2d miss rate: 1.4% ( 1.6% + 1.0% )
==31085==
==31085== L2 refs: 1,414 ( 1,240 rd + 174 wr)
==31085== L2 misses: 1,355 ( 1,188 rd + 167 wr)
==31085== L2 miss rate: 0.8% ( 0.8% + 1.0% )

Best wishes,
robert
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
openSUSE 10: Samba failed to create the cache directory in /var/cache mianmajidali Linux - Server 0 05-09-2008 02:00 AM
Measuring Instuction per cycle ,cache miss, IPC sanjay_smg Linux - Software 0 01-16-2008 07:47 AM
cache folder like /var/cache/apt/packages on Debian Shaddy SUSE / openSUSE 0 08-13-2006 10:02 AM
help on horiz scan rate/vert synch rate on Toshiba Satellite A35-S159 asilentmurmur *BSD 3 10-14-2005 05:29 PM
Error: Caching enabled and local cache: //var/cache/yum/base/primary.xml.gz does... dr_zayus69 Linux - Software 2 07-06-2005 04:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration