VALLIAMMAI ENGINEERING COLLEGE
|
|
- Camron Taylor
- 7 years ago
- Views:
Transcription
1 VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY Academic Year: QUESTION BANK - EVEN SEMESTER NAME OF THE SUBJECT SUBJECT CODE SEMESTER YEAR DEPARTMENT HANDLED & PREPARED BY OPERATING SYSTEMS CS640 IV II Information Technology Dr.R.Rajalakshmi & Mr.S.Sekar UNIT I Differentiate between tightly coupled systems and loosely coupled systems Understanding BTL-2 2 List out the various operating system components? Remembering BTL- 3 Define Operating System Remembering BTL- 4 What is the responsibility of kernel? Remembering BTL- 5 Differentiate between hard real time systems and soft real time systems. Analysing BTL-4 6 Classify the different interrupt classes. Analysing BTL-4 7 Differentiate between symmetric and asymmetric multiprocessor. Remembering BTL- Is OS a resource Manager? If so justify your answer Applying BTL-3 9 What is meant by system call? Remembering BTL- 0 What is a bootstrap program? Understanding BTL-2 Define the cache read operation. Remembering BTL- 2 Summarize the functions of DMA Evaluating BTL-5 3 Give any two responsibilities of OS file management activities. Understanding BTL-2 4 Do timesharing differs from multiprogramming? If so, How? Applying BTL-3 5 Summarize the objectives and functions of an operating system Understanding BTL-2 6 Why API's need to be used rather than system calls? Evaluating BTL-5 7 How would you build clustered systems? Creating BTL-6 What is the function of System programs? Write the categories in which system program can be divided. Understanding BTL-2 9 Illustrate the use of fork and exec system calls Applying BTL-3 20 How would you justify the circumstances that would a user be better off using a time-sharing system rather than a PC or a single workstation? Creating BTL-6 (i)explain the purpose and importance of system calls and discuss the types of system calls with an examples of each. (0) (ii)discuss about the functionality of system boot with respect to Operating System (6) Evaluating BTL-5 2 Describe briefly how the operating system has been evolved from serial processing to multiprogramming system. Applying BTL-3 3 Explain the various categories of system programs in brief. Remembering BTL- 4 Summarize the essential properties of the following types of operating system Understanding BTL-2 RR & SS/ IT CS640- OS Page of 7
2 (i)batch (4) (ii)time-sharing (4) (iii)real (4) (iv)distributed (4) (i)discuss the multiprocessor system in detail. () (ii)define Operating System. Explain the main functions of an operating Systems () Understanding BTL-2 List five services provided by an operating system. Explain how each provides convenience to the users. Explain also in which cases it would be impossible for user level programs to provide these services. Creating BTL-6 (i)how would you classify different types of Computer system architecture? () (ii) Explain interrupts in detail. () Applying BTL-3 (i)discuss about the evolution of virtual machines. Also explain how virtualization could be implemented in Operating Systems. (0) (ii)explain Direct Memory Access in detail. (6) Understanding BTL-2 (i)explain the various memory hierarchies with neat block diagram. () (ii) Explain the operating system structure () Remembering BTL- How computer system handles interrupts? Discuss how interrupts can be handled quickly. Analysing BTL-4 UNIT II List out the data fields associated with Process Control blocks. Remembering BTL- 2 Define the term 'Dispatch Latency' Remembering BTL- 3 Is the context switching an overhead? Justify your answer. Analysing BTL-4 Can user-level threads achieve better performance on a multiprocessor system than a single processor system? Justify your answer. Understanding BTL Why is IPC needed? Name the two fundamental models of IPC Remembering BTL- 6 What is a semaphore and mention the operations on semaphore. Remembering BTL- 7 When a system is said to be in safe state? Applying BTL-3 Can you give the reason for providing process cooperation? Analysing BTL-4 What is a critical section and what requirements must a solution to the critical solution problem satisfy? Understanding BTL What is meant by 'starvation' in operating system? Understanding BTL-2 Differentiate preemptive and non-preemptive scheduling Understanding BTL-2 2 Is it possible to have a deadlock with only one process? Justify your answer Evaluating BTL-5 3 Define monitor. What does it consists of? Remembering BTL- 4 Compare user threads and kernel threads. Analysing BTL-4 5 What are the benefits of co-operating processes? Understanding BTL-2 6 Show that mutual exclusion will be violated if the signal and wait operations are not executed atomically Applying BTL-3 7 Is it possible to prevent the occurrence of deadlock? Under what conditions? Evaluating BTL-5 If there is a cycle in the resource allocation graph, it may or may not be in deadlock state. Comment on this statement. Creating BTL-6 How can you judge a scheduling algorithm to be the best? Define any four 9 scheduling criteria used to compare the scheduling algorithms Creating BTL-6 20 What is race condition? Remembering BTL- RR & SS/ IT CS640- OS Page 2 of 7
3 (i)explain the FCFS, preemptive and non-preemptive versions of Shortest Job First and Round Robin (time-slice2) scheduling algorithms with Gantt Chart for the four processes given. Compare their average turn around and waiting time. (2) Process Arrival Time Burst time P 0 0 P2 6 P3 2 2 P4 3 5 (ii)discuss how deadlock could be detected in detail (4) Analysing BTL-4 (a)show how wait() and signal() semaphore operations could be implemented in multiprocessor environments, using Test and Set instructions. The solution should exhibit minimal busy waiting. Develop pseudo code for implementing operations. (0) 2 (b)discuss about issues to be considered with multithreaded programs (6) Creating BTL-6 Evaluate the following snapshot of the system Allocation Max Available P P P P P Answer the following based on banker s algorithm..define safety algorithm (4) 2.What is the content of need matrix? (4) 3.Is the system in a safe state? (4) 4.Is a request from process Parrives for(0,4,2,0) can the request be granted 3 immediately? (4) Evaluating BTL-5 (a).describe various approaches for recovering from deadlock (0) 4 (b).discuss various states of a process (6) Understanding BTL-2 Explain the differences in degree to which the following scheduling algorithms discriminate in favour of short processes a)fcfs (5) b) RR (6) 5 c) Multilevel feedback queue (5) Evaluating BTL-5 6 Write about deadlock conditions and banker's algorithm in detail Remembering BTL- (a)give and explain a monitor solution for dining philosopher problem (0) 7 (b)what is a process? Describe the operation on a process in detail. (6) Understanding BTL-2 (a)what are the criteria for evaluating the performance of scheduling algorithms? (4) (b)discuss about the approaches for evaluating the scheduling algorithms. (2) Applying BTL-3 (a)can you discuss the advantages of threads over multiple processes? What major disadvantages do they have? And also elaborate the various issues associated with the thread in detail? (0) 9 (b)how does deadlock avoidance differ from deadlock prevention? (6) Analysing BTL-4 (a) Define semaphore. Explain the use of semaphore in synchronization problem with an example (0) 0 (b) Distinguish among long term, short term and medium term scheduler. (6) Remembering BTL- UNIT III RR & SS/ IT CS640- OS Page 3 of 7
4 Mention the significance of LDT and GDT in segmentation Understanding BTL-2 2 Differentiate between page and segment Understanding BTL-2 3 How the problem of external fragmentation can be solved? Analysing BTL-4 4 What is a working set model? Remembering BTL- 5 Assume a paging system with page table stored in memory. If a memory reference takes 200 nanoseconds, how long a paged memory reference? Creating BTL-6 6 What do you mean by page fault? Remembering BTL- If a system supports 6 bit address line and K page size, what is the maximum 7 number of pages? Evaluating BTL-5 What are overlays? What is the use of it? Understanding BTL-2 9 What is virtual memory? Mention its advantages Remembering BTL- 0 What is meant by address binding? Mention the different types. Remembering BTL- What are advantages of dynamic linking and loading? Understanding BTL-2 2 What is the cause of thrashing? How does the system detect thrashing? Analysing BTL-4 Is it possible for a process to have two working sets, one representing data and another representing code? Evaluating BTL What do you mean by compaction? In which situation is it applied? Applying BTL-3 5 Differentiate demand paging and swapping Understanding BTL-2 6 What is meant by prepaging? Is it better than demand paging? Creating BTL-6 7 Define TLB Remembering BTL- What is the need for inverted page table? Analysing BTL-4 Which criteria do you consider to Evaluating various page replacement 9 algorithms to select the best one? Applying BTL-3 20 Contrast global vs. local page replacement techniques Applying BTL-3 (a)consider the following page reference string:, 2, 3, 4, 5, 3,4,,6,7,,7,, 9, 7,, 9, 5, 4, 4, 5, 3 How many page faults would occur for the following replacement algorithms, assuming four frames? Remembering all frames are initially empty. i) LRU replacement ii) FIFO replacement iii) Optimal replacement Evaluating BTL-5 (a)with a neat sketch, explain how logical address is translated into physical address using Paging mechanism. (0) 2 (b)write short notes on memory-mapped files (6) Remembering BTL- 3 Illustrate contiguous memory allocation schemes, give examples. List the advantages and disadvantages. Evaluating BTL-5 4 (a)elaborate on inverted page tables and their use in paging and segmentation () (b)explain in detail about segmentation and implementation of Segment tables () Understanding BTL-2 5 What is demand paging? Describe the process of demand paging in OS Understanding BTL-2 6 Given that main memory composed of three page frames for public use and that a program request pages in the following order A, B, A, C, D, A, B, D, B, A, C, A, C, D Using FIFO and LRU page removal algorithms do a page trace analysis and compute their page faults and success Creating BTL-6 RR & SS/ IT CS640- OS Page 4 of 7
5 7 Given memory partitions of 500 KB, 00 KB, 300 KB, 200 KB and 600 KB in order, how would each of the first-fit, best-fit, and worst-fit algorithms place processes of size 4 KB, 202 KB, 506 KB, 2 KB, and 95 KB (in order)? Which the algorithms makes the most efficient use of memory? Analysing BTL-4 Describe the various techniques for structuring the page table in a page memory management scheme Remembering BTL- a)explain in detail about thrashing () 9 b)explain in detail about allocation of kernel memory () Remembering BTL- 0 With a neat sketch, explain in detail about segmentation and paging (6) Applying BTL-3 UNIT IV Compare the various file access methods Evaluating BTL-5 2 Differentiate bit map based allocation of blocks on disk and a free block list Analysing BTL-4 3 Illustrate the techniques used to protect the user files Applying BTL-3 4 Compare file protection and security Analysing BTL-4 5 List the responsibility of the file manager Remembering BTL- 6 Differentiate the various file allocation methods Applying BTL-3 7 Do FAT file system is advantageous? Why? Analysing BTL-4 Illustrate the pros and cons of a fixed head disk and a moving head disk. Applying BTL-3 9 Define rotational latency. Remembering BTL- 0 Define UFD and MFD. Remembering BTL- Give the disadvantages of Contiguous allocation Understanding BTL-2 2 Name any four common file types. Write the various file attributes. Understanding BTL-2 3 What are the two types of system directories? Remembering BTL- 4 What characteristics determine the disk access speed? Understanding BTL-2 5 Mention the objectives of file management system. Understanding BTL-2 6 What is the need for disk scheduling? Give the various disk scheduling methods. Remembering BTL- 7 Define log structured file. What are the disadvantages of log-structured file systems? Remembering BTL- Which disk scheduling algorithm would be the best to optimize the performance of a RAM disk? Evaluating BTL-5 9 State any three disadvantages of placing functionality in a device controller, rather than in the kernel Creating BTL-6 20 Give the importance of swap space management Understanding BTL-2 RR & SS/ IT CS640- OS Page 5 of 7
6 Assume the head of a moving disk with 200 tracks, numbered 0.99, is currently serving a request at track 92, and has just finished a request at track 5 and the queue request is kept in the FIFO order, 09, 4, 9, 72, 26, 42. What is the total head movement needed to satisfy these requests for the SCAN,C- SCAN,LOOK and C-LOOK disk scheduling algorithms? Creating BTL-6 (i)compare the functionalities of FIFO, SSTF, C-SCAN, and C-LOOK disk scheduling algorithms with an example for each (2) 2 (ii) Write short notes on free space management (4) Analysing BTL-4 (i)explain about the RAID structure in disk management with various RAID levels of organization in detail (0) 3 (ii) Briefly discuss about the various directory structure (6) Evaluating BTL-5 (i) Define swapping. Describe how swap space is managed by an operating system (0) 4 (ii) Explain the issues in designing a file systems (6) Remembering BTL- (i)explain in detail about the commonly used file operations with example. () 5 (ii)explain file system along with its different components. () Remembering BTL- 6 Distinguish between the different file access methods Understanding BTL-2 7 Illustrate how the free space list is implemented and define what is free space management Applying BTL-3 Explain the different file allocation methods with neat diagram. Mention the advantages and disadvantages. Applying BTL-3 9 Explain and analyse the common schemes available for defining the logical structure of a directory Analysing BTL-4 (i) Describe how the disk space from deleted files can be reused () 0 (ii)describe the life cycle of I/O request in detail () Understanding BTL-2 UNIT V Give the design principles of LINUX system Understanding BTL-2 2 Mention the various components of a Linux System Understanding BTL-2 3 Illustrate the components of kernel modules. Remembering BTL- 4 Define LINUX virtualization Remembering BTL- 5 Classify virtualization. Analysing BTL-4 6 Define hypervisor. Remembering BTL- 7 What are the two components of hypervisor? Understanding BTL-2 Compare the types of hypervisor? Analysing BTL-4 9 Define XEN. Remembering BTL- 0 What are the components of XEN? Remembering BTL- Mention the two types of guest supported by XEN hypervisor? Understanding BTL-2 2 What is Domain Name System (DNS)? Remembering BTL- 3 Prepare a list of LINUX system administrator responsibilities. Creating BTL-6 4 Illustrate the requirements needed for LINUX system administrator. Applying BTL-3 5 Mention the key features of VMware server virtualization Understanding BTL-2 6 What is guest operating system? Remembering BTL- Compare the relationship between a guest operating system and a host operating system in a system like VMware what factors need to be considered in choosing the host operating system? Evaluating BTL-5 7 What is demand-zero memory? Remembering BTL- 9 Illustrate the types of LINUX device classes. Applying BTL-3 RR & SS/ IT CS640- OS Page 6 of 7
7 20 List the three layers of networking in LINUX kernel. Understanding BTL-2 Explain the significance and steps involved in setting up Xen, VMware software on LINUX HOST for successful virtualization. Evaluating BTL-5 (i)discuss about the requirements to become a Linux system Administrator (6) (ii)discuss about the steps involved in the installation of a LINUX Multifunction server (6) 2 (iii)write short notes on the LINUX network services (4) Understanding BTL-2 3 Explain in detail the memory management in LINUX system Remembering BTL- 4 Describe about the network structure of LINUX system. Understanding BTL-2 5 Explain the procedure for setting XEN on LINUX host and adding guest OS. Evaluating BTL-5 6 Prepare the procedure for setting VMware on LINUX host and adding guest OS. Creating BTL-6 Explain in detail the design principles, kernel modules, process management, 7 scheduling in LINUX system Remembering BTL- Illustrate the Domain Name System and the steps in resolution. Analysing BTL-4 9 Summarize about I/O in LINUX system Applying BTL-3 0 Explain in detail about file system management done in LINUX Remembering BTL- Verified by :. 2. [ ] [ ] [ ] [ ] Forwarded by Year Coordinator : Approved by HOD : *************** RR & SS/ IT CS640- OS Page 7 of 7
Operating 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 informationFar-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 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 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 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 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 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: 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 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 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 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 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 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 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 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 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 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. 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 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 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 informationIntroduction Disks RAID Tertiary storage. Mass Storage. CMSC 412, University of Maryland. Guest lecturer: David Hovemeyer.
Guest lecturer: David Hovemeyer November 15, 2004 The memory hierarchy Red = Level Access time Capacity Features Registers nanoseconds 100s of bytes fixed Cache nanoseconds 1-2 MB fixed RAM nanoseconds
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 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 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 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 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 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 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 informationA Deduplication File System & Course Review
A Deduplication File System & Course Review Kai Li 12/13/12 Topics A Deduplication File System Review 12/13/12 2 Traditional Data Center Storage Hierarchy Clients Network Server SAN Storage Remote mirror
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 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 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 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 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 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 informationMicrokernels, virtualization, exokernels. Tutorial 1 CSC469
Microkernels, virtualization, exokernels Tutorial 1 CSC469 Monolithic kernel vs Microkernel Monolithic OS kernel Application VFS System call User mode What was the main idea? What were the problems? IPC,
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 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 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 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 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 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 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 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 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 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 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 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 informationMemory management basics (1) Requirements (1) Objectives. Operating Systems Part of E1.9 - Principles of Computers and Software Engineering
Memory management basics (1) Requirements (1) Operating Systems Part of E1.9 - Principles of Computers and Software Engineering Lecture 7: Memory Management I Memory management intends to satisfy the following
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 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 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 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 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 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 informationIOS110. Virtualization 5/27/2014 1
IOS110 Virtualization 5/27/2014 1 Agenda What is Virtualization? Types of Virtualization. Advantages and Disadvantages. Virtualization software Hyper V What is Virtualization? Virtualization Refers to
More informationHow To Understand The History Of An Operating System
7 Operating Systems 7.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: 7.2 Understand the role of the operating system.
More informationDEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers
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 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 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 informationProcess Scheduling. Process Scheduler. Chapter 7. Context Switch. Scheduler. Selection Strategies
Chapter 7 Process Scheduling Process Scheduler Why do we even need to a process scheduler? In simplest form, CPU must be shared by > OS > Application In reality, [multiprogramming] > OS : many separate
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 informationUndergraduate Course Syllabus
College of Software Engineering Undergraduate Course Syllabus Course ID 311006040 Course Name Operating System Course Attribute Compulsory Selective Course Language English Chinese Credit Hour 4 Period
More informationScheduling 0 : Levels. High level scheduling: Medium level scheduling: Low level scheduling
Scheduling 0 : Levels High level scheduling: Deciding whether another process can run is process table full? user process limit reached? load to swap space or memory? Medium level scheduling: Balancing
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 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 informationCOS 318: Operating Systems. Virtual Memory and Address Translation
COS 318: Operating Systems Virtual Memory and Address Translation Today s Topics Midterm Results Virtual Memory Virtualization Protection Address Translation Base and bound Segmentation Paging Translation
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 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 informationDevelopment of Type-2 Hypervisor for MIPS64 Based Systems
Development of Type-2 Hypervisor for MIPS64 Based Systems High Performance Computing and Networking Lab Al-Khwarizmi Institute of Computer Science University of Engineering & Technology Lahore Pakistan
More informationOpenMosix Presented by Dr. Moshe Bar and MAASK [01]
OpenMosix Presented by Dr. Moshe Bar and MAASK [01] openmosix is a kernel extension for single-system image clustering. openmosix [24] is a tool for a Unix-like kernel, such as Linux, consisting of adaptive
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 informationOperating System Components and Services
Operating System Components and Services Tom Kelliher, CS 311 Feb. 6, 2012 Announcements: From last time: 1. System architecture issues. 2. I/O programming. 3. Memory hierarchy. 4. Hardware protection.
More informationLecture 25 Symbian OS
CS 423 Operating Systems Design Lecture 25 Symbian OS Klara Nahrstedt Fall 2011 Based on slides from Andrew S. Tanenbaum textbook and other web-material (see acknowledgements) cs423 Fall 2011 1 Overview
More informationAmoeba Distributed Operating System
Amoeba Distributed Operating System Matt Ramsay Tim Kiegel Heath Memmer CS470 Case Study Paper 4/19/02 Amoeba Introduction The Amoeba operating system began as a research project at Vrije Universiteit
More informationVirtualization. Explain how today s virtualization movement is actually a reinvention
Virtualization Learning Objectives Explain how today s virtualization movement is actually a reinvention of the past. Explain how virtualization works. Discuss the technical challenges to virtualization.
More informationLesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization
Lesson Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization AE3B33OSD Lesson 1 / Page 2 What is an Operating System? A
More information10.04.2008. Thomas Fahrig Senior Developer Hypervisor Team. Hypervisor Architecture Terminology Goals Basics Details
Thomas Fahrig Senior Developer Hypervisor Team Hypervisor Architecture Terminology Goals Basics Details Scheduling Interval External Interrupt Handling Reserves, Weights and Caps Context Switch Waiting
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 informationReview from last time. CS 537 Lecture 3 OS Structure. OS structure. What you should learn from this lecture
Review from last time CS 537 Lecture 3 OS Structure What HW structures are used by the OS? What is a system call? Michael Swift Remzi Arpaci-Dussea, Michael Swift 1 Remzi Arpaci-Dussea, Michael Swift 2
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 informationOperatin g Systems: Internals and Design Principle s. Chapter 10 Multiprocessor and Real-Time Scheduling Seventh Edition By William Stallings
Operatin g Systems: Internals and Design Principle s Chapter 10 Multiprocessor and Real-Time Scheduling Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Bear in mind,
More informationChapter 3 Operating-System Structures
Contents 1. Introduction 2. Computer-System Structures 3. Operating-System Structures 4. Processes 5. Threads 6. CPU Scheduling 7. Process Synchronization 8. Deadlocks 9. Memory Management 10. Virtual
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 informationOverview of Presentation. (Greek to English dictionary) Different systems have different goals. What should CPU scheduling optimize?
Overview of Presentation (Greek to English dictionary) introduction to : elements, purpose, goals, metrics lambda request arrival rate (e.g. 200/second) non-preemptive first-come-first-served, shortest-job-next
More informationChapter 3. Operating Systems
Christian Jacob Chapter 3 Operating Systems 3.1 Evolution of Operating Systems 3.2 Booting an Operating System 3.3 Operating System Architecture 3.4 References Chapter Overview Page 2 Chapter 3: Operating
More informationFull and Para Virtualization
Full and Para Virtualization Dr. Sanjay P. Ahuja, Ph.D. 2010-14 FIS Distinguished Professor of Computer Science School of Computing, UNF x86 Hardware Virtualization The x86 architecture offers four levels
More informationOperating Systems: Basic Concepts and History
Introduction to Operating Systems Operating Systems: Basic Concepts and History An operating system is the interface between the user and the architecture. User Applications Operating System Hardware Virtual
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 informationWeb Server Architectures
Web Server Architectures CS 4244: Internet Programming Dr. Eli Tilevich Based on Flash: An Efficient and Portable Web Server, Vivek S. Pai, Peter Druschel, and Willy Zwaenepoel, 1999 Annual Usenix Technical
More informationCPU Scheduling. CSC 256/456 - Operating Systems Fall 2014. TA: Mohammad Hedayati
CPU Scheduling CSC 256/456 - Operating Systems Fall 2014 TA: Mohammad Hedayati Agenda Scheduling Policy Criteria Scheduling Policy Options (on Uniprocessor) Multiprocessor scheduling considerations CPU
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 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 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 informationVirtual vs Physical Addresses
Virtual vs Physical Addresses Physical addresses refer to hardware addresses of physical memory. Virtual addresses refer to the virtual store viewed by the process. virtual addresses might be the same
More informationVirtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies
Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies Kurt Klemperer, Principal System Performance Engineer kklemperer@blackboard.com Agenda Session Length:
More information