Hacker News new | ask | show | jobs
by jstelly 3432 days ago
It's worth noting that opening a file can have much longer latency than the disk read number in this table on consumer machines due to two factors: a) power policy causes hard drive to power off. Spin up time is on the order of seconds. b) user installed virus scanner hooks your process' file open or read to perform scan. This can typically take time on the order of hundreds of milliseconds.

These numbers are also important when writing software that runs on consumer PCs where real-time performance is a feature (e.g. most PC games).