<div dir="ltr">I had to revert this, it was causing issues and lit was hanging (see the revert commit message).<div>With some testing, bumping it up to 61 repros my issue, but 60 is fine. I'll submit a change to bump it up to 60, hopefully that works for you (and nobody else sees issues like mine).</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 7, 2021 at 10:23 AM Saleem Abdulrasool via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Author: Saleem Abdulrasool<br>
Date: 2021-05-07T10:22:43-07:00<br>
New Revision: d319005a3746a7661c8c9a3302266b6ff7cf61be<br>
<br>
URL: <a href="https://github.com/llvm/llvm-project/commit/d319005a3746a7661c8c9a3302266b6ff7cf61be" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/d319005a3746a7661c8c9a3302266b6ff7cf61be</a><br>
DIFF: <a href="https://github.com/llvm/llvm-project/commit/d319005a3746a7661c8c9a3302266b6ff7cf61be.diff" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/d319005a3746a7661c8c9a3302266b6ff7cf61be.diff</a><br>
<br>
LOG: lit: revert 134b103fc0f3a995d76398bf4b029d72bebe8162<br>
<br>
Revert the 32-process cap on Windows.  When testing with Swift, we found<br>
that there was a time reduction for testing with the higher load.  This<br>
should hopefully not matter much in practice.  In the case that the<br>
original problem with python remains with a high subprocess count, we<br>
can easily revert this change.<br>
<br>
Added: <br>
<br>
<br>
Modified: <br>
    llvm/utils/lit/lit/util.py<br>
<br>
Removed: <br>
<br>
<br>
<br>
################################################################################<br>
diff  --git a/llvm/utils/lit/lit/util.py b/llvm/utils/lit/lit/util.py<br>
index 0d8f0040f41cc..fb96b2238b891 100644<br>
--- a/llvm/utils/lit/lit/util.py<br>
+++ b/llvm/utils/lit/lit/util.py<br>
@@ -119,12 +119,6 @@ def usable_core_count():<br>
         n = len(os.sched_getaffinity(0))<br>
     except AttributeError:<br>
         n = os.cpu_count() or 1<br>
-<br>
-    # On Windows, with more than 32 processes, process creation often fails with<br>
-    # "Too many open files".  FIXME: Check if there's a better fix.<br>
-    if platform.system() == 'Windows':<br>
-        return min(n, 32)<br>
-<br>
     return n<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>