Numerical Problem on Processor Pool Model

Click For Summary
SUMMARY

The discussion focuses on the speed gain achievable in a distributed computing system using the processor-pool model with ##P## processors and ##F## source files, where ##F < P##. The maximum speedup is calculated as (Ft - t)/Ft, assuming equal compilation times and no resource contention. However, real-world scenarios introduce complexities such as variable compile times, linking, and loading processes, which can significantly reduce the theoretical speedup. Amdahl's Law is referenced to illustrate the limitations of parallel processing in practical applications.

PREREQUISITES
  • Understanding of distributed computing systems
  • Knowledge of the processor-pool model
  • Familiarity with Amdahl's Law
  • Basic concepts of compilation and linking processes
NEXT STEPS
  • Research the implications of Amdahl's Law on parallel computing
  • Explore techniques for optimizing compilation times in distributed systems
  • Learn about resource contention and its effects on performance
  • Investigate the processor-pool model in various distributed computing frameworks
USEFUL FOR

Software engineers, system architects, and anyone involved in optimizing distributed computing performance and understanding the limitations of parallel processing.

22990atinesh
Messages
143
Reaction score
1
Consider the case of a distributed computing system based on the processor-pool model that has ##P## processors in the pool. In this system, suppose a user start a computing job that involves compilation of a program consisting of ##F## source file ##(F < P)##. Assume that at this time the user is the only user using the system. What maximum gain in speed can be hoped for this job in this systems compared to its execution on a single processor system ? What factors might cause the gain in speed to be less than this maximum ?

Attempt:
Let 't' secs are required by each processor in processor pool model to complete the job. Hence overall 't' secs will be needed as in processor pool model as all processor are running in parallel.

In case of single processor system time required will be = Ft s

Hence gain in speed is = (Ft - t)/Ft

is it correct or I'm assuming sth wrong. Can anybody help.
 
Your reasoning is fine if you make the assumption that every file requires the same time to compile, that there is no linking and loading of the compiled modules into a single runtime image, and that there are no resources that are competed for. In this case you have found an expression for the maximum, best case speedup.

In a real-world situation there's likely to be a range of compile times and library requirements, and the link/load step would require access to all the compiled modules after compilation.

The compilations would then be finished when the longest module is done, and linking could only start when that is complete. Linking and creating/writing the load image would likely involve some irreducible serial activity. Refer to Amdahl's law.
 
  • Like
Likes   Reactions: 22990atinesh

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K