-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CRT] - Allow setting max bandwidth limit for S3 transfers #8974
Comments
Thanks for reaching out. I could reproduce the behavior you described. This issue was discussed further internally and the takeaway was that the The CRT doesn't currently have a way to force bandwidth to stay under a certain limit (such as the But the CLI team has acknowledged the request to support configuring some kind of bandwidth throttling or upper bound on the concurrency/throughput so that other processes can still run. So I will update this issue as a feature request to track. The current documentation could also be potentially improved for clarity. If you have any other questions or feedback please let us know. In the meantime you can use the |
I tried to find reference to "target_bandwidth" in https://github.com/awslabs/aws-c-s3 I wanted to have a look at the code |
You can find |
Describe the bug
I'm trying to limit S3 bandwidth for CRT runtime described in https://aws.amazon.com/blogs/storage/improving-amazon-s3-throughput-for-the-aws-cli-and-boto3-with-the-aws-common-runtime/
I used the following command (from the article)
despite that I see much higher bandwidth (limited by hard disk drive actually)
aws cli version:
aws-cli/2.17.61 Python/3.12.6 Windows/2022Server exec-env/EC2 exe/AMD64
in classic (non crt) mode bandwidth limiting works like a charm.
Regression Issue
Expected Behavior
limiting bandwidth in crt mode
Current Behavior
not limiting (even configured as per article)
Reproduction Steps
install aws cli
aws configure set s3.preferred_transfer_client crt
aws configure set s3.target_bandwidth 50MB/s
copy files to s3, verify speed
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.17.61 Python/3.12.6 Windows/2022Server exec-env/EC2 exe/AMD64
Environment details (OS name and version, etc.)
win 2022
The text was updated successfully, but these errors were encountered: