The thread-ring is a standard benchmark challenge to validate the performance of sequential communication among parallel threads.
Here is the code, run it on your system, and see the timings. Post your results here if you like what you see.
Continue reading