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 words thread and/or affinity:

    It launch’d forth filament, filament, filament, out of itself,
    Ever unreeling them, ever tirelessly speeding them.

    And you O my soul where you stand,
    Surrounded, detached, in measureless oceans of space,
    Ceaselessly musing, venturing, throwing, seeking the spheres to connect them,
    Till the bridge you will need be form’d, till the ductile anchor hold,
    Till the gossamer thread you fling catch somewhere, O, my soul.
    Walt Whitman (1819–1892)

    This is of the loon—I do not mean its laugh, but its looning,—is a long-drawn call, as it were, sometimes singularly human to my ear,—hoo-hoo-ooooo, like the hallooing of a man on a very high key, having thrown his voice into his head. I have heard a sound exactly like it when breathing heavily through my own nostrils, half awake at ten at night, suggesting my affinity to the loon; as if its language were but a dialect of my own, after all.
    Henry David Thoreau (1817–1862)