Cache Configfile for TLB

瀏覽次數:30 次
跳到第一則未讀訊息

Lei Wang

未讀,
2022年11月7日 凌晨1:31:302022/11/7
收件者:DynamoRIO Users
Hi,

I found an issue with TLB offline simulator. Previously I wrote a cache hierarchy file to simulate a 64 cores CPU with L2 and L3.  It can be easily recognized well by "-config_file" option of drcachesim tools.

However when I used the same configuration file and command switch to simulate the result for TLB. It failed. It always gave me the simulation on 4 cores which is the default value.
My command line:
sudo drrun -t drcachesim -config_file cacheconfig/64-2-2.config -simulator_type TLB  -indir temp/

I also tried the following command line
sudo drrun -t drcachesim -config_file cacheconfig/64-2-2.config -simulator_type TLB  -indir - cores 64 temp/
This time it gave out a simulation result on 64 cores.

So is this behavior as designed?  For TLB simulation ,we can't use the cache configuration file for simulation? The command options are the only way?

Thanks
Walter Wang

Derek Bruening

未讀,
2022年11月7日 上午11:33:412022/11/7
收件者:Lei Wang、DynamoRIO Users
The contributor who added configuration file support was only able to add it for the cache simulator but filed https://github.com/DynamoRIO/dynamorio/issues/3047 for the TLB simulator.  If you are able to work on this feature to extend the config file support to the TLB simulator that contribution would be appreciated by the community.

--
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/98fc39cb-0c50-47b5-8433-4b68aa94bfe3n%40googlegroups.com.

Lei Wang (Walter Wang)

未讀,
2022年11月7日 晚上10:20:062022/11/7
收件者:DynamoRIO Users
Thanks for quick answer. I will have a try after complete my simulation work ^_^.
回覆所有人
回覆作者
轉寄
0 則新訊息