Reputation: 97
When calculating parallel efficiency of a program running on a multi-core home PC using the equation:
Efficiency = Speedup / p
Would p
represent the number of threads used in the program or the number of cores of the PC?
Upvotes: 0
Views: 4731
Reputation: 4968
Usually, parallel efficiency is computed as Speedup / p where p represents the number of cores. Indeed, in a normal set-up, you are limited by the actual number of cores, not the number of threads.
Upvotes: 3