“When a process is rescheduled to run on a multiprocessor system, it doesn’t necessarily run on the same CPU on which it last executed. The usual reason it may run on another CPU is that the original CPU is already busy. When a process changes CPUs, there is a performance impact: in order for a line of the process’s data to be loaded into the cache of the new CPU, it must first be invalidated (i.e., either discarded if it is unmodified, or flushed to main memory if it was modified), if present in the cache of the old CPU. (To prevent cache inconsistencies, multiprocessor architectures allow data to be kept in only one CPU cache at a time.) This invalidation costs execution time. Because of this performance impact, the Linux (2.6) kernel tries to ensure soft CPU affinity for a process — wherever possible, the process is rescheduled to run on the same CPU.”
―
The Linux Programming Interface: A Linux and UNIX System Programming Handbook
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
2 likes
All Members Who Liked This Quote
This Quote Is From

706 ratings, average rating, 44 reviews
Open Preview
Browse By Tag
- love (100706)
- life (78913)
- inspirational (75365)
- humor (44118)
- philosophy (30705)
- inspirational-quotes (28611)
- god (26788)
- truth (24575)
- wisdom (24368)
- romance (24204)
- poetry (23080)
- life-lessons (22248)
- quotes (20545)
- death (20458)
- happiness (18892)
- hope (18398)
- faith (18268)
- inspiration (17194)
- spirituality (15588)
- relationships (15368)
- religion (15314)
- motivational (15225)
- life-quotes (15153)
- love-quotes (15022)
- writing (14882)
- success (14128)
- travel (13077)
- motivation (13064)
- time (12785)
- science (12011)