Skip to content
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

remove QUEUE_TIMEOUT_GET, use a Stop sentinel instead #551

Closed
wants to merge 1 commit into from

Conversation

bchess
Copy link

@bchess bchess commented Dec 12, 2013

The QUEUE_TIMEOUT_GET causes some unnecessary slowdowns. By removing it and using a sentinel instead to end the threads, several s3-based operations can run faster.

Old:
% time aws s3 cp empty_file s3://test_bucket/empty_file
upload: ./empty_file to s3://test_bucket/empty_file
aws s3 cp empty_file s3://test_bucket/empty_file 0.31s user 0.05s system 16% cpu 2.189 total

New:
% time aws s3 cp empty_file s3://test_bucket/empty_file
upload: ./empty_file to s3://test_bucket/empty_file
aws s3 cp empty_file s3://test_bucket/empty_file 0.27s user 0.06s system 85% cpu 0.385 total

@jamesls jamesls closed this in 4c1cc61 Jan 2, 2014
@jamesls
Copy link
Member

jamesls commented Jan 2, 2014

Merged, thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants