coreutils
[Top][All Lists]
Advanced

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

Re: Block size of a cp utility


From: Pádraig Brady
Subject: Re: Block size of a cp utility
Date: Wed, 01 Apr 2015 17:21:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 01/04/15 14:49, Ramaseshan wrote:
> Hi GNU team,
> Just wanted to check, when we copy a file using the cp utility, what 
> block size does it use to copy a file.
> I am also looking around and reading the archives, but if anybody could 
> respond it would be great.

It has been creeping up over time:

   8 -> 32K 
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v7.1-44-g55efc5f
  32 -> 64K 
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.16-33-ga18ba2f
  64 - 128K 
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.22-103-g74ca6e8

You can check your version like:

  strace -e read,write cp /bin/cp /dev/null

cheers,
Pádraig.





reply via email to

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