Computers and Technology

Detailed Instructions on Processes Layout (14 points): 1) Write a program to answer this problem using only one process. 2) Write a program to answer this problem using multiple processes where each process spawns at most one process. (Like DFS). 3) Write a program to answer this problem using multiple processes where the first process spawns a fixed number of processes, say X, and they (the children) spawn their own X multiple processes each, and so on and so forth. 4) Ensure that in all cases you are using the appropriate system calls for InterProcess Communication (IPC) and for making the processes collaborate harmoniously, terminate gracefully, and without zombies 5) Your ultimate goal should be to produce such a hierarchy of processes (process tree) that produces the final result faster. Can you fine-tune the size of variable X to do that? Or are the preceding configurations the clear winners? Consider lists of increasing sizes. 6) Can you create an arbitrary number of processes or are there any limitations? If you find limitations in your version of Linux OS, please show (e. g. via a printscreen or a file) what are your exact limitations in increasing the number of processes you will be generating. Why is this so?

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:00, TamB01
How can i clip a picture to a question on the computer?
Answers: 1
image
Computers and Technology, 22.06.2019 10:30, darrengresham999
Choose the best explanation for the following statement communication is symbolic
Answers: 3
image
Computers and Technology, 24.06.2019 15:40, elgallo5399
In the above figure, what type of cylinder arrangement is shown in the figure above? a. l-type b. v-type c. in-line d. horizontal pls make sure its right if its rong im grounded for 3months
Answers: 1
image
Computers and Technology, 25.06.2019 05:00, adajadavis2843
Which of the following statements best deceive the relationship between carrying capacity and population size
Answers: 1
Do you know the correct answer?
Detailed Instructions on Processes Layout (14 points): 1) Write a program to answer this problem usi...

Questions in other subjects:

Konu
Mathematics, 05.02.2020 09:56