Originally posted by cb88
View Post
I suppose that you could page-in and memory lock everything for the foreground application, which would isolate it from disk IO. But most apps don't use the majority of their libraries. They don't even use all of their executable because of rarely used exception and error handlers. Loading those in is a waste of RAM.
Data files are even worse. There's no way for the OS to predict the usage.
Disk access latency is the killer. Even if you gave the foreground application immediate access to the next disk queue slot, that's as much as 15 ms to finish the current operation on a slow spinning disk. Then what, are you going to leave the disk completely idle so that unknown future operations have minimum latency? For how long?
I think we just upgrade everyone to NVMe Flash. Even SATA solid-state is good. Latency is in microseconds, not milliseconds.
Comment