I am working on implementing multithreading in application.
My application processes millions of records per run/execution. I want to distribute this task to number of threads to improve performance. All threads will remain busy.
In this case is it wise decision to spawn number of threads = number of available processors ??(e.g. Four threads on quad core machine)
If i make more threads, will it hamper the performance ??