Created
January 31, 2020 20:17
-
-
Save iSevenDays/336cd3d80a158479abc3086738470983 to your computer and use it in GitHub Desktop.
Override Google Backup and Sync performance upload issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This overrides performance settings defined in site-packages/common/feature_switch_manager.py | |
Aren't default settings perfect? Default settings were not able to upload 200 000 files within 3 days. | |
There were some interruptions and the app had to re-verify everything from scratch. | |
Go to Contents/MacOS folder and execute | |
./Backup\ and\ Sync --max_batch_upload_files=300 --max_sha1_match_batch_size=500 --telemetry_enabled=0 --token_bucket_read_qps=30 --token_bucket_write_qps=20 --num_workers=10 | |
max_batch_upload_files = Maximum number of files to include in a batch upload. | |
max_sha1_match_batch_size = Maximum number of sha1 match requests in a batch. | |
token_bucket_read_qps = Maximum number of reads operations per second | |
token_bucket_write_qps = Maximum number of write operations per second | |
num_workers = Number of worker threads. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment