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

Can I simulate the accelerator whose clock frequency is larger than 1GHz #112

Open
zzczzc20 opened this issue Jul 3, 2023 · 3 comments
Open

Comments

@zzczzc20
Copy link

zzczzc20 commented Jul 3, 2023

Hello, I think in the current framework. The cycle time of the accelerator is stored as integers, so the max accelerator clock frequency is 1GHz. Is it possible to simulate the accelerator with a higher frequency?

@xyzsam
Copy link
Member

xyzsam commented Jul 4, 2023

Aladdin's clock frequency is mostly for power modeling, not performance modeling. Most accelerator operations are defined in terms of cycles, not in terms of absolute time. So if you were running Aladdin in standalone mode (unlikely since you're asking in the context of SMAUG), you could change the cycle time to any arbitrary value, and you'll get the same total cycle count at the end, just with a different power number.

With gem5, you can connect an arbitrary system clock from gem5 to Aladdin and you will get the results you expect. The cycle time parameter in Aladdin does not affect gem5's modeled performance in any way.

Does that make sense?

@zzczzc20
Copy link
Author

zzczzc20 commented Jul 5, 2023

Thanks so much for the reply. I asked the question because the frequency and the latency are fixed for the DRAM main memory. So I want to change the accelerator frequency and see the performance variation for certain memory configurations.

@xyzsam
Copy link
Member

xyzsam commented Jul 7, 2023

Makes sense. Just change the clock frequency in the gem5 configurations to achieve what you want.

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