ReaderWriterLockSlim performance

A while ago I blogged about the performance of various thread synchronization primitives. Due to the insufficient accuracy of my memory cells, I forgot ReaderWriterLockSlim out of the comparison. Let that be fixed here and now. The comparison method is still the same, and I have amended the previous post with the results of the […]

December 29, 2009 · Jouni Heikniemi · 2 Comments
Tags: ,  · Posted in: .NET

Performance overhead of thread synchronization

One of the main problems with multithreaded application development is handling the synchronization of data. The failure to do so can result in data corruption. On the other hand, over-synchronizing causes loss of performance. But how slow is synchronization, really? Edit: As discussed in the comments section, ReaderWriterLockSlim was accidentally forgotten out of the comparison. […]

December 17, 2009 · Jouni Heikniemi · 4 Comments
Tags: ,  · Posted in: .NET

Concurrency – and why are we still standing?

For the last three years, developers have been warned about the end of the free lunch. CPU makers no longer support ever-laxing performance standards by introducing a new GHz value every year, instead focusing on several cores. That in turn forces developers to learn multi-threaded programming. If you’re new to all this, read yourself up […]

October 5, 2009 · Jouni Heikniemi · One Comment
Tags:  · Posted in: .NET