OpenMP - Thread Affinity

Thread Affinity

Some vendors recommend setting the processor affinity on OpenMP threads to associate them with particular processor cores. This minimizes thread migration and context-switching cost among cores. It also improves the data locality and reduces the cache-coherency traffic among the cores (or processors).

Read more about this topic:  OpenMP

Famous quotes containing the word thread:

    I taught school in the early days of my manhood and I think I know something about mothers. There is a thread of aspiration that runs strong in them. It is the fiber that has formed the most unselfish creatures who inhabit this earth. They want three things only; for their children to be fed, to be healthy, and to make the most of themselves.
    Lyndon Baines Johnson (1908–1973)