Increase the number of threads to 25
authorIustin Pop <iustin@google.com>
Mon, 6 Oct 2008 13:29:51 +0000 (13:29 +0000)
committerIustin Pop <iustin@google.com>
Mon, 6 Oct 2008 13:29:51 +0000 (13:29 +0000)
Since our locks are not gathered nicely, we can have jobs that are
actually blocking on locks (parallel burnin shows this), so at least we
need to increase the number of threads above the usual number of jobs we
could have in a such a case.

Reviewed-by: imsnah

lib/jqueue.py

index 1fdd1ec..8f01a5b 100644 (file)
@@ -46,7 +46,7 @@ from ganeti import jstore
 from ganeti import rpc
 
 
-JOBQUEUE_THREADS = 5
+JOBQUEUE_THREADS = 25
 
 
 def TimeStampNow():