You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation does not check for the possibility of false-sharing, which is an unexpected bottleneck in parallel computation.
It might be a good feature to have additional construction method which errors if slices meant for two different threads might end up sharing a cache line. Unfortunately the alignment of the allocation which Vec takes isn't controllable at the moment, so this can't be a 100% guarantee AFAIK.
The text was updated successfully, but these errors were encountered:
The current implementation does not check for the possibility of false-sharing, which is an unexpected bottleneck in parallel computation.
It might be a good feature to have additional construction method which errors if slices meant for two different threads might end up sharing a cache line. Unfortunately the alignment of the allocation which
Vec
takes isn't controllable at the moment, so this can't be a 100% guarantee AFAIK.The text was updated successfully, but these errors were encountered: