DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.66k stars 562 forks source link

add core migration measuring and anti-bias to drmemtrace scheduler #6938

Closed derekbruening closed 3 weeks ago

derekbruening commented 2 months ago

Today the drmemtrace scheduler is not preferring to keep an input on the same core it last ran on. This issue covers measuring the migration statistics and probably adding some kind of bias to avoid migrations.

derekbruening commented 1 month ago

The plan is to implement separate runqueues per output. While testing the separate runqueue implementation I have found and fixed several bugs that affect the old global runqueue scheme as well. I'm going to include them as sub-parts of this issue:

Testing the separate runqueues has led to a number of other changes I'd like to make:

derekbruening commented 3 weeks ago

The scheduler was refactored to use per-core runqueues. Closing this.