Automatically decide whether to use multiprocessing
Automatically decide whether to use multiprocessing