concurrencykit / ck

Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.
http://concurrencykit.org/
Other
2.35k stars 312 forks source link

Attempt to scale ck_brlock validation to thread count #132

Closed kev009 closed 5 years ago

kev009 commented 6 years ago

This test as it exists in master takes between 1 and 2 days on a 176 thread machine. The change here tries to scale with a SWAG at magnitudes for 1 to 1024 or so cores but I didn't do any benchmark sweeps to see if this is actually a good scaling formula.

sbahra commented 5 years ago

I would prefer we punt this as a build-time configuration option, as the current approach is rather fragile.