From 86dfb4312bf8fa5c7a4a79f0de1d6f0b29848252 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Tue, 1 Dec 2015 09:26:02 -0500 Subject: [PATCH] 6309: Use arv-mount default cache size. Fix documentation typo. --- doc/api/schema/Job.html.textile.liquid | 1 - sdk/cli/bin/crunch-job | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/schema/Job.html.textile.liquid b/doc/api/schema/Job.html.textile.liquid index 8abd42250a..5bc7611d0d 100644 --- a/doc/api/schema/Job.html.textile.liquid +++ b/doc/api/schema/Job.html.textile.liquid @@ -66,4 +66,3 @@ table(table table-bordered table-condensed). |max_tasks_per_node|integer|Maximum simultaneous tasks on a single node|✓| |keep_cache_mb_per_task|integer|Size of file data buffer for per-task Keep directory ($TASK_KEEPMOUNT), in MiB. Default is 256 MiB. Increase this to reduce cache thrashing in situtations such as accessing multiple large (64+ MiB) files at the same time, or accessing different parts of a large file at the same time.|✓| |min_ram_per_task|integer|Minimum real memory (KiB) per task|| -|min_ram_per_task|integer|Minimum real memory (KiB) per task|| diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job index 2c3783ff0e..b2c14d5b71 100755 --- a/sdk/cli/bin/crunch-job +++ b/sdk/cli/bin/crunch-job @@ -886,7 +886,7 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++) my $stdbuf = " stdbuf --output=0 --error=0 "; - my $arv_file_cache = "--file-cache=" . (256 * 1024 * 1024); + my $arv_file_cache = ""; if (defined($Job->{'runtime_constraints'}->{'keep_cache_mb_per_task'})) { $arv_file_cache = "--file-cache=" . ($Job->{'runtime_constraints'}->{'keep_cache_mb_per_task'} * 1024 * 1024); } -- 2.39.5