OPERATING SYSTEM PART-A UNIT-1 INTRODUCTION TO OPERATING SYSTEMS, SYSTEM STRUCTURES
|
|
- Marian Higgins
- 7 years ago
- Views:
Transcription
1 OPERATING SYSTEM PART-A UNIT-1 INTRODUCTION TO OPERATING SYSTEMS, SYSTEM STRUCTURES 1. Define an operating system. Discuss its role with user and system viewpoints 2. Give the features of symmetric and asymmetric multiprocessing systems. (07Marks,Dec09,Dec08,June09) (04Marks,June09,Dec09) 3. Briefly explain the common classes of services provided by the various operating systems for helping the user and for ensuring the efficient operation of the systems for helping the user and for ensuring the efficient operation of the system. 4. List out the different services that an operating system provides. Explain. (10Marks,Dec09) (06Marks,Dec08) 5. Explain the concept of virtual machines. Bring out its advantages. (05Marks,Dec08) 6. Differentiate between a trap and an interrupt. (02Marks,Dec08) 7. Discuss the operating system function i) That helpful to user. ii) that are meant for ensuring the efficient operation of system. 8. Explain the following terms: i)bootstrap program (09Marks,June09) ii) Caching iii) Trap iv) Job pool v) Symmetric multiprocessing. (05Marks,May10) 9. Explain two sets of operating system services that are helpful to user as well as efficient operation of system. (10Marks,May10) 10. Write and explain the sequence of system calls for copying a file to another (new) file. (10Marks,May10) 11. What is an operating system? Explain the goals of an operating system. (06Marks,Dec10) 12. Define the essential properties of the following operating systems: i) Time sharing operating system ii) Batch operating system iii) Real time operating system iv) Distributed operating system. (10Marks,May10) 13. Mention the different system structures employed in a modern operating system. Explain the virtual machine approach. (06Marks,Dec10) 14. Define an operating system. Explain two view points of OS role. (05Marks,Dec10) 15. What are OS operations? Explain. (06Marks,Dec11) Dept of CSE, DSATM Page 20
2 16. Define a virtual machine (VM). With a neat diagram, explain the working of VM. What are the benefits of a VM? (09Marks,Dec10) 17. Distinguish among the following terminologies associated with the operating system and explain each of them in detail Multitasking systems, Multiprogramming systems,multi processors system (12Marks, June11) 18. With the help of an example explain the concept of virtual machines (08Marks, June11) 19. What is an operating system? Bring out the requirements of i) real time operating system ii) distributed operating system (10Marks,June12) 20. What are system calls? explain different categories of system calls (10Marks,June12) 21. Define operating systems. discuss its role with respect to user and system view points (06Marks,Dec12) 22. briefly explain clustered and real time system (04Marks,Dec12) 23. Define virtual machines. with a neat sketch explain its working and what are the benefits of virtual machines (10Marks,Dec12) 24. List the operating system responsibilities in connection, with a process management and memory management (08Marks,Dec11) 25. Explain graceful degradation and fault tolerance in multiprocessor system (06Marks,Dec11) 26. What is virtual machine? Explain just-in-time (JIT) compiler,used in java (06Marks,Dec11) UNIT-2 PROCESS MANAGEMENT 1. With a diagram, explain the different states of a process. (06Marks,Dec09) 2. Differentiate between long-term and short-term schedulers. (04Marks,Dec09) 3. Suppose the following jobs arrive for processing at the times indicated. Each job will run the listed amount of time. Job Arrival time Burst time i) Give a Gantt chart illustrating the execution of these jobs, using the non pre-emptive FCFS and SJF scheduling algorithms. ii) What is turnaround time and waiting time of each job for the above algorithms? Dept of CSE, DSATM Page 21
3 iii) Compute average turnaround time if CPU is left idle for the first 1 unit and then SJF is used. (Job1 and Job2 will wait during this time) (10Marks,Dec09) 4. What is a process? Draw and explain the process state diagram. (05Marks,Dec08) 5. Discuss the operations of process creation and process termination in UNIX. (07Marks,Dec08) 6. Describe the implementation of IPC using shared memory and message passing (08Marks,Dec08) 7. Describe the process states with the help of state diagram. (06Marks,June09) 8. Discuss various multithreading models with diagram. (06Marks,June09) 9. Consider the following set of processes. Process Burst time Arrival Time Priority P P P P Draw Grant charts and calculate average waiting time average turnaround time using following CPU scheduling algorithms. i) Preemptive shortest Job First. ii) Non preemptive priority (= HIGH Priority) (08 Marks,June09) 10. What PCB/ enumerate and explain various fields in PCB. (04Marks,May10) 11. What is multithreading? Explain the benefits of multithreaded programming. 12. Consider the following set of processes: Process Arrival time Burst time P P P P (05Marks, May10) i) Draw Gantt charts showing the execution of these processes using FCFS, preemptive ii) iii) SJF, non-preemptive SJF and RR (Quantum 1)scheduling schemes Compute the turnaround time and waiting time for each process for each of schemes above. Compute the average turnaround time and average waiting time in each scheme and above. (11Marks,May10) 13. Explain the process state, with the diagram. What is the need for a context switch? (07Marks,May10) Dept of CSE, DSATM Page 22
4 14. What are schedulers? Explain various schedulers, with diagrams. (07Marks,May10) 15. What is inter process communication? Explain. (07Marks,May10) 16. Define IPC (Inter process communication). What are the different methods used for logical implementation of a message passing system? Explain any one. (06Marks,Dec10) 17. Discuss three common ways of establishing relationship between the user thread and kernel thread. 18. Consider the following set of processes, with length of CPU burst in milliseconds. (06Marks,Dec10) Process P 1 P 2 P 3 P 4 P 5 Arrival time Burst time i) Draw a Gantt chart that illustrates the execution of these processes using the preemptive shortest job first (SJF) algorithm. Hence find the average waiting time. ii) Draw a Gantt chart that illustrate the execution of these processes using preemptive Priority scheduling algorithm. Given priority of each process P 1 + 4, P 2 + 3,P 3 +5, P 4 = 1 and P 5 =1. Also find the average waiting time. (08Marks,Dec10) 19. What is a process? with a state diagram explain the states of process.also write the structure of PCB (10Marks,June11) 20. Consider four jobs with (arrival time, burst time) as (0,5) (0.2,2) (0.6,8) (1.2,4) find the average turn around time and waiting time for the jobs using FCFS,SJF,and RP(q=1) scheduluing algorithm (10Marks,June11) 21. Explain the process states with a diagram. what is the need for context switch? (07Marks,June12) 22. What are the difference between user level threads and kernel supported threads (05Marks,June12) 23. For the following examples calculate average waiting time and average turn around time by FCFS, preemptive SJF, and RR( 1 time unit) CPU scheduling algorithm. Jobs Arrival time Burst time P P P P (08Marks,June12) Dept of CSE, DSATM Page 23
5 24. What is a process? with a state diagram explain the states of process.also write the structure of PCB (08Marks,Dec12) 25. Discuss three common ways of establishing relationship between user and kernel threads (06Marks,Dec12) 26. For the following set of processes. find the average waiting time and average turnaround time along with Gant chart illustration for i) Shortest remaining time first ii) preemptive priority scheduling algorithm Process Burst time Arrival time Priority P P P P P (06Marks,Dec12) 27. Explain process state with a suitable diagram (08Marks,Dec11) 28. Explain the benefits of multi threading programming (08Marks,Dec11) 29. Explain hard real time system (04Marks,Dec11) UNIT-3 PROCESS SYNCHRONIZATION 1. Discuss various multithreading models, with diagram. (06Marks,Dec09) 2. Explain the three requirements that solution to the critical-section problem, must satisfy. (04Marks,Dec09) 3. State the dining philosopher s problem and give a solution for the same, suing semaphores. Write the structure of philosopher. (10Marks,Dec09) 4. Consider the following data about processes Process Arrival time Burst time P P P Priority Dept of CSE, DSATM Page 24
6 P P i) Draw charts to illustrate execution using SRTF, preemptive priority and RR (TS = 1 ii) iii) msec). Compute waiting time in each of the cases. Which of them provide minimal average waiting time and turnaround time? Find out the time at which there are maximum numbers of processes in the ready queue in the scenario? (10Marks,Dec08) 5. Consider a system running 10 1/0 bound tasks and one cpu bound task. Assume 1/0 bound tasks issue an 1/0 once for every msecs of CPU computing and that each 1/0 Operation takes that all processes are long running tasks. Comment on the CPU utilization for a RR scheduler when TS = 1 msec and TS = 10msec. (04Marks,Dec08) 6. What are the three requirements to be met by a solution to the critical section Problem? Explain. (06Marks,June09) 7. Describe the Bounded buffer problem and give a solution for the same using semaphores. Write the structure of producer and consumer processes. 8. Describe the following: i) Semaphore ii) Wait () operation iii) Signal () operation. (08Marks,June09) (06Marks,June09) 9. Define race condition. List the requirements that a solution to critical section problem must satisfy. (05Marks,May10) 10. What are semaphores? Explain two primitive semaphore operations. What are the advantages of semaphore? (07Marks,May10) 11. Define the algorithms Test And Set () and swap (). Show that they satisfy mutual exclusion. (08Marks,May10) 12. Suppose four processes arrive for processing in the order P 1, P 2 P 3, and P 4 with burst times and priorities as given below: Process P 1 P 2 P 3 P 4 Burst time Priority Draw the Gantt charts and calculate the average waiting time for the following algorithms: i) First Come First Served ii) Shortest Job First iii) Priority scheduling (08Marks,Dec10) 13. What is a deadlock? List the necessary conditions for a deadlock to occur. Explain the Banker s algorithm. (12Marks,Dec10) 14. What do you mean by binary semaphore and a counting semaphore? Along with the necessary C struct, explain the implementation of wait 0 and signal 0 semaphore operations. (10Marks,Dec10) Dept of CSE, DSATM Page 25
7 15. With the necessary syntax, describe the term monitor. Explain the solution the classical dining philosopher s problem, using monitor. (10Marks,Dec10) 16. What is synchronization? Explain synchronization hardware (04Marks,June11) 17. What are semaphores? Explain the solution to procedure- consumer problem using semaphores (08Marks,June11) 18. What are monitor? Explain it (04Marks,June11) 19. What is critical section problem? How does a semaphores solve the crtical section problem? Discuss whether semaphores satisfy the three requirement for a solution to a critical section problem (08Marks,June12) 20. What are monitors? Explain with an example (08Marks,June12) 21. Define mutual exclusion and critical section problem. write the software solution for 2- process synchronization (07Marks,Dec12) 22. What is semaphores? explain how it can be used to solve producer consumer problem. (07Marks,Dec12) 23. Explain the solution for dining philosopher problem using monitors (06Marks,Dec12) 24. Explain test and set instruction and expalin mutual exclusion using test and set instructions (05Marks,Dec11) UNIT-4 DEADLOCKS 1. Define the hardware instructions test and set ( ) and swap ( ). And also give the algorithms for implementing mutual exclusion with these Instructions. 2. Describe the necessary conditions for a deadlock situation to arise, in a system. 3. Consider the following snapshot of a system: Allocation Maximum Available A B C D A B C D A B C D (06Marks,Dec09) (04Marks,Dec09) Answer the following questions using the Banker s algorithm; Dept of CSE, DSATM Page 26
8 i) What is the content of the matrix need? ii) Is the system in a safe state? iii)if a request from process P 1 arrives for (0, 4, 2, 0) (10Marks,Dec09) 4. Define race condition. List the requirements that solution to critical section problem must satisfy. (04Marks,Dec08) 5. Define the algorithms Test and Set ( ) and Swap (). Show that they satisfy mutual exclusion (06Marks,Dec08) 6. Consider the following snap shot of resource-allocation at time t 1 Allocation request Available A B C A B C A B C P P P P P i) Show that the system is not deadlocked by generating one safe sequence. ii) At instance 12, p2 makes one additional request for instance of type C, Show that the system is deadlocked if the request is granted. Write down the deadlocked processes. (10Marks,Dec08) 7. Consider the following snapshot of a system. Allocation Maximum Available A B C A B C A B C P P P P P Table Q4(a) Answer following questions using Bankers algorithm. i) Is the system in a safe state? ii) If a request from P1 arrives for (1,0,2), can the request be granted immediately? (09Marks,June09) 8. Discuss the various approaches, used for deadlock recovery. (06Marks,June09) Dept of CSE, DSATM Page 27
9 9. Consider the Resource allocation graphs given in fig.q4(c ) (i)and (ii), Check whether deadlock exists in the system, if yes, identify the processes involved in deadlock. (05Marks,June09) Fig. Q4(c) (i) fig. Q4(c) (ii) 10. Explain how resource-allocation graph is used to describe deadlocks. (05Marks,May10) 11. What are the different methods for handling deadlocks? Explain Banker s algorithm. 12. A safe state in not a deadlock state but a deadlock state is an unsafe state. Explain (11Marks,May10) (04Marks,May10) 13. Explain the terms: critical section and mutual exclusion. (05Marks,Dec10) 14. What is a semaphore? Explain the role of a semaphore in solving a critical section problem. (10Marks,Dec10) 15. What are monitors? Explain. (05Marks,Dec10) 16. Define the terms: safe state and safe sequence. Give an algorithm to find whether or not a system is in a safe state. (10Marks,Dec10) 17. What is dead lock? explain the necessary conditions for its occurrence (08Marks,June12,June11) 18. Consider the system Process Allocation Max Available A B C D A B C D A B C D P P P P P Answer the following questions using Bankers algorithm i) What is the content of matrix need? ii) Is the system in safe state? iii) If a request from process p arrives for ( 0, 4, 2, 0) can the request be granted immediately? (10Marks,June11,Dec10) 19. Explain with a example how a resource allocation graph is used to describe deadlocks (06Marks,June12) Dept of CSE, DSATM Page 28
10 20. System consists of five process (p 0, p 1,p 2,p 3,p 4 ) and three resources (R 1,R 2,R 3 ) resource type R 1 has 10 instances, resource type R 2 has 5 instances, resource type R 3 has 7 instances the following snap shot of the system has been taken Allocation Maximum Available jobs A B C P P P P P A B C A B C Calculate the content for matrix need and find out the safe sequence by using Bankers algorithm (08Marks,June12) 21. Define the necessary and sufficient conditions for dead lock to occur (04Marks,Dec12) 22. Consider the following snap shot of the system Process Allocated resources Maximum requirement Total resources R 1 R 2 R 3 R 1 R 2 R 3 R 1 R 2 R 3 P P P i) What is the content need matrix? ii) Is the system in safe state? iii) If the following requests are made, can they be satisfied / granted immediately in thr current state : P 1 requests for (1, 1, 0) P 3 requests for ( 0, 1, 0) resource additionality (10Marks,Dec12) 23. Given the three processes A,B and C, 3 resources X,Y and Z and the following events. i) A requests X ii) A requests Y iii) B requests Y iv) B requests Z v) C requests X vi) C requests Y vii) C requests Z Assume the requested resources is always allocated to requesting process if it is available.draw the resource allocation graph (RAG) for the sequence (2, 6, 3, 5, 1, 4 and 7).Also mention if deadlock occurs. If so, how do you recover from deadlock (06Marks,Dec12) 24. List any four examples of deadlock that are not related to computer systems. (08Marks,Dec11) 25. Explain safety algorithm used in Bankers algorithm, with a suitable example. (12Marks,Dec11) Dept of CSE, DSATM Page 29
11 PART-B UNIT-5 MEMORY MANAGEMENT 1. What is paging and swapping? (04Marks,Dec09) 2. With a diagram, discuss the steps involved in handling a page fault. (06Marks,Dec09) 3. Consider the following page reference string: For a memory with three frames. How many page faults would occur for LRU, FIFO and optimal page replacement algorithms? Which is the most efficient among them? (10Marks,Dec09) 4. Memory partitions of 100KB, 500KB, 200KB, 300KB, 600KB (in order) are available. How would first fit, best fit and worst fit algorithms place processes of 212KB, 417KB and 426KB (in order). Which algorithm makes the most efficient use of memory? (06Marks,Dec08) 5. Differentiate between internal and external fragmentations? How are they overcome? (04Marks,Dec08) 6. Consider the following page reference stream:1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7,6, 3,2,1, 2, 3, 3. How May page faults would occur for LRU, FIPO and Optimal replacement algorithms assuming 3 and 5 frames? Which one of the above is most efficient? (10Marks,Dec08) 7. Assume we have a paged memory system with associative registers (TLBs) to hold the most active page table entiries. If the page table is normally held in memory and memory access time is 1 micro second, What would be the effective access time if 85% of all memory references find their entires in the associative registers. Assume that associative registers access time is zero.give the differences between: i) internal and external fragmentation ii) paging and segmentation. (06Marks,June09) 8. Discuss the steps involved in handling page fault, with diagram. (06Marks,June09) 9. Consider the following page reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,1,7,0,1. How many page faults would occur for FIFO page replacement algorithm, assuming three frames? (04Marks,June09) 10. What do you mean by dynamic storage allocation problem? Explain possible solutions to this problem. (04Marks,May10) 11. Explain the concept of forward-mapped page table. (04Marks,May10) 12. consider the following reference string : 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1. Assuming three frames, all initially empty, how many page faults would occur for i) LRU ii) FIFO iii) Optimal page replacement algorithms? Which of the algorithms is most efficient in this case? (12Marks,May10) Dept of CSE, DSATM Page 30
12 13. What do you mean by a address binding? Explain the necessary steps, the binding of instructions and data to memory addresses. (08Marks,Dec10) 14. On a system using demand paged memory it takes 0, 12 s to satisfy a memory request, if the page is in memory. If the page is ot in memory the request takes 5000 s. What would the page fault rate need to be to achieve an effective access time 1000 s? Assume the system is only running a single process and the CPU is idle during the page swaps. (08Marks,Dec10) 15. What do you mean by acopy-on-write? Where is it used? Explain in brief. (04Marks,Dec10) 16. What is paging? Explain it (07Marks,June11) 17. Explain internal and external fragmentation with a neat diagram (04Marks,June11) 18. Consider the following page reference string:1,2,3,5,2,3,5,7,2,1,2,3,8,6,4,3,2,2,3,6 How many page faults would occur in the case of i) LRU ii) FIFO iii) Optimal algorithm. assuming 3 frames note that initially all frames are empty (08Marks,June11) 19. Distinguish between i) Logical address space and physical address space ii) Internal and external fragmentation iii) Paging and segmentation (09Marks,June12) 20. Explain with the help of supporting hardware diagram how the TLB improves the performance of demand paging (10Marks,June12) 21. Given memory partitions of 100k,500k,200k, 300k and 600k( in order) how would each of first fit, best fit and worst fit algorithms work place process of 212k,417k,112k, and 426k ( in order)? Which algorithm makes the most efficient use of memory? (09Marks,June12) 22. Explain with illustrations, the external and internal fragmentation problem encountered in contiguous memory allocation. (09Marks,Dec12) 23. Explain the concept of forward mapped page table. (09Marks,Dec12) 24. Consider the following sequence of memory reference form a 460 word program. 10,11,104,170,73,309,185,245,246,434,458,364 show the reference string assuming page size of 100 words find page fault rate for the above reference string assuming 200 words of primary memory available and FIFO and LRU replacement algorithms. (10Marks, Dec12) 25. What is dynamic storage allocation? Explain the commonly used strategies for dynamic storage allocation (09Marks,Dec12) 26. Explain the buddy-system, used for managing free memory assigned to kernel process (06Marks, Dec11) 27. Explain the following page replacement algorithms : i) Optimal ii) LRU 28. To reference string 1,0,7,1,0,3,1,3,2,0,3,2,4,0,3,2,1,0,7 find how many page faults would occur for these algorithms, if number of frames is 3. (10Marks,Dec10) Dept of CSE, DSATM Page 31
13 29. Explain the segmentation memory management. Describe the hardware support that is required for its implementation (10Marks,Dec10) UNIT-6 FILE SYSTEM, IMPLEMENTATION OF FILE SYSTEM 1. Explain the following: i) File types ii) File operation. iii) File attributes (12Marks,Dec09) 2. Explain the methods used for implementing directories. (08Marks,Dec09) 3. What is file? Describe the different access methods on files. (07Marks,Dec08) 4. What is file mounting? Explain. (04Marks,Dec08) 5. Draw a neat diagram and explain finked file allocation. Is FAT linked allocation? Discuss. (09Marks,Dec08) Discuss the following in brief: i) File Attributes ii) File types iii) Sequential File Access iv) Tree structured Directories. (12Marks,Dec08) 6. Explain contiguous, linked and indexed methods of allocating disk space. (08Marks,Dec10) 7. What is meant by consistency semantics? Explain the consistency semantics as implemented in a modern O.S. (07Marks,May10) 8. With the help of neat diagram, describe: i) Tree-structured directory ii) Acylic- graph directory. (06Marks,May10) 9. Explain virtual file system (VFS) (09Marks,May10) 10. Explain any two file allocation methods with their merits and demerits. (08Marks,Dec10) 11. Explain the following disk scheduling algorithms: i) SSTF ii) SCAN iii) LOOK (10Marks,Dec10) 12. What are the different file access methods? Explain briefly. (05Marks,Dec10) 13. What do mean by a free space list? With suitable examples, explain any two methods of implementation of a free space list. (08Marks,Dec10) 14. What are the major methods used for allocating a disk space? Explain each, with suitable examples. (12Marks,Dec10) 15. Explain different file access methods. (05Marks,June11) 16. Explain various directory structures (07Marks,June11) 17. Explain different disk space allocation methods with an example. (08Marks,June11) 18. Explain different types of files. (05Marks,June12) 19. Name the different allocation methods. Explain the linked allocation of file implementation with merits and demerits (08Marks,June12) 20. Define file system explain different directory structure (07Marks,June12) 21. Describe the different access methods on files (09 Marks,Dec12) 22. Explain the concept of file mounting (05 Marks,Dec12) Dept of CSE, DSATM Page 32
14 23. With neat sketch, explain the linked file allocation and indexing file allocation methods. (05Marks,Dec11) 24. List the common file types along with its extension and functions (10Marks,Dec11) 25. How do the modern operating systems concurrently support multiplies types of file system? Explain its implementation (10Marks,Dec11) UNIT-7 SECONDARY STORAGE STRUCTURES, PROTECTION 1. A disk drive has 200 cylinders numbered from 0 to 199. The disk head is initially at cylinder 53. The queue of pending requests in FIFO order is: 98, 183, 37, 122, 14, 124, 65, 67. Starting from the current head position, what is the total distance traveled (in cylinders ) by Illustrate with figures in each case. (12Marks,Dec09) 2. Describe the access matrix model used for protection purpose. (08Marks,Dec09,Dec10,Dec08) A drive has 5000cylinders numbered 0 to The drive is currently serving a request at cylinder 143 and the previous request was at cylinder 125. The queue of pending requests in FIFO order is : 86, 1470, 913, 1773, 948, 1509, 1022, 1750, 130. Starting from the current head position, what is the total distance travelled (in cylinders) by the disk arm to satisfy the requests using algorithms FCFS, SSTF, SCAN, LOOK. Illustrate with figures in each case. (10Marks,Dec12,June11,Dec08,May11,June09) 3. Explain the following disk scheduling algorithms in brief with examples. i) FCFS Scheduling ii) S S T F Scheduling iii) S C A N Scheduling (12Marks,June11) 4. Suppose the position of cylinder is at 53. Sketch the graphical representation for the queue of pending requests in the order -98, 183, 37, 122, 14, 124, 65, 67, for FCFS, SSTF and LOOK scheduling schemes. Give your comment on this scenario for the above schemes. (12Marks,June09) 5. Explain briefly various types of program threats and system threats. (10Marks,Dec10) 6. Discuss the steps in handling a page fault, with the help of neat diagram. (10Marks,Dec10) 7. Given the page reference string: Three frames allocate for the program in the main memory. Determine the number of page faults using i) LRU policy ii) Optimal Replacement policy. (10Marks,Dec12) 8. Explain access matrix with an example (05Marks,June11) 9. Explain domain of protection (05Marks,June11) 10. What is disk scheduling? Explain any 3 disk Scheduling methods with examples. (10Marks,June12) 11. What is swap space management? explain. (05Marks,June12) 12. What is access matrix?explain access matrix with domain as objects (05Marks,June12) 13. Explain sector slipping. with an example (04Marks,Dec11) 14. Assume the disk queue, with request fun I/O to block on cylinders as 80, 30,15,100,125,90,45, and 10. If the disk head is initially at cylinder 35, illustrate the disk movements using the SSTF scheduling algorithm. Also calculate the total head movement (08Marks,Dec11) 15. Explain various questions that arise in revocation of access rights (08Marks,Dec11) Dept of CSE, DSATM Page 33
15 UNIT-8 CASE STUDY- THE LINUX OPERATING SYSTEM 1. Write short notes on : a. Components of Linux system. b. interprocess communication facility in Linux c. scan and c-scan disk scheduling d. Tree directory structure. (20Marks,Dec09) 2. Write notes on: a. Buddy system of memory management in UNIX. b. Thrashing c. Solution to bounded buffer problem using Semaphore. d. Bad blocks on disks. (20Marks,Dec08) 3. Write short notes on any FOUR of following: a. Components of LINUX system. b. Process management in LINUX. c. Inter process communication. d. Dynamic loading. e. Process Control Block. (PCB) (20Marks,June09) 4. Write short notes on: a. Components of Linux system b. Processes and threads c. Conflict resolution mechanism of Linux d. Linux file system. (20Marks,June09) 5. Write short notes on: a. System calls b. Threads c. Virtual memory d. Design principles of Linux system. (20Marks,Dec10) 6. Discuss the directory implementation using i) Linear list ii) Hash table (10Marks,Dec10) 7. What are the components that the kernel module support under Linux? Explain in detail (10Marks,Dec10) 8. write short notes on a. components of Linux system b. thrashing c. monitors d. inter process communication (20Marks,June11) 9. write short notes on the following i) process management in Linux (06Marks,June12) ii) page replacement algorithm (08Marks,June12) iii) steps in handling a page fault (06Marks,June12) 10. Explain different system components in LINUX operating system. (10Marks,Dec12) Dept of CSE, DSATM Page 34
16 11. Discuss interprocess communication in LINUX operation system. (10Marks,Dec12) 12. Distinguish between fork ( ) and clone ( ) system calls. Also customize clone() system call to fork functionality with suitable modification/settings (08Marks,Dec11) 13. Explain the LINUX device drive the block structure (12Marks,Dec11) Dept of CSE, DSATM Page 35
Far-western University Central Office, Mahendranagar Operating System
Far-western University Central Office, Mahendranagar Operating System Course Title: Operating Systems Credit: 3+1 Course No: B.Sc. CS OS 231 hour 45+15 Nature of the Course: Theory + Lab Year: 2 nd, Semester:
More informationOS OBJECTIVE QUESTIONS
OS OBJECTIVE QUESTIONS Which one of the following is Little s formula Where n is the average queue length, W is the time that a process waits 1)n=Lambda*W 2)n=Lambda/W 3)n=Lambda^W 4)n=Lambda*(W-n) Answer:1
More informationScheduling. Scheduling. Scheduling levels. Decision to switch the running process can take place under the following circumstances:
Scheduling Scheduling Scheduling levels Long-term scheduling. Selects which jobs shall be allowed to enter the system. Only used in batch systems. Medium-term scheduling. Performs swapin-swapout operations
More informationW4118 Operating Systems. Instructor: Junfeng Yang
W4118 Operating Systems Instructor: Junfeng Yang Outline Introduction to scheduling Scheduling algorithms 1 Direction within course Until now: interrupts, processes, threads, synchronization Mostly mechanisms
More informationObjectives. Chapter 5: Process Scheduling. Chapter 5: Process Scheduling. 5.1 Basic Concepts. To introduce CPU scheduling
Objectives To introduce CPU scheduling To describe various CPU-scheduling algorithms Chapter 5: Process Scheduling To discuss evaluation criteria for selecting the CPUscheduling algorithm for a particular
More informationOperating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note:
Chapter 7 OBJECTIVES Operating Systems Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the concept of virtual memory. Understand the
More informationObjectives. Chapter 5: CPU Scheduling. CPU Scheduler. Non-preemptive and preemptive. Dispatcher. Alternating Sequence of CPU And I/O Bursts
Objectives Chapter 5: CPU Scheduling Introduce CPU scheduling, which is the basis for multiprogrammed operating systems Describe various CPU-scheduling algorithms Discuss evaluation criteria for selecting
More informationOperating Systems, 6 th ed. Test Bank Chapter 7
True / False Questions: Chapter 7 Memory Management 1. T / F In a multiprogramming system, main memory is divided into multiple sections: one for the operating system (resident monitor, kernel) and one
More informationComputer Science 4302 Operating Systems. Student Learning Outcomes
Computer Science 4302 Operating Systems Student Learning Outcomes 1. The student will learn what operating systems are, what they do, and how they are designed and constructed. The student will be introduced
More informationChapter 11 I/O Management and Disk Scheduling
Operating Systems: Internals and Design Principles, 6/E William Stallings Chapter 11 I/O Management and Disk Scheduling Dave Bremer Otago Polytechnic, NZ 2008, Prentice Hall I/O Devices Roadmap Organization
More informationCPU Scheduling. CPU Scheduling
CPU Scheduling Electrical and Computer Engineering Stephen Kim (dskim@iupui.edu) ECE/IUPUI RTOS & APPS 1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling
More informationChapter 2: OS Overview
Chapter 2: OS Overview CmSc 335 Operating Systems 1. Operating system objectives and functions Operating systems control and support the usage of computer systems. a. usage users of a computer system:
More informationICS 143 - Principles of Operating Systems
ICS 143 - Principles of Operating Systems Lecture 5 - CPU Scheduling Prof. Nalini Venkatasubramanian nalini@ics.uci.edu Note that some slides are adapted from course text slides 2008 Silberschatz. Some
More informationRoad Map. Scheduling. Types of Scheduling. Scheduling. CPU Scheduling. Job Scheduling. Dickinson College Computer Science 354 Spring 2010.
Road Map Scheduling Dickinson College Computer Science 354 Spring 2010 Past: What an OS is, why we have them, what they do. Base hardware and support for operating systems Process Management Threads Present:
More informationOperating Systems. III. Scheduling. http://soc.eurecom.fr/os/
Operating Systems Institut Mines-Telecom III. Scheduling Ludovic Apvrille ludovic.apvrille@telecom-paristech.fr Eurecom, office 470 http://soc.eurecom.fr/os/ Outline Basics of Scheduling Definitions Switching
More informationDeciding which process to run. (Deciding which thread to run) Deciding how long the chosen process can run
SFWR ENG 3BB4 Software Design 3 Concurrent System Design 2 SFWR ENG 3BB4 Software Design 3 Concurrent System Design 11.8 10 CPU Scheduling Chapter 11 CPU Scheduling Policies Deciding which process to run
More informationProcesses and Non-Preemptive Scheduling. Otto J. Anshus
Processes and Non-Preemptive Scheduling Otto J. Anshus 1 Concurrency and Process Challenge: Physical reality is Concurrent Smart to do concurrent software instead of sequential? At least we want to have
More informationOperating System Tutorial
Operating System Tutorial OPERATING SYSTEM TUTORIAL Simply Easy Learning by tutorialspoint.com tutorialspoint.com i ABOUT THE TUTORIAL Operating System Tutorial An operating system (OS) is a collection
More informationGildart Haase School of Computer Sciences and Engineering
Gildart Haase School of Computer Sciences and Engineering Metropolitan Campus I. Course: CSCI 6638 Operating Systems Semester: Fall 2014 Contact Hours: 3 Credits: 3 Class Hours: W 10:00AM 12:30 PM DH1153
More informationComp 204: Computer Systems and Their Implementation. Lecture 12: Scheduling Algorithms cont d
Comp 204: Computer Systems and Their Implementation Lecture 12: Scheduling Algorithms cont d 1 Today Scheduling continued Multilevel queues Examples Thread scheduling 2 Question A starvation-free job-scheduling
More informationChapter 5 Process Scheduling
Chapter 5 Process Scheduling CPU Scheduling Objective: Basic Scheduling Concepts CPU Scheduling Algorithms Why Multiprogramming? Maximize CPU/Resources Utilization (Based on Some Criteria) CPU Scheduling
More informationAnnouncements. Basic Concepts. Histogram of Typical CPU- Burst Times. Dispatcher. CPU Scheduler. Burst Cycle. Reading
Announcements Reading Chapter 5 Chapter 7 (Monday or Wednesday) Basic Concepts CPU I/O burst cycle Process execution consists of a cycle of CPU execution and I/O wait. CPU burst distribution What are the
More informationPerformance Comparison of RTOS
Performance Comparison of RTOS Shahmil Merchant, Kalpen Dedhia Dept Of Computer Science. Columbia University Abstract: Embedded systems are becoming an integral part of commercial products today. Mobile
More informationProcess Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff
Process Scheduling CS 241 February 24, 2012 Copyright University of Illinois CS 241 Staff 1 Announcements Mid-semester feedback survey (linked off web page) MP4 due Friday (not Tuesday) Midterm Next Tuesday,
More informationCPU Scheduling Outline
CPU Scheduling Outline What is scheduling in the OS? What are common scheduling criteria? How to evaluate scheduling algorithms? What are common scheduling algorithms? How is thread scheduling different
More informationCTE214 Operating Systems Syllabus
Course Details Department of Computer & Instructional Technology Teacher Education CTE214 Operating Systems Syllabus Course Name: Course Credits: 4 ECTS Credits: 6 Prerequisite: CTE112 (Introduction to
More information4003-440/4003-713 Operating Systems I. Process Scheduling. Warren R. Carithers (wrc@cs.rit.edu) Rob Duncan (rwd@cs.rit.edu)
4003-440/4003-713 Operating Systems I Process Scheduling Warren R. Carithers (wrc@cs.rit.edu) Rob Duncan (rwd@cs.rit.edu) Review: Scheduling Policy Ideally, a scheduling policy should: Be: fair, predictable
More informationA Comparative Study of CPU Scheduling Algorithms
IJGIP Journal homepage: www.ifrsa.org A Comparative Study of CPU Scheduling Algorithms Neetu Goel Research Scholar,TEERTHANKER MAHAVEER UNIVERSITY Dr. R.B. Garg Professor Delhi School of Professional Studies
More informationPROCESS SCHEDULING ALGORITHMS: A REVIEW
Volume No, Special Issue No., May ISSN (online): -7 PROCESS SCHEDULING ALGORITHMS: A REVIEW Ekta, Satinder Student, C.R. College of Education, Hisar, Haryana, (India) Assistant Professor (Extn.), Govt.
More informationThis tutorial will take you through step by step approach while learning Operating System concepts.
About the Tutorial An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is a vital component
More informationOPERATING SYSTEMS Internais and Design Principles
OPERATING SYSTEMS Internais and Design Principles FOURTH EDITION William Stallings, Ph.D. Prentice Hall Upper Saddle River, New Jersey 07458 CONTENTS Web Site for Operating Systems: Internais and Design
More informationChapter 6, The Operating System Machine Level
Chapter 6, The Operating System Machine Level 6.1 Virtual Memory 6.2 Virtual I/O Instructions 6.3 Virtual Instructions For Parallel Processing 6.4 Example Operating Systems 6.5 Summary Virtual Memory General
More informationI/O Management. General Computer Architecture. Goals for I/O. Levels of I/O. Naming. I/O Management. COMP755 Advanced Operating Systems 1
General Computer Architecture I/O Management COMP755 Advanced Operating Systems Goals for I/O Users should access all devices in a uniform manner. Devices should be named in a uniform manner. The OS, without
More informationConvenience: An OS makes a computer more convenient to use. Efficiency: An OS allows the computer system resources to be used in an efficient manner.
Introduction to Operating System PCSC-301 (For UG students) (Class notes and reference books are required to complete this study) Release Date: 27.12.2014 Operating System Objectives and Functions An OS
More informationPage 1 of 5. IS 335: Information Technology in Business Lecture Outline Operating Systems
Lecture Outline Operating Systems Objectives Describe the functions and layers of an operating system List the resources allocated by the operating system and describe the allocation process Explain how
More informationCS 377: Operating Systems. Outline. A review of what you ve learned, and how it applies to a real operating system. Lecture 25 - Linux Case Study
CS 377: Operating Systems Lecture 25 - Linux Case Study Guest Lecturer: Tim Wood Outline Linux History Design Principles System Overview Process Scheduling Memory Management File Systems A review of what
More informationReal-Time Scheduling 1 / 39
Real-Time Scheduling 1 / 39 Multiple Real-Time Processes A runs every 30 msec; each time it needs 10 msec of CPU time B runs 25 times/sec for 15 msec C runs 20 times/sec for 5 msec For our equation, A
More informationCPU Scheduling. Basic Concepts. Basic Concepts (2) Basic Concepts Scheduling Criteria Scheduling Algorithms Batch systems Interactive systems
Basic Concepts Scheduling Criteria Scheduling Algorithms Batch systems Interactive systems Based on original slides by Silberschatz, Galvin and Gagne 1 Basic Concepts CPU I/O Burst Cycle Process execution
More informationJob Scheduling Model
Scheduling 1 Job Scheduling Model problem scenario: a set of jobs needs to be executed using a single server, on which only one job at a time may run for theith job, we have an arrival timea i and a run
More informationWeighted Total Mark. Weighted Exam Mark
CMP2204 Operating System Technologies Period per Week Contact Hour per Semester Total Mark Exam Mark Continuous Assessment Mark Credit Units LH PH TH CH WTM WEM WCM CU 45 30 00 60 100 40 100 4 Rationale
More informationOperating System: Scheduling
Process Management Operating System: Scheduling OS maintains a data structure for each process called Process Control Block (PCB) Information associated with each PCB: Process state: e.g. ready, or waiting
More informationOperating Systems Principles
bicfm page i Operating Systems Principles Lubomir F. Bic University of California, Irvine Alan C. Shaw University of Washington, Seattle PEARSON EDUCATION INC. Upper Saddle River, New Jersey 07458 bicfm
More informationMain Points. Scheduling policy: what to do next, when there are multiple threads ready to run. Definitions. Uniprocessor policies
Scheduling Main Points Scheduling policy: what to do next, when there are multiple threads ready to run Or multiple packets to send, or web requests to serve, or Definitions response time, throughput,
More informationCSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2007 Lecture 5 - DBMS Architecture
CSE 544 Principles of Database Management Systems Magdalena Balazinska Fall 2007 Lecture 5 - DBMS Architecture References Anatomy of a database system. J. Hellerstein and M. Stonebraker. In Red Book (4th
More informationCPU Scheduling. Core Definitions
CPU Scheduling General rule keep the CPU busy; an idle CPU is a wasted CPU Major source of CPU idleness: I/O (or waiting for it) Many programs have a characteristic CPU I/O burst cycle alternating phases
More informationCPU SCHEDULING (CONT D) NESTED SCHEDULING FUNCTIONS
CPU SCHEDULING CPU SCHEDULING (CONT D) Aims to assign processes to be executed by the CPU in a way that meets system objectives such as response time, throughput, and processor efficiency Broken down into
More informationOperating Systems 4 th Class
Operating Systems 4 th Class Lecture 1 Operating Systems Operating systems are essential part of any computer system. Therefore, a course in operating systems is an essential part of any computer science
More informationAnalysis and Comparison of CPU Scheduling Algorithms
Analysis and Comparison of CPU Scheduling Algorithms Pushpraj Singh 1, Vinod Singh 2, Anjani Pandey 3 1,2,3 Assistant Professor, VITS Engineering College Satna (MP), India Abstract Scheduling is a fundamental
More information2) What is the structure of an organization? Explain how IT support at different organizational levels.
(PGDIT 01) Paper - I : BASICS OF INFORMATION TECHNOLOGY 1) What is an information technology? Why you need to know about IT. 2) What is the structure of an organization? Explain how IT support at different
More informationA Group based Time Quantum Round Robin Algorithm using Min-Max Spread Measure
A Group based Quantum Round Robin Algorithm using Min-Max Spread Measure Sanjaya Kumar Panda Department of CSE NIT, Rourkela Debasis Dash Department of CSE NIT, Rourkela Jitendra Kumar Rout Department
More informationScheduling. Yücel Saygın. These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum
Scheduling Yücel Saygın These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum 1 Scheduling Introduction to Scheduling (1) Bursts of CPU usage alternate with periods
More informationELEC 377. Operating Systems. Week 1 Class 3
Operating Systems Week 1 Class 3 Last Class! Computer System Structure, Controllers! Interrupts & Traps! I/O structure and device queues.! Storage Structure & Caching! Hardware Protection! Dual Mode Operation
More informationCOS 318: Operating Systems. Virtual Machine Monitors
COS 318: Operating Systems Virtual Machine Monitors Andy Bavier Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall10/cos318/ Introduction Have been around
More informationOPERATING SYSTEMS SCHEDULING
OPERATING SYSTEMS SCHEDULING Jerry Breecher 5: CPU- 1 CPU What Is In This Chapter? This chapter is about how to get a process attached to a processor. It centers around efficient algorithms that perform
More informationChapter 1 13 Essay Question Review
Chapter 1 13 Essay Question Review Chapter 1 1. Explain why an operating system can be viewed as a resource allocator. Ans: A computer system has many resources that may be required to solve a problem:
More informationMemory Management Outline. Background Swapping Contiguous Memory Allocation Paging Segmentation Segmented Paging
Memory Management Outline Background Swapping Contiguous Memory Allocation Paging Segmentation Segmented Paging 1 Background Memory is a large array of bytes memory and registers are only storage CPU can
More informationOperating Systems. 05. Threads. Paul Krzyzanowski. Rutgers University. Spring 2015
Operating Systems 05. Threads Paul Krzyzanowski Rutgers University Spring 2015 February 9, 2015 2014-2015 Paul Krzyzanowski 1 Thread of execution Single sequence of instructions Pointed to by the program
More informationAgenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.
Agenda Enterprise Performance Factors Overall Enterprise Performance Factors Best Practice for generic Enterprise Best Practice for 3-tiers Enterprise Hardware Load Balancer Basic Unix Tuning Performance
More informationLecture 16: Storage Devices
CS 422/522 Design & Implementation of Operating Systems Lecture 16: Storage Devices Zhong Shao Dept. of Computer Science Yale University Acknowledgement: some slides are taken from previous versions of
More informationOPERATING SYSTEM - VIRTUAL MEMORY
OPERATING SYSTEM - VIRTUAL MEMORY http://www.tutorialspoint.com/operating_system/os_virtual_memory.htm Copyright tutorialspoint.com A computer can address more memory than the amount physically installed
More informationChapter 1 8 Essay Question Review
Chapter 1 8 Essay Question Review 1. Explain why an operating system can be viewed as a resource allocator. Ans: A computer system has many resources that may be required to solve a problem: CPU time,
More informationFile System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System
CS341: Operating System Lect 36: 1 st Nov 2014 Dr. A. Sahu Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati File System & Device Drive Mass Storage Disk Structure Disk Arm Scheduling RAID
More informationOperating Systems Lecture #6: Process Management
Lecture #6: Process Written by based on the lecture series of Dr. Dayou Li and the book Understanding 4th ed. by I.M.Flynn and A.McIver McHoes (2006) Department of Computer Science and Technology,., 2013
More informationOperating Systems Concepts: Chapter 7: Scheduling Strategies
Operating Systems Concepts: Chapter 7: Scheduling Strategies Olav Beckmann Huxley 449 http://www.doc.ic.ac.uk/~ob3 Acknowledgements: There are lots. See end of Chapter 1. Home Page for the course: http://www.doc.ic.ac.uk/~ob3/teaching/operatingsystemsconcepts/
More informationSyllabus MCA-404 Operating System - II
Syllabus MCA-404 - II Review of basic concepts of operating system, threads; inter process communications, CPU scheduling criteria, CPU scheduling algorithms, process synchronization concepts, critical
More informationChapter 5: CPU Scheduling. Operating System Concepts 8 th Edition
Chapter 5: CPU Scheduling Silberschatz, Galvin and Gagne 2009 Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Operating
More informationTools Page 1 of 13 ON PROGRAM TRANSLATION. A priori, we have two translation mechanisms available:
Tools Page 1 of 13 ON PROGRAM TRANSLATION A priori, we have two translation mechanisms available: Interpretation Compilation On interpretation: Statements are translated one at a time and executed immediately.
More informationProcessor Scheduling. Queues Recall OS maintains various queues
Processor Scheduling Chapters 9 and 10 of [OS4e], Chapter 6 of [OSC]: Queues Scheduling Criteria Cooperative versus Preemptive Scheduling Scheduling Algorithms Multi-level Queues Multiprocessor and Real-Time
More informationIntroduction. Scheduling. Types of scheduling. The basics
Introduction In multiprogramming systems, when there is more than one runable (i.e., ready), the operating system must decide which one to activate. The decision is made by the part of the operating system
More informationDevices and Device Controllers
I/O 1 Devices and Device Controllers network interface graphics adapter secondary storage (disks, tape) and storage controllers serial (e.g., mouse, keyboard) sound co-processors... I/O 2 Bus Architecture
More informationChapter 11 I/O Management and Disk Scheduling
Operatin g Systems: Internals and Design Principle s Chapter 11 I/O Management and Disk Scheduling Seventh Edition By William Stallings Operating Systems: Internals and Design Principles An artifact can
More informationTechnical Properties. Mobile Operating Systems. Overview Concepts of Mobile. Functions Processes. Lecture 11. Memory Management.
Overview Concepts of Mobile Operating Systems Lecture 11 Concepts of Mobile Operating Systems Mobile Business I (WS 2007/08) Prof Dr Kai Rannenberg Chair of Mobile Business and Multilateral Security Johann
More informationEffective Computing with SMP Linux
Effective Computing with SMP Linux Multi-processor systems were once a feature of high-end servers and mainframes, but today, even desktops for personal use have multiple processors. Linux is a popular
More informationThe Deadlock Problem. Deadlocks. Deadlocks. Bridge Crossing Example
The Deadlock Problem Deadlocks A set of blocked processes each holding a resource and waiting to acquire a resource held by another process in the set. Example System has 2 tape drives. P 1 and P 2 each
More informationPOSIX. RTOSes Part I. POSIX Versions. POSIX Versions (2)
RTOSes Part I Christopher Kenna September 24, 2010 POSIX Portable Operating System for UnIX Application portability at source-code level POSIX Family formally known as IEEE 1003 Originally 17 separate
More informationOutline: Operating Systems
Outline: Operating Systems What is an OS OS Functions Multitasking Virtual Memory File Systems Window systems PC Operating System Wars: Windows vs. Linux 1 Operating System provides a way to boot (start)
More informationChapter 1 FUNDAMENTALS OF OPERATING SYSTEM
Chapter 1 FUNDAMENTALS OF OPERATING SYSTEM An operating system is a program that acts as an intermediary between a user of a computer and the computer hardware. The purpose of an operating system is to
More informationCHAPTER 15: Operating Systems: An Overview
CHAPTER 15: Operating Systems: An Overview The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint
More informationReal Time Programming: Concepts
Real Time Programming: Concepts Radek Pelánek Plan at first we will study basic concepts related to real time programming then we will have a look at specific programming languages and study how they realize
More informationOperating Systems. Design and Implementation. Andrew S. Tanenbaum Melanie Rieback Arno Bakker. Vrije Universiteit Amsterdam
Operating Systems Design and Implementation Andrew S. Tanenbaum Melanie Rieback Arno Bakker Vrije Universiteit Amsterdam Operating Systems - Winter 2012 Outline Introduction What is an OS? Concepts Processes
More informationOutline. Operating Systems Design and Implementation. Chap 1 - Overview. What is an OS? 28/10/2014. Introduction
Operating Systems Design and Implementation Andrew S. Tanenbaum Melanie Rieback Arno Bakker Outline Introduction What is an OS? Concepts Processes and Threads Memory Management File Systems Vrije Universiteit
More informationMultiprocessor Scheduling and Scheduling in Linux Kernel 2.6
Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6 Winter Term 2008 / 2009 Jun.-Prof. Dr. André Brinkmann Andre.Brinkmann@uni-paderborn.de Universität Paderborn PC² Agenda Multiprocessor and
More information2. is the number of processes that are completed per time unit. A) CPU utilization B) Response time C) Turnaround time D) Throughput
Import Settings: Base Settings: Brownstone Default Highest Answer Letter: D Multiple Keywords in Same Paragraph: No Chapter: Chapter 5 Multiple Choice 1. Which of the following is true of cooperative scheduling?
More informationChapter 7 Memory Management
Operating Systems: Internals and Design Principles Chapter 7 Memory Management Eighth Edition William Stallings Frame Page Segment A fixed-length block of main memory. A fixed-length block of data that
More informationOperating Systems. Virtual Memory
Operating Systems Virtual Memory Virtual Memory Topics. Memory Hierarchy. Why Virtual Memory. Virtual Memory Issues. Virtual Memory Solutions. Locality of Reference. Virtual Memory with Segmentation. Page
More informationCS0206 OPERATING SYSTEMS Prerequisite CS0201, CS0203
CS0206 OPERATING SYSTEMS Prerequisite CS0201, CS0203 L T P C 3 0 0 3 PURPOSE Every computer professional should have a basic understanding of how an operating system controls the computing resources and
More informationPrinciples of Operating Systems CS 446/646
Principles of Operating Systems CS 446/646 1. Introduction to Operating Systems a. Role of an O/S b. O/S History and Features c. Types of O/S Mainframe systems Desktop & laptop systems Parallel systems
More informationOperating Systems CSE 410, Spring 2004. File Management. Stephen Wagner Michigan State University
Operating Systems CSE 410, Spring 2004 File Management Stephen Wagner Michigan State University File Management File management system has traditionally been considered part of the operating system. Applications
More informationProcess Description and Control. 2004-2008 william stallings, maurizio pizzonia - sistemi operativi
Process Description and Control 1 Process A program in execution (running) on a computer The entity that can be assigned to and executed on a processor A unit of activity characterized by a at least one
More informationTiming of a Disk I/O Transfer
Disk Performance Parameters To read or write, the disk head must be positioned at the desired track and at the beginning of the desired sector Seek time Time it takes to position the head at the desired
More information159.735. Final Report. Cluster Scheduling. Submitted by: Priti Lohani 04244354
159.735 Final Report Cluster Scheduling Submitted by: Priti Lohani 04244354 1 Table of contents: 159.735... 1 Final Report... 1 Cluster Scheduling... 1 Table of contents:... 2 1. Introduction:... 3 1.1
More informationLecture 17: Virtual Memory II. Goals of virtual memory
Lecture 17: Virtual Memory II Last Lecture: Introduction to virtual memory Today Review and continue virtual memory discussion Lecture 17 1 Goals of virtual memory Make it appear as if each process has:
More informationOperating Systems PART -A
Subject Code: Hours/Week : 04 Total Hours : 52 I.A. Marks : 25 Exam Hours: 03 Exam Marks: 100 PART -A UNIT -1 INTRODUCTION TO OPERATING SYSTEMS, SYSTEM STRUCTURES: What operating systems do; Computer System
More informationCPU Scheduling 101. The CPU scheduler makes a sequence of moves that determines the interleaving of threads.
CPU Scheduling CPU Scheduling 101 The CPU scheduler makes a sequence of moves that determines the interleaving of threads. Programs use synchronization to prevent bad moves. but otherwise scheduling choices
More informationChapter 1: Introduction. What is an Operating System?
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments
More informationIntroduction. What is an Operating System?
Introduction What is an Operating System? 1 What is an Operating System? 2 Why is an Operating System Needed? 3 How Did They Develop? Historical Approach Affect of Architecture 4 Efficient Utilization
More informationHow To Understand And Understand An Operating System In C Programming
ELEC 377 Operating Systems Thomas R. Dean Instructor Tom Dean Office:! WLH 421 Email:! tom.dean@queensu.ca Hours:! Wed 14:30 16:00 (Tentative)! and by appointment! 6 years industrial experience ECE Rep
More informationCS4410 - Fall 2008 Homework 2 Solution Due September 23, 11:59PM
CS4410 - Fall 2008 Homework 2 Solution Due September 23, 11:59PM Q1. Explain what goes wrong in the following version of Dekker s Algorithm: CSEnter(int i) inside[i] = true; while(inside[j]) inside[i]
More informationMulti-core Programming System Overview
Multi-core Programming System Overview Based on slides from Intel Software College and Multi-Core Programming increasing performance through software multi-threading by Shameem Akhter and Jason Roberts,
More informationStorage and File Systems. Chester Rebeiro IIT Madras
Storage and File Systems Chester Rebeiro IIT Madras 1 Two views of a file system system calls protection rwx attributes Application View Look & Feel File system Hardware view 2 Magnetic Disks Chester Rebeiro
More information