is there any prefetcher in macsim??

91 views
Skip to first unread message

wonjunsong

unread,
Mar 24, 2013, 7:56:22 PM3/24/13
to macsi...@googlegroups.com
Hi all.

there are some knob which seems related with prefetcher. such as "enable_pref_large_core, enable_pref_small_core".

but I think these knobs are invalid currently.

is there any available prefetcher in macsim ??

thanks.

Jaekyu Lee

unread,
Mar 28, 2013, 10:37:35 PM3/28/13
to macsi...@googlegroups.com
Hi Wonjun,

Macsim has a stride prefetcher.
It used to work fine, but we didn't thoroughly test it after we change the memory hierarchy of macsim.

Regarding how to enable prefetcher,

There are two steps.
1. You have to enable prefetcher and prefetcher framework as you described.
2. You have to enable individual prefetcher.

Please take a look in pref_stride.cc file.
You will find how to enable stride prefetcher.

Thanks,
Jaekyu 




--
 
---
You received this message because you are subscribed to the Google Groups "Macsim Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macsim-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

wonjunsong

unread,
Mar 29, 2013, 7:49:47 AM3/29/13
to macsi...@googlegroups.com
Thanks Jaekyu.

Could you tell me How the memory hierarchy of macsim is changed ??

Now I'm using macsim-1.1 from "http://code.google.com/p/macsim/downloads/detail?name=macsim-1.1.tar.gz&can=2&q="

thanks.

Ankul Jain

unread,
Mar 31, 2015, 10:59:58 AM3/31/15
to macsi...@googlegroups.com
Hi all,

Can anyone please tell me which are the parameters that need to be changed to enable prefetcher ?
I enabled the knob "enable_pref_small_core". Still I don't think the prefetcher has been enabled.

Is there anything else that needs to be done ?

Hyesoon Kim

unread,
Mar 31, 2015, 11:25:48 AM3/31/15
to macsi...@googlegroups.com
Jain, 
Are you using CPUs or GPUs? Are you using small cores? 
Hyesoon 

--

---
You received this message because you are subscribed to the Google Groups "Macsim Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macsim-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ankul Jain

unread,
Mar 31, 2015, 1:12:26 PM3/31/15
to macsi...@googlegroups.com
Hi Kim,

Thank you for your prompt reply. I am using CPU. And I am using the default params_x86 which has large core. 
To enable the prefetcher for large core when I add "enable_pref_large_core 1", the code gives seg fault. Can you please help me with this ?

Also, do I need to change anything else in any other file?


On Sunday, March 24, 2013 at 7:56:22 PM UTC-4, wonjunsong wrote:

Anirudh Kaushik

unread,
May 4, 2015, 7:16:16 AM5/4/15
to macsi...@googlegroups.com, ankul...@gmail.com

Hi Ankul,

Perhaps you may have resolved the issue.

I had a similar issue. The segfault for me occurred in the constructor of the hwp_common_c constructor. Hard coding the value of m_shift_bit to 64 solved the issue. Let me know if it works for you.

Thanks,
Anirudh
Reply all
Reply to author
Forward
0 new messages