Showing posts with label os system. Show all posts
Showing posts with label os system. Show all posts

Saturday, June 4, 2011

what is an operating system? its notes free


What is an Operating System?

The 1960’s definition of an operating system is “the software that controls the hardware”. However, today, due to microcode we need a better definition. We see an operating system as the programs that make the hardware useable. In brief, an operating system is the set of programs that controls a computer. Some examples of operating systems are UNIX, Mach, MS-DOS, MS-Windows, Windows/NT, Chicago, OS/2, MacOS, VMS, MVS, and VM.
Controlling the computer involves software at several levels. We will differentiate kernel services, library services, and application-level services, all of which are part of the operating system. Processes run Applications, which are linked together with libraries that perform standard services. The kernel supports the processes by providing a path to the peripheral devices. The kernel responds to service calls from the processes and interrupts from the devices. The core of the operating system is the kernel, a control program that functions in privileged state (an execution context that allows all hardware instructions to be executed), reacting to interrupts from external devices and to service requests and traps from processes. Generally, the kernel is a permanent resident of the computer. It creates and terminates processes and responds to their request for service.
Operating Systems are resource managers. The main resource is computer hardware in the form of processors, storage, input/output devices, communication devices, and data. Some of the operating system functions are: implementing the user interface, sharing hardware among users, allowing users to share data among themselves, preventing users from interfering with one another, scheduling resources among users, facilitating input/output, recovering from errors, accounting for resource usage, facilitating parallel operations, organizing data for secure and rapid access, and handling network communications.

Objectives of Operating Systems

Modern Operating systems generally have following three major goals. Operating systems generally accomplish these goals by running processes in low privilege and providing service calls that invoke the operating system kernel in high-privilege state.
  • To hide details of hardware by creating abstractionAn abstraction is software that hides lower level details and provides a set of higher-level functions. An operating system transforms the physical world of devices, instructions, memory, and time into virtual world that is the result of abstractions built by the operating system. There are several reasons for abstraction. 
    First
    , the code needed to control peripheral devices is not standardized. Operating systems provide subroutines called device drivers that perform operations on behalf of programs for example, input/output operations. 
    Second
    , the operating system introduces new functions as it abstracts the hardware. For instance, operating system introduces the file abstraction so that programs do not have to deal with disks. 
    Third
    , the operating system transforms the computer hardware into multiple virtual computers, each belonging to a different program. Each program that is running is called a process. Each process views the hardware through the lens of abstraction. 
    Fourth
    , the operating system can enforce security through abstraction.
     
  • To allocate resources to processes (Manage resources)An operating system controls how processes (the active agents) may access resources (passive entities).
     
  • Provide a pleasant and effective user interface The user interacts with the operating systems through the user interface and usually interested in the “look and feel” of the operating system. The most important components of the user interface are the command interpreter, the file system, on-line help, and application integration. The recent trend has been toward increasingly integrated graphical user interfaces that encompass the activities of multiple processes on networks of computers.
One can view Operating Systems from two points of views: Resource manager and Extended machines. Form Resource manager point of view Operating Systems manage the different parts of the system efficiently and from extended machines point of view Operating Systems provide a virtual machine to users that is more convenient to use. The structurally Operating Systems can be design as a monolithic system, a hierarchy of layers, a virtual machine system, an exokernel, or using the client-server model. The basic concepts of Operating Systems are processes, memory management, I/O management, the file systems, and security.

Monday, March 21, 2011

hoe to learn operating Systems concepts Lecture Notes pdf ppt free




  • Lecture 01 -- Introduction ps pdf
  • Lecture 02 -- OS History ps pdf
  • Lecture 03 -- Computer System Structures ps pdf
  • Lecture 04 -- Operating System Structures ps pdf
  • Lecture 05 -- Processes, Part I ps pdf
  • Lecture 06 -- Processes, Part II ps pdf
  • Lecture 07 -- Interprocess Communication ps pdf
  • Lecture 08 -- Threads ps pdf
  • Lecture 09 -- Nachos ps pdf
  • Lecture 10 -- Mutual Exclusion ps pdf
  • Lecture 11 -- Semaphores ps pdf
  • Lecture 12 -- Implementing Semaphores ps pdf
  • Lecture 13 -- Locks and CVs, Part I ps pdf
  • Lecture 14 -- Locks and CVs, Part II ps pdf
  • Lecture 15 -- Readers/Writers Problem ps pdf
  • Lecture 16 -- Non-preemptive Scheduling ps pdf
  • Lecture 17 -- Preemptive Scheduling ps pdf
  • Lecture 18 -- Complex CPU Scheduling ps pdf
  • Lecture 19 -- Deadlock ps pdf
  • Lecture 20 -- Deadlock Detection ps pdf
  • Lecture 21 -- Deadlock Avoidance ps pdf
  • Lecture 22 -- Static Memory Allocation ps pdf
  • Lecture 23 -- Dynamic Alloc., Relocation ps pdf
  • Lecture 24 -- Dynamic Reloc. ps pdf
  • Lecture 25 -- Segmentation ps pdf
  • Lecture 26 -- Paging ps pdf
  • Lecture 27 -- Demand Paging ps pdf
  • Lecture 28 -- Page Replacement ps pdf
  • Lecture 29 -- File System Operations ps pdf
  • Lecture 30 -- File System Data Structures ps pdf
  • Lecture 32 -- File System Implementation ps pdf
  • Lecture 32 -- File System Improvement ps pdf
  • Lecture 33 -- Disk Management ps pdf
  • Lecture 34 -- Distributed Operating Systems
  • Lecture N1 -- Networking, Part I ps pdf
  • Lecture N2 -- Networking, Part II (same notes)

Search This Blog