IO
Operating Systems / Linux · 4 notes
- I/O Modelshistorical
Synchronous and asynchronous I/O concern how work proceeds and completion is reported; blocking and nonblocking concern waiting for results. These notes compare I/O models through system calls.
- select, poll, epollhistorical
Select, poll, and epoll provide I/O multiplexing. These notes compare them starting with select's descriptor copying, scanning, and count limits.
- I/Ohistorical
Files can be viewed as byte sequences, and Linux exposes many devices and kernel details through file interfaces. These notes examine I/O through that perspective.
- Zero-Copy Mechanismhistorical
Traditional I/O moves data through disks, kernel buffers, user space, and the network. These notes use that path to examine how zero-copy reduces overhead.