-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: WDT throttler is now used in stargate to throttle hdfs backup/download, and application specific downloads. Rocksdb backup engine throttles 5M at a time. However, WDT sender/receiver throttles 256K at a time. If a thread requests to throttle more data, it gets higher percentage of the bandwidth available. For example, Backup engine threads will get 20 time more bandwidth than WDT threads. This sometimes causes WDT transfers to fail with NO_PROGRESS. To solve this, any throttle request for more than 256K is broken down internally to bunch of 256K requests. This ensures that one single thread is not able to take too much of the bandwidth. Reviewed By: ldemailly Differential Revision: D4028660 fbshipit-source-id: ab65e1a9ac4861364a801083e56bf30efbb4e153
- Loading branch information
Showing
4 changed files
with
113 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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 file contains 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 file contains 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 file contains 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