SMP module allows to set static affinity mask for each process inside process pool to limit total number of threads running in application:
python -m smp [-f <oversubscription_factor>] [-p <number_of_outermost_processes>] script.py
The module supports two types of process pool: multiprocessing.pool.Pool and concurrent.futures.ProcessPoolExecutor, as well as one thread pool: multiprocessing.pool.ThreadPool. Can be run with TBB module as well:
python -m smp [-f <oversubscription_factor>] [-p <number_of_outermost_processes>] -m tbb script.py
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4