How to Maximize CPU Utilization - @spawn Assigning to Busy Workers - Use pmap Instead

Was just asking about this other day here. I think the answer to your question is that instead of @spawn, use remotecall_fetch(default_worker_pool()) do ... end or even just pmap over your packedChunk. Both will only use free workers and keep them busy until work is exhausted.

1 Like