tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tar x cpu bound



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



Home | Main Index | Thread Index | Old Index