Skip to content

Commit 1690d12

Browse files
authored
Merge pull request #65 from Azure/dev
- readme update and help update
2 parents 3b28c7d + 9e308e5 commit 1690d12

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ By default files are downloaded to the same directory where you are running blob
175175

176176
- `q`, `--quiet_mode` *bool* if present or true, the progress indicator is not displayed. The files to transfer, errors, warnings and transfer completion summary is still displayed.
177177

178+
- `x`, `---files_per_transfer` *int* number of files in a batch transfer. Default is 200.
179+
180+
- `h`, `----handles_per_file` *int* number of open handles for concurrent reads and writes per file. Default is 2.
181+
178182
## Performance Considerations
179183

180184
By default, BlobPorter creates 5 readers and 8 workers for each core on the computer. You can overwrite these values by using the options -r (number of readers) and -g (number of workers). When overriding these options there are few considerations:
@@ -189,7 +193,7 @@ By default, BlobPorter creates 5 readers and 8 workers for each core on the comp
189193

190194
- - Transfers are batched. Each batch transfer will concurrently read and transfer up to 200 files (default value) from the source. The batch size can be modified using the -x option, the maximum value is 500.
191195

192-
- - Blobs smaller than the block size are transferred in a single operation. With relatively small files (<32MB) performance may be higher if you set a block size equal to the size of the files. Setting the number of workers and readers to the number of files could also, yeild performance gains.
196+
- - Blobs smaller than the block size are transferred in a single operation. With relatively small files (<32MB) performance may be better if you set a block size equal to the size of the files. Setting the number of workers and readers to the number of files could yield performance gains.
193197

194198
## Issues and Feedback
195199

blobporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func init() {
8888
transferDefMsg = "Defines the type of source and target in the transfer.\n\tMust be one of:\n\tfile-blockblob, file-pageblob, http-blockblob, http-pageblob, blob-file,\n\tpageblock-file (alias of blob-file), blockblob-file (alias of blob-file)\n\tor http-file."
8989
exactNameMatchMsg = "If set or true only blobs that match the name exactly will be downloaded."
9090
keepDirStructureMsg = "If set blobs are downloaded to the same directory structure as in the storage account.\n\tIf the directory structure does not exists it will be created."
91-
numberOfHandlersPerFileMsg = "Sets the number of handles open per file."
91+
numberOfHandlersPerFileMsg = "Number of open handles for concurrent reads and writes per file."
9292
numberOfFilesInBatchMsg = "Maximum number of files in a transfer.\n\tIf the number is exceeded new transfers are created"
9393
)
9494

0 commit comments

Comments
 (0)