SUBJECT: OPERATING SYSTEM QUESTION NO. 2 For the following short questions, provide a 3-4 line answer. The answer should be based on your analysis and critical thinking i. How multithread threads of a process can be lightweight when they are consuming same processor as required by a whole process? ii. Give two reasons why caches are useful. What problems do they solve? What problems do they cause? If a cache can be made as large as the device for which it is caching (for instance, a cache as large as a disk), why not make it that large and eliminate the device? iii. What is the function of PC? Can a thread share PC as we say “threads share data”? Is there a way to reduce process context switching overhead? iv. Is it possible that we have unlimited buffer size or we are saying it because buffer size is very large? v. Why everything cannot be handled at kernel mode and they need to be transferred at user mode? vi. Describe some of the challenges of designing operating systems for mobile devices compared with designing operating systems for traditional PCs? vii. In One-to-One multithreading model, number of threads per process sometimes are restricted due to overhead, why? NOTE: SOLVE ASAP
SUBJECT:
QUESTION NO. 2
For the following short questions, provide a 3-4 line answer. The answer should be based on your analysis and critical thinking |
i. How multithread threads of a process can be lightweight when they are consuming same processor as required by a whole process? |
ii. Give two reasons why caches are useful. What problems do they solve? What problems do they cause? If a cache can be made as large as the device for which it is caching (for instance, a cache as large as a disk), why not make it that large and eliminate the device? |
iii. What is the function of PC? Can a thread share PC as we say “threads share data”? Is there a way to reduce process context switching overhead? |
iv. Is it possible that we have unlimited buffer size or we are saying it because buffer size is very large? |
v. Why everything cannot be handled at kernel mode and they need to be transferred at user mode? |
vi. Describe some of the challenges of designing operating systems for mobile devices compared with designing operating systems for traditional PCs? |
vii. In One-to-One multithreading model, number of threads per process sometimes are restricted due to overhead, why? |
NOTE: SOLVE ASAP
Trending now
This is a popular solution!
Step by step
Solved in 4 steps