4 ms·
Are you sure 64 -> 32 threads isn't some sort of locking? Sequential read memory bandwidth on modern hardware is tens of GB per second as I recall, so I think
by mattbillenstein 5y ago
Are you sure 64 -> 32 threads isn't some sort of locking?
Sequential read memory bandwidth on modern hardware is tens of GB per second as I recall, so I think there's probably some optimization you can do on the program?
- kloch 5y agoThe only "design" bottleneck is where the main thread has to read processed data from the other threads via a shared mem buffer and add it to any existing value in another shared mem buffer. Reading from the source buffer is sequential but the write to the destination is effectively random.