Two new ways to read a file quickly
Two new ways to read a file quickly
Posted Mar 7, 2020 1:04 UTC (Sat) by quotemstr (subscriber, #45331)Parent article: Two new ways to read a file quickly
This way, any userspace program would be able to build its own system call.
Posted Mar 7, 2020 6:54 UTC (Sat)
by ncm (guest, #165)
[Link] (2 responses)
Io_uring makes some sense, eliminating a million or a billion system calls in exchange for a little setup. Eliminating two out of three calls just looks foolish. Even if you have to read a thousand files, or a million: one million calls, three million calls, who cares? The time spent is in pottering around in the file system, not transitioning between user and system. An ordinary library function much shorter than 21 lines does it.
The whole discussion makes no sense. It makes me wonder if Linux is shuffling toward irrelevance. It has happened to better kernels.
Posted Mar 7, 2020 7:12 UTC (Sat)
by epa (subscriber, #39769)
[Link]
Posted Mar 7, 2020 7:47 UTC (Sat)
by beagnach (guest, #32987)
[Link]
I think much of the discussion is based on the assumption that there are situations where this is not true.
Posted Mar 9, 2020 9:28 UTC (Mon)
by pwfxq (subscriber, #84695)
[Link]
Two new ways to read a file quickly
Two new ways to read a file quickly
Two new ways to read a file quickly
So far we've seen a lot generalizations - hopefully some benchmarks will be provided in the near future.
Two new ways to read a file quickly