N/APosted on - 06/06/2012
I have a multiprocessor system and a multithreaded program written using the many to many threading model. I would like to know about the performance of the system in a scenario where the number of kernel thread allocated to the program is less than the number of processors and the number of user level threads in the program be more than the number of processors in the system.
Multithreaded program written using the many to many threading model?
The performance of the system might be slow as the number of processors is low. Since the processors are the ones that provide the threading feature to the system, so lesser processors means lesser threads to deal with the model.
However, it also depends on which type of processor do you have. A simple Pentium 4, core2duo or a heavy duty sandy bridge or Xeon based processors which have multiple threads on each core and there are multiple cores on a single processor.
The system performance depends on the above things very much as it will cause the system to perform well and bad in both the cases. See what type of processor do you have and then evaluate the performance level by comparing it with the processor type.