Question: (a) Google has a warehouse filled with computers, about 200 thousand compute-cores, 1. is this warehouse a grid, a SMP, or something else (what)? In
(a) Google has a warehouse filled with computers, about 200 thousand compute-cores,
1. is this warehouse a grid, a SMP, or something else (what)? In less than 8 words, why?
2. If one Google application (for example search) were programmed to use all these cores simultaneously, what type of thread model could they use (why)?
(b) 1. If DLLs make program executables much larger than static libraries, why are they used (briefly explain why)?
2. Do overlays make program stacks, data, code, or heap smaller or larger?
(c) 1. Since multi-processing provides concurrency, what advantage do threads provide?
2. Can multiple process programs (such as your assignment) also be multi-threaded?
(d) 1. Are semaphores devices, hardware, cores, memory, functions or registers? (very briefly, explain or describe)
2. When should semaphores be used: all programs, in multi-process code, in multi-threaded code, in deadlock code, in grids? (very briefly, explain or describe)
(e) When processes are swapped, 1. Where are they before they are swapped and where are they swapped to? 2. Why are they swapped (what benefit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
