[ARVADOS] updated: 2.1.0-2174-g2f5d5f03e
Git user
git at public.arvados.org
Wed Mar 30 01:55:43 UTC 2022
Summary of changes:
services/fuse/arvados_fuse/fusedir.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via 2f5d5f03ef768d5bca81d52aa70cf7383fe449a2 (commit)
from d3aed8ca5cbf876cdd9f3fcb36f4b44191be2066 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 2f5d5f03ef768d5bca81d52aa70cf7383fe449a2
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Tue Mar 29 21:55:26 2022 -0400
18941: Clamp to 4 block prefetch
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/services/fuse/arvados_fuse/fusedir.py b/services/fuse/arvados_fuse/fusedir.py
index d001e5728..bfd06c714 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -525,7 +525,8 @@ class CollectionDirectory(CollectionDirectoryBase):
self.collection.update()
new_collection_record = self.collection.api_response()
else:
- get_threads = min(max((self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)) - 1, 1), 16)
+ # experimentally, 4 block prefetch seems to be optimal.
+ get_threads = min(max((self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)) - 1, 1), 4)
# Create a new collection object
if uuid_pattern.match(self.collection_locator):
coll_reader = arvados.collection.Collection(
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list