Re: tar x cpu bound

RVP <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.