Browse Source

More detail about prefetch and long-running tasks

When reading docs, I thought T3 would be stuck behind T1, but other tasks would be sent to available workers. I've seen that queued tasks aren't sent to available workers unless -Ofair is used, so clarifying this description.
Jason Veatch 9 years ago
parent
commit
64c596fc9f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/userguide/optimizing.rst

+ 2 - 2
docs/userguide/optimizing.rst

@@ -217,8 +217,8 @@ waiting for long running tasks to complete::
     <- T2 complete
 
     -> send T3 to Process A
-    # A still executing T1, T3 stuck in local buffer and
-    # will not start until T1 returns
+    # A still executing T1, T3 stuck in local buffer and will not start until
+    # T1 returns, and other queued tasks will not be sent to idle workers
 
 The worker will send tasks to the process as long as the pipe buffer is
 writable.  The pipe buffer size varies based on the operating system: some may