|
|
|
|
|
by ShroudedNight
1404 days ago
|
|
Just from reading the specs (I.E. real world details might derail all of this): https://www.freebsd.org/cgi/man.cgi?query=sendfile&sektion=2 Given one can specify arbitrary offsets for sendfile(), it's not clear to me that there must be any kind of O(k > 1) relationship between open() and sendfile() calls: As long as you can map requested content to a sub-interval of a file, you can co-mingle the catalogue into an arbitrarily small number of files, or potentially even stream directly off raw block devices. |
|