瀏覽代碼

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 年之前
父節點
當前提交
64c596fc9f
共有 1 個文件被更改,包括 2 次插入2 次删除
  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