[MacPorts] #71711: portindex: allow thread count override via new macports.conf property

MacPorts noreply at macports.org
Thu May 15 14:24:52 UTC 2025


#71711: portindex: allow thread count override via new macports.conf property
--------------------------+----------------------
  Reporter:  mascguy      |      Owner:  (none)
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.10.5
Resolution:               |   Keywords:
      Port:  portindex    |
--------------------------+----------------------

Comment (by mascguy):

 Replying to [comment:7 jmroot]:
 > Replying to [comment:6 mascguy]:
 > > Josh, while your update of the pool management is a nice addition, the
 9-second startup lag [due to 24 threads being spun up] is still a big
 problem.
 >
 > That cannot be the case if the thread pool is correctly starting with 1
 thread. Please show the results of the test in the ticket description with
 current master.

 While I haven't run official timing tests yet, this is definitely a big
 improvement!

 As for my edge case... ultimately I'm planning to profile the low-level
 TCL code related to thread management: My hope is that there might be
 something that can be done to speed things up, particularly for older
 macOS releases.

 But since this is only an issue for my specific development use-case - and
 I'm also in the process of migrating to Sequoia [via OpecCore] - this
 won't be a big deal in the long run.

 Still, I'd like to keep this open for now, to track the profiling effort.

-- 
Ticket URL: <https://trac.macports.org/ticket/71711#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list