-
Notifications
You must be signed in to change notification settings - Fork 1
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
Question about dataset #1
Comments
Hi Jingtun
I generated LLC traces by instrumenting Sniper at the LLC interface. Thus,
every cache access that reaches LLC (i.e., L2 miss) (regardless which core
or thread generated that request), I dump it out in a file. You could do
the same with any system simulator to generate similar traces.
Along with a cache access, you could also dump its attributes such as
Read/Write Type, Core Id and PC among other things, and modify the
simulator to use this information, if needed. However, as I mentioned in
the README, "*Simulator provided in GitHub is very simple, and assumes that
all addresses are memory reads. Simulator provides a first order effect of
various policies on cache efficiency.*" So if an application has
non-trivial write traffic, and you are simulating it under a
multi-core/threaded scenario, this simulator shouldn't be used.
Having said that, I would also like to point out that the data in the paper
is generated using Sniper simulation and not using the simple simulator
provided in GitHub. The GitHub simulator provides a simple overview of how
things might work in a more complex simulator.
Hope I addressed your questions. All the best.
Best,
Priyank
…On Wed, May 18, 2022 at 4:00 PM JINGTUN ZHANG 张劲暾 ***@***.***> wrote:
Hi, I just want to test GRASP on some new datasets, but I do not know how
to get dataset files like "xxx.cvgr.dbg.lru.llc.trace.", Can someone tell
me how you generate these traces?
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFJYBYMOE2IOPRU5T2FHSDVKUAYHANCNFSM5WIY7KEA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thank you, Priyank. Can you tell me which code in the repository is for dumping the trace? Or can you share your script for dumping traces with Sniper simulation? I implemented some new apps and want to test them with the same settings you did. |
Code that dumps trace was integrated in the sniper simulator, hence it
wasn't uploaded as part of the repo.
It has been more than 2 years I used that infrastructure. I don't think I
have retained anything other than what I uploaded on GitHub.
At this time, your best bet is to pick your favourite simulator that can
execute your new apps and generate traces. Generating trace wasn't the most
complicated part of the project as far as I remember.
Best,
Priyank
…On Wed, 18 May 2022, 19:11 JINGTUN ZHANG 张劲暾, ***@***.***> wrote:
Thank you, Priyank. Can you tell me which code in the repository is for
dumping the trace? Or can you share your script for dumping traces with
Sniper simulation? I implemented some new apps and want to test them with
the same settings you did.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFJYB2TWLNFICHNB74PYPTVKUXF5ANCNFSM5WIY7KEA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi, Priyank I want to know the details of the .trace format you used here, I have tried some simulators, but the generated .sift format can not feed into the grasp simulator, I just want to know the difference between these formats and how can I generate the .trace format as your dataset. |
I used a custom format, so it most likely won't be compatible with any
other simulators (at least without a few tweaks). I don't remember the
exact format I used, but you can easily figure it out by looking at how I
read the trace file from *read_file* function in *cache.h*
Alternatively, you could also change the *read_file* function to fit your
favourite format as long as you populate the *magic_map* & *trace*
appropriately.
Best,
Priyank
…On Tue, May 31, 2022 at 6:41 PM JINGTUN ZHANG 张劲暾 ***@***.***> wrote:
Hi, Priyank
I want to know the details of the .trace format you used here, I have
tried some simulators, but the generated .sift format can not feed into the
grasp simulator, I just want to know the difference between these formats
and how can I generate the .trace format as your dataset.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFJYB4A3CV4M6HUFMOAN3DVMZFL5ANCNFSM5WIY7KEA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi, I just want to test GRASP on some new datasets, but I do not know how to get dataset files like "xxx.cvgr.dbg.lru.llc.trace.", Can someone tell me how you generate these traces?
The text was updated successfully, but these errors were encountered: