How to replicate tasks

16 views
Skip to first unread message

Amirali Sheikhi

unread,
Sep 7, 2026, 8:32:19 AMSep 7
to Sniper simulator

Hello,

I am working on a study involving task replication, in which different cores are required to execute varying amounts of work within the same simulation run, determined by a policy that assigns a different replica count to each core at runtime.

Could anyone advise on the recommended way to achieve this in Sniper? Specifically, is there a supported mechanism for injecting variable per-core workloads (e.g., dynamic thread affinity control, SimAPI hooks, or similar), or is manually managing iteration counts and time budgets within the worker code the standard approach for this kind of experiment?

Thank you in advance for any guidance.

Abhishek kumar

unread,
Sep 7, 2026, 9:20:53 AMSep 7
to Sniper simulator
Can you check at 
common/scheduler
In this you can write your own custom scheduler that can basically pass different work to different core also in same time window depending on your logic. Then you can simply pass that customer scheduler through snipersim config file. There is config parameter for scheduler policy.


Reply all
Reply to author
Forward
0 new messages