Re: tar x cpu bound

Roland Illig <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
Am 09.05.2025 um 14:18 schrieb Edgar Fuß:
>> Is it expected that, when writing to SSDs, tar x of an archive containing 
>> relatively small files (11GB in 600k files) is completely cpu bound 
>> (system) with the discs nearly idle?
> That was on -8. I switched the server back to -10 and that speeds up the 
> extraction by aproximately a factor of 10! Is that expected?

HEAD/doc/CHANGES says:

> libc: Limit writes to stdio FILE handles via fvwrite to INT_MAX
>	rather than BUFSIZE. Improves performance dramatically.
>	From enh via Apple libc.  [christos 20240329]

This change also made it into the netbsd-10 branch.

See fvwrite.c revision 1.31 and 1.30.2.1 for details.

Roland
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.