I'm studying parallel computing using the book clrs:
I have some questions regarding span law and work law ( I
understand work law but I dont understand span law):
- Work means that the amount of time to compute 1 processor. As
such, work law means that the amount of time to execute all the
process will always be faster than the amount
of time to execute 1 workload using the same amount of processor. (
correct me if im wrong )
- For span: I dont understand what is span ? And what is span law ?
Work means the amount of time required to execute whole computation means total time taken by all processes/threads.
In parallel computing multi-process/thread environment there will be multiple paths of execution represented by directed acyclic graph.
Span time is the longest time taken to computer processes on any path.
A System with P processors can not have performance as system with infinite processors. However A system with unlimited number of processors can simulate same performance as system with P processors by just using it's P processors. This is called Span Law.
Tp >= Tinfinite
Get Answers For Free
Most questions answered within 1 hours.