Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can I find mprofile.h and zsim_hooks.h? #1

Open
kevin0708 opened this issue Jun 13, 2023 · 4 comments
Open

Where can I find mprofile.h and zsim_hooks.h? #1

kevin0708 opened this issue Jun 13, 2023 · 4 comments

Comments

@kevin0708
Copy link

I am attempting to build NATSA zsimramulator's scrimp_zsim. Unfortunately, I found these include in your source code:

#include "mprofile.h"
#include "/home/ifernandez/ethz/zsimramulator/misc/hooks/zsim_hooks.h"

You don't provide the appropriate header files in your repo, which makes this repo impossible to be built by other developers.
Hopefully author can fix this problem as soon as possible.

@ivanfv
Copy link
Collaborator

ivanfv commented Jun 14, 2023

Hello,

Thanks for reporting this and your interest in NATSA. I already added the missing source files for scrimp_zsim. Regarding #include "/home/ifernandez/ethz/zsimramulator/misc/hooks/zsim_hooks.h", please note that this has to point to the zsim_hooks.h header available in your zsim sources.

Best regards,
Ivan

@kevin0708
Copy link
Author

kevin0708 commented Jun 14, 2023

Dear ivanfv,

I wanted to thank you for your helpful response on this issue. Your support is greatly useful!
I also find that zsim_hook.h can be found in the zsim frame.

But when I've compiled your scrimp_zsim.cpp and tried to run the zsim, I found that there is an error says Panic on build/opt/init.cpp:381: Invalid memory controller type Ramulator. I wonder do you make some modifications on the zsim so it can accept this type?

I hope you can kindly assist me once again. I'm looking forward to your response.

@ivanfv
Copy link
Collaborator

ivanfv commented Jun 19, 2023

Hello,

I understand. The issue that you are experiencing is that NATSA's zsim configuration files are intended to run in a version of the ZSim+Ramulator where Ramulator was directly used as a memory controller integrated in the framework.

However, the released version of ZSim+Ramulator seems to support only trace-based simulations, so you may need to modify the config files to use "Traces" instead of "Ramulator" as a memory controller, and then follow the trace-based approach. Unfortunately, I have no access to the integrated version of both simulators anymore and can give you very limited support about this. If you still want to use NATSA's configuration files as they are, you may need to integrate Ramulator into ZSim in a similar way as DRAMSim2 is integrated (see zsim-ramulator/src/dramsim_mem_ctrl.cpp in zsim's source code.

Integrating ZSim+Ramulator should be relatively easy, but I would encourage you to consider if it is worth to make it. Ramulator is a very updated simulator, but ZSim is quite outdated and I am not sure if it is representative for today's CPUs, so maybe you can consider other simulators.

Can I ask you what is your purpose on running NATSA's workload so maybe I can share with you some other insights?

Thanks again for your interest and sorry for the inconveniences.
Best,
Ivan

@kevin0708
Copy link
Author

kevin0708 commented Jun 29, 2023

Dear ivanfv,

Thanks so much for your kind response.

I am highly interested in PIM and signal analysis and I want to conduct research in this field. This is why I have chosen your article as a starting point for my exploration.

I find your project particularly intriguing as it aligns with my interest in timing signal analysis and PIM. Also I am interested in the the frame and method used to conduct experiments.

If it is possible, I would greatly appreciate any suggestion you can provide. Your expertise and experience in this field would be valuable to me. Please feel free to contact me via my email address, [email protected]. I would be truly grateful for any insights you can share.

Once again, thank you for your response and for sparing your valuable time. I am looking forward to your suggestions in this exciting field.
Best regards,
Shunchen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants