The conclusion of this article is came from 'http://kkamagui.tistory.com/445'

Many programmers think that multi-thread programming is faster than single-thread programming, legacy style of code, especially in multi-core systems.
Specifically, it is a popular misconception that setting CPU affinity will make software faster. However, in fact, there is no big improvement in performance when you apply this method in the windows environment.

Why? This is because the windows' scheduler properly organizes threads even if a programmer does not write proper code for multi-thread software. Therefore, although it is true that well organized code run faster, the difference in speed between a normal multi-thread application without special concerning on multi-thread performance and an application which have been written with deliberation for multi-threading is not clear since the windows scheduler already considers multi-core systems and runs properly in general ways. 

In conclusion, rewriting your application to multi-thread is not a good way when you would like to improve the performance of your application in that the windows has already good scheduler for multi-core systems.



+ Recent posts