| Date: | Mon, 7 Jun 2010 05:05:12 -0700 (PDT) | 
|---|---|
| From: | Muhammad abid Mughal <mabidm_pieas@xxxxxxxxx> | 
| Subject: | Re: [Gems-users] prefetch question | 
| 
 Is there any other place to modify? My answer was for Software prefetches. You still see prefetch count in ruby dump file is due to Hardware prefetches.Go to opal/config/config.defaults and disable all hardware Prefetchers,such as DL1_STREAM_BUFFERS. opal uses rubycache_t::prefetch () to issue all prefetch types (Software+Hardware) to Ruby. just grep this function in some files just as rubycache_t ,memop.C, etc to get an idea about prefetches. I am a little confused that why prefetch request is issued when meeting store request. we issue prefetch for store 1) when source of store is not ready && 2) we are not using WriteBuffer. The purpose is just to make sure
 that  store hit when issued to data$. I trace the code but I can't find out where this Execute function is called.  see dynamic_inst_t::Schedule(). its called at "case EXECUTE_STAGE" Regards, Muhammad abid From: Jerry Lin <cosjerry@xxxxxxxxx> To: Gems Users <gems-users@xxxxxxxxxxx> Sent: Monday, June 7, 2010 18:01:17 Subject: Re: [Gems-users] prefetch question Thanks for answering. 
But the prefetch count in ruby dump file is still non-zero after I comment out the lines as your reply shown. 
Is there any other place to modify? 
I trace the code but I can't find out where this Execute function is called. 
I also try to comment out the "prefetch" function in "store_inst_t::continueExecution()" in opal/system/memop.C 
And it seems still doesn't work. 
I am a little confused that why prefetch request is issued when meeting store request. 
Thanks again. 
2010/6/7 Muhammad abid Mughal <mabidm_pieas@xxxxxxxxx> 
  | 
| [← Prev in Thread] | Current Thread | [Next in Thread→] | 
|---|---|---|
  | ||
| Previous by Date: | Re: [Gems-users] Magic instruction fails to stop cpu & enter debugger, Dan Gibson | 
|---|---|
| Next by Date: | [Gems-users] Re: Magic instruction fails to stop cpu & enter debugger, lopamudra chatterjee | 
| Previous by Thread: | Re: [Gems-users] prefetch question, Jerry Lin | 
| Next by Thread: | Re: [Gems-users] prefetch question, Jerry Lin | 
| Indexes: | [Date] [Thread] |