gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Questions about multicore and multithreading

MA
Manuel Antonio Pecino Fernández
Thu, Oct 23, 2025 9:49 AM

Dear Gem5,

I am a research group member currently working with the Gem5 CPU to
perform experiments. We are currently on a project that requires a
particular experimental setup.

A multicore multithread system is being used in SE mode. The issue is
that an asynchronous execution of workloads is required. So, let's
suppose a dual-core SMT system. The desired behaviour of the system is
as follows: 4 threads are configured, thread0 and thread1 go to core
zero, and thread2 and thread 3 go to core 1. Experiments require that,
for example, Thread 0 runs alone on core 0 for a specific time, and then
Thread 1 starts its execution while Thread 0 is still running. The same
behaviour is required for cores, for example, Core 0 runs alone for a
specific time and then Core 1 resumes its execution while Core 0 is
still running.

The question is whether achieving this on the Gem5 simulator is
possible, given that we cannot find documentation about how to
accomplish this.

Greetings,

Manuel

Dear Gem5, I am a research group member currently working with the Gem5 CPU to perform experiments. We are currently on a project that requires a particular experimental setup. A multicore multithread system is being used in SE mode. The issue is that an asynchronous execution of workloads is required. So, let's suppose a dual-core SMT system. The desired behaviour of the system is as follows: 4 threads are configured, thread0 and thread1 go to core zero, and thread2 and thread 3 go to core 1. Experiments require that, for example, Thread 0 runs alone on core 0 for a specific time, and then Thread 1 starts its execution while Thread 0 is still running. The same behaviour is required for cores, for example, Core 0 runs alone for a specific time and then Core 1 resumes its execution while Core 0 is still running. The question is whether achieving this on the Gem5 simulator is possible, given that we cannot find documentation about how to accomplish this. Greetings, Manuel