forked from cooperative-computing-lab/cctools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vine: measure and report worker sandbox used (cooperative-computing-l…
…ab#3889) * measure sandbox on completion and report to manageR * fix disk check bug * remove task inputs from sandbox measurement * remove debug * update measurement strategy * format * refer to sandbox usage for category minimum * format * move max_disk_use to vine_stats->max_sandbox * use hash_table to encode excluded paths * minimum disk requested is always at least input size * do not add one to sandbox_used * pad with at least bucket_size/2 as we do for first allocations * update wq * treat sandbox as any other disk allocation * add VINE_RESULT_SANDBOX_EXHAUSTION * use padded sandbox as min * treat sandboxes differently than regular allocations otherwise FIXED allocations that did not specify disk are not retried. * format * add API call to enable/disable proportional resources * api * consider min resources for proportion * use user values * disable whole task proportion if specific resource was given * rename max_sandbox -> min_sandbox * do not double measure disk * set minimum disk usage from sandbox * update comments * disk only specified output and ephemeral files * proportion with available disk - cached * use already inuse_cache value in count_worker_resources * use available_disk with t->input_files_size * turn off prop whole tasks only for mem and disk * check for user resources not specified * fix conflict, input_size * format * macros to conver bytes to megabytes, etc. * correctly account for inuse_cache units * add DISK to vine_worker test * format --------- Co-authored-by: Benjamin Tovar <[email protected]>
- Loading branch information
1 parent
5f5bc96
commit 24520c9
Showing
23 changed files
with
301 additions
and
77 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
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
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
Oops, something went wrong.