On Mon, 12 May 2025, Edgar Fuß wrote:
And the third question is that I would have expected a large amount of hits in the write system call if the problem really was stdio to issue small writes.
There's archive_{read,write}_open_FILE() in libarchive which is the only interface for working with archives which uses stdio (fread/fwrite). And, I'm pretty sure that tar(1) on NetBSD doesn't use it. -RVP