Conversation

do people have a good solution for managing global parallelism on a unix box? the problem is that I want to fork some processes, each of which is going to fork some unpredictable number of processes, and I want global parallelism == number of cores
16
25
easy solutions that don't work for me include looking at machine load before forking and running some sort of persistent global parallelism manager. but I guess processes could scan the process table and count instances of themselves before forking? not real elegant...
7
2