bug-cpio
[Top][All Lists]
Advanced

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

Re: cpio copy-pass mode ignores block size arguments ?


From: Jean-Baptiste Denis
Subject: Re: cpio copy-pass mode ignores block size arguments ?
Date: Tue, 11 Jan 2022 07:33:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0

Hi Sergey,

> This help message is misguiding, indeed.  The block size is used when
> doing I/O with the archive storage, i.e. only in copy-in and copy-out
> mode.  I'll fix the text.  Thanks for reporting it!

Thank you for the confirmation !

FWIW, in my use case (copy between network filesystem), I saw big (x10) 
performance improvement
recompiling with a 1MiB DISK_IO_BLOCK_SIZE with cpio only use in copy-pass mode.

Jean-Baptiste

On 1/11/22 7:28 AM, Sergey Poznyakoff wrote:
> Hi Jean-Baptiste,
> 
>>   Operation modifiers valid in any mode:
>>     --block-size=BLOCK-SIZE   Set the I/O block size to BLOCK-SIZE * 512 
>> bytes
>>     -B                        Set the I/O block size to 5120 bytes
> 
> This help message is misguiding, indeed.  The block size is used when
> doing I/O with the archive storage, i.e. only in copy-in and copy-out
> mode.  I'll fix the text.  Thanks for reporting it!
> 
> Best regards,
> Sergey
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]