[ARVADOS] updated: 2.1.0-2175-g33e4f1574

Git user git at public.arvados.org
Wed Mar 30 02:14:05 UTC 2022


Summary of changes:
 services/fuse/arvados_fuse/fusedir.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

       via  33e4f1574f5bd14784c65863739478ff864732d2 (commit)
      from  2f5d5f03ef768d5bca81d52aa70cf7383fe449a2 (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 33e4f1574f5bd14784c65863739478ff864732d2
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Tue Mar 29 22:13:45 2022 -0400

    18941: clamp prefetch to 6
    
    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 bfd06c714..876825a37 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -525,8 +525,9 @@ class CollectionDirectory(CollectionDirectoryBase):
                         self.collection.update()
                         new_collection_record = self.collection.api_response()
                     else:
-                        # 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)
+                        # too much prefetch and you end up stepping on your own transfers
+                        # experimentally the optimal somewhere between 4 and 6
+                        get_threads = min(max((self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)) - 1, 1), 6)
                         # 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