Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How to use -indir option with muti-process

24 views
Skip to first unread message

吳承晉

unread,
Oct 4, 2024, 4:34:37 PM10/4/24
to DynamoRIO Users
I am using drcachesim for offline analysis of a multi-process program. This will creates a folder for each process and stores raw data.
My question is, when I want to use the cache simulator, can I pass these folders representing different processes together through -indir? Currently, I am using -indir drmemtrace.*, but it only applies to the folder of a specific process. If -indir can indeed only accept one process's folder, will this affect the results of the cache simulator (I am only concerned about cache misses)?

Derek Bruening

unread,
Oct 4, 2024, 6:34:28 PM10/4/24
to 吳承晉, DynamoRIO Users
This is something that is not fully supported today by the front end: https://github.com/DynamoRIO/dynamorio/issues/2384. If you would like to work on this that would be appreciated; please add a note to the issue if so.  Note that the scheduler supports mixing multiple processes (as separate "workloads" if different scheduling policies are desired), and we do recommend dynamic rescheduling (see https://dynamorio.org/sec_drcachesim_sched.html.  We will be trying to make that the default rather than the current poor static schedule default).  For analyzers, just combining the files into one directory would be a workaround that ignores addressing differences.  One way to handle different address spaces if using physical addresses could be via translation files such as support added by recent changes and used in the TLB simulator in https://github.com/DynamoRIO/dynamorio/pull/6961.  Virtual offsets for each workload is another feature that could be added.

On Fri, Oct 4, 2024 at 4:34 PM 吳承晉 <wuch...@gmail.com> wrote:
I am using drcachesim for offline analysis of a multi-process program. This will creates a folder for each process and stores raw data.
My question is, when I want to use the cache simulator, can I pass these folders representing different processes together through -indir? Currently, I am using -indir drmemtrace.*, but it only applies to the folder of a specific process. If -indir can indeed only accept one process's folder, will this affect the results of the cache simulator (I am only concerned about cache misses)?

--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/39540fec-f127-4612-a7c7-e15946a11347n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages