concept well performance in category parallel computing

This is an excerpt from Manning's book Parallel and High Performance Computing.
Now, to improve the OpenMP performance, we insert pragmas in the initialization loops as shown in listing 7.8. The loops will be distributed in the same static threading partition, so the threads that touch the memory in the initialization loop will have the memory located near to them by the operating system as shown in the right side of figure 7.5.
In order to leverage affinity for better performance, we need to know the details of our hardware architecture. The variety of hardware architectures makes this difficult; Intel alone has over a thousand CPU models. Here we introduce how to understand your architecture. This is a requirement before you can use affinity to exploit it.