The idea and framework looks very interesting. I tried it out in
order to understand the workload model and verification model and it
worked fine for the test cases that you have provided.
I am interested in trying this simulator in order to
design/study/verify task placement logic within the SMP loadbalancer.
Basically the effects of SD_POWERSAVINGS_BALANCE, SD_PREFER_SIBLING,
etc in various topologies.
The current interface and verification mechanism is to create tasks
and observe the runtime received by each task. In an ideal
loadbalancer situation, all tasks should have received runtime
proportional to their priority.
Can you help me figure out how to get to kstat_cpu() or per-cpu
kernel_stat accounting/utilisation metrics within the simulation?
Thanks for sharing the framework.