How to use gem 5's fs mode to simulate server benchmarks such as dacapo? #1269
Unanswered
Xuefeng-2000
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using gem5 in FS mode to simulate large-scale server benchmarks such as DaCapo, Reinassance, Postgresql, and MySQL. However, due to the issue of multi-threading/multi-processing execution, it is challenging for me to isolate the effects of the OS, especially for multi-threaded Java applications.
In section 6.4 of the PDIP(ASPLOS'24), the authors mention spending a significant amount of time modifying the OS scheduler and disk IO latency to reduce noise. Since I am unfamiliar with these modifications, I would like to ask the following questions:
1.Is there an open-source kernel version available with these OS modifications, or how should I specifically implement these OS changes?
2.How should I set core binding for multi-threaded applications to accurately collect server program data? Currently, my gem5 configuration consists of 4 CPUs, and I am using taskset to bind server applications to cores, similar to "su postgres -c 'taskset -c 0 ./bin/postgres -D ... &' " and then collecting data from CPU with CPUID:0. Is this a reasonable approach?
3.If it is a Java application (like tomcat or cassandra in dacapo), how should I bind the multiple threads?
Beta Was this translation helpful? Give feedback.
All reactions