You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/faq.rst
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -464,3 +464,8 @@ If those quick fixes don't work, feel free to raise an issue.
464
464
However, as multi-threading and multi-processing are notoriously
465
465
difficult to debug, especially on a problem I'm not familiar with,
466
466
it's likely that I might not be able to help all that much.
467
+
468
+
469
+
** How to decide on the number of processes in a pool and how to set queue_size**
470
+
471
+
Assuming that you decided on the number of live-points K that you want to use and that the likelihood evaluation is not very quick, you should use as many processes as you can up to around K. The queue_size should be equal the number of processes. If you are using the the number of processes that M is smaller than K, you may want to use :math:`M=K//2` or :math:`M=K//3` i.e integer fractions. So if you are using 1024 live-points all powers of two up to 1024 would be good choiceS for the number of processes.
0 commit comments