Use Knowledge of Your Own Threads to Extract Optimal Performance…
[Estimated Reading Time: 5 minutes] “The Delphi Geek” recently blogged about a performance bottleneck he had identified in FastMM when used with a particular conditional define. Although not directly related, his post reminded me of an experience I had many years ago, working on a highly complex multi-threaded system (long before FastMM) and the strategy we found we had to employ in order to get optimal performance from our threading code when encountering different numbers of CPU’s (these days “cores’).