728x90
1. Thread-Level Concurrency
- With threads, we can even have multiple control flows executing within a single process.
- most actual computing was done by a single processor, even if that processor had to switch among multiple tasks. This configuration is known as a uniprocessor system.
- Hyperthreading, sometimes called simultaneous multi-threading, is a technique that allows a single CPU to execute multiple flows of control.
- if one thread must wait for some data to be loaded into a cache, the CPU can proceed with the execution of a different thread.
- The use of multiprocessing can improve system performance in two ways. First, it reduces the need to simulate concurrency when performing multiple tasks.
- it can run a single application program faster, but only if that program is expressed in terms of multiple threads that can effectively execute in parallel.
728x90
'csapp' 카테고리의 다른 글
2.1.3 Addressing and byte Ordering (0) | 2023.03.30 |
---|---|
2 Representing and Manipulating Information (0) | 2023.03.28 |
1.5 Caches Matter (0) | 2023.03.27 |
CHAPTER 1 : A Tour of Computer Systems (0) | 2023.03.26 |
3.3 데이터 형식 (0) | 2022.12.31 |
댓글