coreutils
[Top][All Lists]
Advanced

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

[PATCH] cat, cp, mv, install, split: Set the minimum IO block size used,


From: Pádraig Brady
Subject: [PATCH] cat, cp, mv, install, split: Set the minimum IO block size used, to 64KiB
Date: Thu, 21 Jul 2011 12:21:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

I'm a little wary of this being too aggressive,
but it does give a noticeable (13%) boost on my new laptop.
Here are the numbers from dd bs=$blksize if=/dev/zero of=/dev/null

   blksize  system-1   system-2
   ----------------------------
      1024  734 MB/s   1.7 GB/s
      2048  1.3 GB/s   3.0 GB/s
      4096  2.4 GB/s   5.1 GB/s
      8192  3.5 GB/s   7.3 GB/s
     16384  3.9 GB/s   9.4 GB/s
     32768  5.2 GB/s   9.9 GB/s
     65536  5.3 GB/s  11.2 GB/s
    131072  5.5 GB/s  11.8 GB/s
    262144  5.7 GB/s  11.6 GB/s
    524288  5.7 GB/s  11.4 GB/s
   1048576  5.8 GB/s  11.4 GB/s

cheers,
Pádraig.

Attachment: io-blksize-64k.diff
Description: Text Data


reply via email to

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