Skip to content

Change default parallelism of Storage SDK#7190

Open
Jinming-Hu wants to merge 1 commit into
Azure:mainfrom
Jinming-Hu:transfer_default_vals
Open

Change default parallelism of Storage SDK#7190
Jinming-Hu wants to merge 1 commit into
Azure:mainfrom
Jinming-Hu:transfer_default_vals

Conversation

@Jinming-Hu

Copy link
Copy Markdown
Member

closes #7007

Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the contributing guide.

  • C++ Guidelines
  • Doxygen docs
  • Unit tests
  • No unwanted commits/changes
  • Descriptive title/description
    • PR is single purpose
    • Related issue listed
  • Comments in source
  • No typos
  • Update changelog
  • Not work-in-progress
  • External references or docs updated
  • Self review of PR done
  • Any breaking changes?

Copilot AI review requested due to automatic review settings June 22, 2026 23:21
@github-actions github-actions Bot added the Storage Storage Service (Queues, Blobs, Files) label Jun 22, 2026
@Jinming-Hu

Copy link
Copy Markdown
Member Author

@amnguye @gapra-msft can you please help approve this PR?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Storage SDK’s default parallel transfer concurrency to be hardware-aware by introducing a shared helper in azure-storage-common, and applies the new default across Blobs, Files Shares, and DataLake option types.

Changes:

  • Added Azure::Storage::_internal::GetHardwareConcurrency() in azure-storage-common and wired it into the build.
  • Updated default TransferOptions.Concurrency initializers in Blobs/Shares/DataLake option headers to use hardware concurrency (with clamping).
  • Documented the change in each package’s CHANGELOG.md.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp Updates default transfer concurrency for share upload/download option types.
sdk/storage/azure-storage-files-shares/CHANGELOG.md Notes updated default concurrency settings in the upcoming release section.
sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp Updates default transfer concurrency for DataLake upload option type.
sdk/storage/azure-storage-files-datalake/CHANGELOG.md Notes updated default concurrency settings in the upcoming release section.
sdk/storage/azure-storage-common/src/concurrent_transfer.cpp Adds implementation of GetHardwareConcurrency().
sdk/storage/azure-storage-common/inc/azure/storage/common/internal/concurrent_transfer.hpp Declares GetHardwareConcurrency() for reuse by other storage components.
sdk/storage/azure-storage-common/CMakeLists.txt Adds the new concurrent_transfer.cpp source file to the common library target.
sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp Updates default transfer concurrency for blob upload/download option types.
sdk/storage/azure-storage-blobs/CHANGELOG.md Notes updated default concurrency settings in the upcoming release section.

Comment thread sdk/storage/azure-storage-common/src/concurrent_transfer.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change default parallelism and chunk size

2 participants