sp26-cs544 cs544
Lecture 14: Advanced Concurrency and Block Devices Lecture 14: Advanced Concurrency and Block Devices
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readLecture 14: Advanced Concurrency and Block Devices
Overview
Learning Objectives
Global Interpreter Lock
Python’s GIL
Why the GIL? Garbage Collection
Instruction Reordering and Caching
Challenges Beyond Interleaving
Out-of-Order Execution
CPU Cache Coherence
Concluding Advice
Block Devices
Byte-Addressable vs. Block-Addressable Storage
Optimizing Disk I/O with Caching and Buffering
Small Reads Performance
Hard Disk Drives (HDDs)
Capacity vs. I/O and Short Stroking
Solid State Drives (SSDs)
Flash Storage
Write Amplification
HDDs vs. SSDs
Partitions and RAID
Partitions
RAID
Conclusion
Source