[ARVADOS] created: d3ae482ebaf8c3c489f4d410ff2f5b6a550515e2

Git user git at public.curoverse.com
Fri Jan 13 13:41:09 EST 2017


        at  d3ae482ebaf8c3c489f4d410ff2f5b6a550515e2 (commit)


commit d3ae482ebaf8c3c489f4d410ff2f5b6a550515e2
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Fri Jan 13 15:40:00 2017 -0300

    10813: arv-put with 6 upload threads, to be tested on production.

diff --git a/sdk/python/arvados/arvfile.py b/sdk/python/arvados/arvfile.py
index 4cc2591..c741ea7 100644
--- a/sdk/python/arvados/arvfile.py
+++ b/sdk/python/arvados/arvfile.py
@@ -401,7 +401,7 @@ class _BlockManager(object):
 
     """
 
-    DEFAULT_PUT_THREADS = 2
+    DEFAULT_PUT_THREADS = 6
     DEFAULT_GET_THREADS = 2
 
     def __init__(self, keep, copies=None):
@@ -498,7 +498,7 @@ class _BlockManager(object):
                 # blocks pending.  If they are full 64 MiB blocks, that means up to
                 # 256 MiB of internal buffering, which is the same size as the
                 # default download block cache in KeepClient.
-                self._put_queue = Queue.Queue(maxsize=2)
+                self._put_queue = Queue.Queue(maxsize=1)
 
                 self._put_threads = []
                 for i in xrange(0, self.num_put_threads):

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list