3 ms·
This already exists. O_DIRECT exists, now there's io_urig too (plus the libaio1 which uses io_submit the old async API). The problem is not with files. Kernel
by pas 7y ago
This already exists. O_DIRECT exists, now there's io_urig too (plus the libaio1 which uses io_submit the old async API).
The problem is not with files. Kernel transitions are expensive, but the problem is not that. It's metadata sync (file inode + directory inode) and so on.
Install is slow on Windows because braindeadness of vendors (cygwin is fast to install). Package stuff is slow on Linux, because apt calls out to dpkg, which first reads the package db. Which is a plain text file with newlines as separators and it has to be parsed. Yum is slow because by default it syncs repos on install, etc.
- asveikau 7y agoWindows filesystem performance is also much poorer than Linux for lots of small files.