“multithreaded programs are subject to all the performance hazards of single-threaded programs, and to others as well that are introduced by the use of threads. In well designed concurrent applications the use of threads is a net performance gain, but threads nevertheless carry some degree of runtime overhead. Context switches—when the scheduler suspends the active thread temporarily so another thread can run—are more frequent in applications with many threads, and have significant costs: saving and restoring execution context, loss of locality, and CPU time spent scheduling threads instead of running them. When threads share data, they must use synchronization mechanisms that can inhibit compiler optimizations, flush or invalidate memory caches, and create synchronization traffic on the shared memory bus. All these factors introduce additional performance costs;”
―
Java Concurrency in Practice
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
Browse By Tag
- love (100950)
- life (78985)
- inspirational (75543)
- humor (44230)
- philosophy (30807)
- inspirational-quotes (28700)
- god (26816)
- truth (24630)
- wisdom (24454)
- romance (24272)
- poetry (23107)
- life-lessons (22507)
- quotes (20908)
- death (20490)
- happiness (18909)
- hope (18453)
- faith (18291)
- inspiration (17225)
- travel (16908)
- spirituality (15628)
- relationships (15432)
- religion (15353)
- motivational (15241)
- life-quotes (15208)
- love-quotes (15044)
- writing (14907)
- success (14151)
- motivation (13096)
- time (12808)
- science (12043)