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
Oh no! These are not cache aligned. This is a large amount of false sharing that will cause a big perf decrease on multicore.
We want to essentially have each atomic be 128 bytes apart (on 128-aligned boundaries). The typical way to accomplish this without blowing up the cache and memory consumption is to put the counters in a struct, and align the structs.
Oh no! These are not cache aligned. This is a large amount of false sharing that will cause a big perf decrease on multicore.
We want to essentially have each atomic be 128 bytes apart (on 128-aligned boundaries). The typical way to accomplish this without blowing up the cache and memory consumption is to put the counters in a struct, and align the structs.
struct event_counts software_interrupt_counts[runtime_worker_threads_count];
The text was updated successfully, but these errors were encountered: