ARM-software / synchronization-benchmarks

Collection of synchronization micro-benchmarks and traces from infrastructure applications
Other
38 stars 36 forks source link

Improve thread scheduling for lockhammer #18

Closed lucasclucasdo closed 6 years ago

lucasclucasdo commented 6 years ago

Add a core interleave argument to lockhammer which determines the order in which logical core numbers are populated.

Fixes #17

geoffreyblake commented 6 years ago

Can one of the admins verify this patch?

lucasclucasdo commented 6 years ago

Let's rethink this one since it didn't fix the issue Cavium raised. The interleave option is still useful for other reasons but I'd rather not change the affinity setting unless we have a good reason to do so.

lucasclucasdo commented 6 years ago

I have updated this PR to only include the interleave command line option. We can address further thread scheduling issues in subsequent PRs after further experimentation.