1 / 49

Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana

Topic : Overview of Operating System. Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana. Software. Software : - Software is a set of various programs which are used to operate computers and related devices. - Softwares are designed to achieve a specific goal.

zoltan
Download Presentation

Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Topic : Overview of Operating System Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana

  2. Software • Software : - Software is a set of various programs which are used to operate computers and related devices. - Softwares are designed to achieve a specific goal. • Types : - System Software - Application Software

  3. Types of Software • System Software : -Performs essential operation tasks –Operating system –Utility programs • Application Software : -Performs specific tasks for users –Business application –Communication application –Multimedia application –Entertainment and educational software

  4. Computer System Components • Hardware – provides basic computing resources (CPU,memory, I/O devices). • Operating system – controls and coordinates the use of the hardware among the various application programs for the various users. • Applications programs – define the ways in which the system resources are used to solve the computing problems of the users (database systems, video games, business programs). • Users (people, machines, other computers)

  5. Definition of OS • An operating system (OS) is software, consisting of programs and data, that runs on computers, manages computer hardware resources, and provides common services for execution of various application software. • A program that acts as an intermediary between a user of a computer and the computer hardware.

  6. Example of OS • Network Operating System – UNIX / Linux / MS Windows2000 Server • Desktop Operating System –MS Windows 9X/Me / Mac OS / DOS • Mobile Operating System –Palm OS and Pocket PC

  7. Operating system goals • Convenience • Makes the computer more convenient to use • Efficiency • Allows computer system resources and other hardware to be used in an efficient manner • Ability to evolve • Permit effective development, testing, and introduction of new system functions without interfering with service

  8. Operating System Services • Program development • Program execution • Access to I/O devices • Controlled access to files • System access • Communication

  9. Operating System Services (cont..) • Error detection • Hardware errors • Memory errors • I/O device errors • User program errors • Power Failure • Resource Allocation • Accounting • Protection

  10. Operating system Functions • Process Management • Main Memory Management • File Management • I/O System Management

  11. Operating system Functions (cont..) • Secondary Memory Management • Networking • Protection System

  12. Process Management • A process is a program in execution. A process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task.

  13. Process Management (cont..) • The operating system is responsible for the following activities in connection with process management. - Process creation and deletion. - Process suspension and resumption - Provision of mechanisms for: ✔ process synchronization ✔ process communication

  14. Main Memory Management • Memory is a large array of words or bytes, each with its own address. It is a repository of quickly accessible data shared by the CPU and I/O devices. • Main memory is a volatile storage device. It loses its contents in the case of system failure.

  15. Main Memory Management (cont..) • The operating system is responsible for the following activities in connections with memory management: - Keep track of which parts of memory are currently being used and by whom. - Decide which processes to load when memory space becomes available. - Allocate and deallocate memory space as needed

  16. File Management • A file is a collection of related information defined by its creator. Files represent programs (both source and object forms) and data.

  17. File Management (cont..) • The operating system is responsible for the following activities in connections with file management: • File creation and deletion. • Directory creation and deletion. • Support for manipulating files and directories. • Mapping files onto secondary storage. • File backup on stable (nonvolatile) storage media.

  18. I/O System Management The I/O system consists of: • A buffer-caching system • A general device-driver interface • Drivers for specific hardware devices

  19. Secondary Memory Management • Main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory. • Most modern computer systems use disks as the principle on-line storage medium, for both programs and data.

  20. Secondary Memory Management (cont..) • The operating system is responsible for the following activities in connection with disk management: • Free space management • Storage allocation • Disk scheduling

  21. Networking • Network (also called distributed system) means interconnection of two or more than two autonomous computers. • A distributed system is a collection processors that do not share memory or a clock. Each processor has its own local memory. • The processors in the system are connected through a communication network.

  22. Networking (cont..) • A distributed system provides user access to various system resources. • Access to a shared resource allows: • Computation speed-up • Increased data availability • Enhanced reliability

  23. Protection System • Protection is a mechanism for controlling access by programs, processes, or users to both system and user resources. • The protection mechanism must distinguish between authorized and unauthorized usage.

  24. Types of OS • Batch processing or Mainframe Systems • Desktop Systems • Time-Sharing Systems • Multitasking OS • Multiprogramming

  25. Types of OS (cont..) • Multiprocessor or Parallel Systems • Distributed Systems • Clustering System • Real-Time Systems • Handheld Systems

  26. Batch Processing Systems • Jobs, together with input data, are fed into the system in a batch. • Reduce setup time by batching similar jobs • The jobs are then run one after another.

  27. Batch Processing System (cont..) • No job can be started until previous job is completed. • Automatic job sequencing – automatically transfers control from one job to another

  28. Desktop Systems • Personal computers – computer system dedicated to a single user. • I/O devices – keyboards, mouse, display screens, small printers. • User convenience • May run several different types of operating systems • Examples : Windows, Mac OS, UNIX, Linux

  29. Time-Sharing Systems • Each user is given a time slice to interact with the CPU. • The size of the time slice will depend on the system. • Each user is served in sequence.

  30. Multiprogramming • In multiprogramming OS processes more than one applications at one time. • Two or more programs store in the main memory at the same time

  31. Multitasking OS • It is the extension of multiprogramming. • The concept of multitasking is quite similar to multiprogramming but difference is that the switching between jobs occurs so frequently that the users can interact with each program while it is running.

  32. Multiprocessor or Parallel Systems • Multiprocessor systems with more than on CPU in close communication. Types of multiprocessor systems : • Tightly coupled processors • Loosely coupled processors

  33. Multiprocessor or Parallel Systems (cont..) 1 )Tightly coupled system or Symmetric multiprocessing (SMP) : – processors share memory and a clock; communication usually takes place through the shared memory. - Each processor runs and identical copy of the operating system. - Most modern operating systems support SMP

  34. Multiprocessor or Parallel Systems (cont..)

  35. Multiprocessor or Parallel Systems (cont..) 2) Loosely coupled system or Asymmetric multiprocessing (ASMP) : – each processor has its own local memory; processors communicate with one another through various communications lines, such as high speed buses or telephone lines. - Each processor is assigned a specific task; master processor schedules and allocated work to slave processors.

  36. Multiprocessor or Parallel Systems (cont..) Advantages of parallel system: • Increased throughput • Economical • Increased reliability

  37. Distributed Systems • Distribute the computation among several physical processors. • Requires networking infrastructure. • Local area networks (LAN) or Wide area networks (WAN) • May be either client-server or peer-to-peer systems

  38. Distributed Systems (cont..) • Advantages of distributed systems. - Resources Sharing - Computation speed up - Reliability - Communications

  39. Client Server • Client-server architecture can be considered as a network environment that exchanges information between a server machine  and a client machine where server has some resources that can be shared by different clients. • In a Client/server architecture individual computers (known as clients) are connected to a central computer which is known as server.

  40. Client Server (cont..)

  41. Peer to Peer (P2P) • In P2P networking each workstation has equivalent capabilities and responsibilities.

  42. Clustering System • Clustering allows two or more systems to share storage. • Provides high reliability. • Asymmetric clustering: one server runs the application while other servers standby. • Symmetric clustering: all N hosts are running the application

  43. Real-Time Systems • Real time OS are used under strict timeline or deadline boundaries. • Often used as a control device in a dedicated application such as controlling scientific experiments, medical • Well-defined fixed-time constraints.

  44. Real-Time Systems (Cont..) • Hard real-time: • A hard real time system is the system that guarantees the completion of a particular job within certain time limit. • Examples : controlling scientific experiments, medical imaging systems, industrial control systems

  45. Real-Time Systems (Cont..) • Soft real-time • A soft real time system is the system that can not fully guarantees the completion of a particular job within the certain time limit. • These system are based on priorities. • Examples : Mobile phone, digital cameras

  46. Handheld Systems • Personal Digital Assistants (PDAs) • Cellular telephones • Issues: - Limited memory - Slow processors - Small display screen

  47. Buffering • A temporary storage area (buffers) to read data from input device or send data to the output device • keep CPU busy–because I/O operation is slow • Reading and writing data from hard disk takes long time. so to improve the speed for data processing the data next required by processor is stored is cache memory or CPU register. for e.g. to cut certain line from text file to copy into another file. cut data get stored in to buffer (CPU register) to get back stored into another file.

  48. Spooling • Spooling is the process of a sending data to a spool, or temporary storage area in the computer's memory. This data may contain files or processes.

  49. Thank You

More Related