Hii use a fixed number of child processes. what will be test scenario so i can adjust it?
Your code should discover the number of hardware threads and work with that.
The MTL system is setup to provide an environment with 1-n threads (n being upper limit on the number of hardware theads available). This way thay can test scalability.