MAX_NUM_THREAD and MAX_NUM_PROCESSES is the number of cores your pc have