pof
2016-07-05 21:15:30 UTC
Dear all,
I have been using for a long time now (several years) a parallelization
of some computation method using a FXThreadPool, which can typically
contain in my case between 1e3 to 1e6 Worker-Threads.
This works nicely as it distribute computing load to all available CPUs.
In some situations, it could be interesting to limit the number of CPUs
used by the FXThreadPool, for instance to keep some CPU available for
other tasks or other applications.
I have looked around, but I did not find an obvious way to do that.
Any idea or hint are welcome.
Cheers
Pof
I have been using for a long time now (several years) a parallelization
of some computation method using a FXThreadPool, which can typically
contain in my case between 1e3 to 1e6 Worker-Threads.
This works nicely as it distribute computing load to all available CPUs.
In some situations, it could be interesting to limit the number of CPUs
used by the FXThreadPool, for instance to keep some CPU available for
other tasks or other applications.
I have looked around, but I did not find an obvious way to do that.
Any idea or hint are welcome.
Cheers
Pof