From 1f488e9fdf075dab8bf67cb1454d347b6d49da26 Mon Sep 17 00:00:00 2001 From: Guy Coates Date: Fri, 14 Nov 2014 18:06:36 +0000 Subject: [PATCH] Set default chunk size to 500MB --- README | 2 +- pcp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 60a2489..9d6d4f5 100644 --- a/README +++ b/README @@ -75,7 +75,7 @@ pcp has a number of useful options; use pcp -h to see a description. Chunking -------- -pcp will split files up into 100MB chunks, which can then be copied in +pcp will split files up into 500MB chunks, which can then be copied in parallel. Files smaller than the chunk size will be copied in one go. You can alter the chunk size with the -b flag. The size is in megabytes. For optimal performance the chunk size should be a whole multiple of the lustre stripe size diff --git a/pcp b/pcp index 59342df..0f9864d 100755 --- a/pcp +++ b/pcp @@ -175,7 +175,7 @@ machines as possible to prevent local network bottlenecks. parser.add_argument("-b", help="Copy files larger than C Mbytes in C Mbyte chunks", - default=50, type=int, metavar="C") + default=500, type=int, metavar="C") parser.add_argument("-c", help="verify copy with checksum", default=False, action="store_true")