Lecture 1 Operating System Basics

699 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
699
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Lecture 1 Operating System Basics

  1. 1. Operating System 140702 Hemang Kothari Assistant Professor Computer Engineering Department MEFGI, Rajkot.Email: hemang.kothari@marwadieducation.edu.in Computer Engineering Department - MEFGI 1
  2. 2. Teaching Scheme• 140702 Operating System Reference Books: 1. Modern Operating Systems -By Andrew S.• Theory - 4 Tanenbaum (PHI) 2. Operating System – Internals & Design• Practical - 2 Principles -By William Stallings (PHI) 3. Operating Systems By D.M.Dhamdhare• Credit - 6 (TMH) 4. Unix System Concepts & Applications By• Final Exam - 70 Sumitabha Das (TMH)• Term work -30 5. Unix Shell Programming By Yashwant Kanitkar• Internal Practical - 50• Total – 150 Marks Computer Engineering Department - MEFGI 2
  3. 3. Expectation• Smiling Face• Attendance• Interactive Session• Enjoy the joy of learning Computer Engineering Department - MEFGI 3
  4. 4. Methodology• Why  Need to learn• What  Definition, Meaning, is all about• How  Performance, Implementation, Simulation, Development Do Not Worry, We have only 4 Assignment Computer Engineering Department - MEFGI 4
  5. 5. Operating System• Introduction to our day to day life• Introduction to system• Component of System• Working of system Computer Engineering Department - MEFGI 5
  6. 6. Ahh .. Lots of Work Computer Engineering Department - MEFGI 6
  7. 7. Solution• Better Management of Resources.• Enough Resources• Time Scheduling• Understand the priority of work• Proper Planning Computer Engineering Department - MEFGI 7
  8. 8. Module 1: Input Output Management• Principles Of Input / Output H/W• Principles Of Input / Output S/W• Device Independent I/O Software Disks Computer Engineering Department - MEFGI 8
  9. 9. I / O Devices Computer Engineering Department - MEFGI 9
  10. 10. How OS will be friend ?????• OS controls I/O devices => • Issue commands, • handles interrupts, • handles errors• Provide easy to use interface to devices • Hopefully device independent• First look at hardware, then software • Emphasize software • Software structured in layers • Look at disks Computer Engineering Department - MEFGI 10
  11. 11. Principles Of Input / Output H/W• Two types of I/O devices- block, character• Block- can read blocks independently of one another • Hard disks, CD-ROMs, USB sticks • 512-32,768 bytes• Character-accepts characters without regard to block structure • Printers, mice, network interfaces• Not everything fits, e.g. clocks don’t fit• Division allows OS to deal with devices in device independent manner • File system deals with blocks Computer Engineering Department - MEFGI 11
  12. 12. Device Controllers• I/O unit has 2 components-mechanical, electronic (controller)• Controller is a chip with a connector which plugs into cables to device• Disk • Disk might have 10,000 sectors of 512 bytes per track • Serial bit stream comes off drive • Has preamble, 4096 bits/sector, error correcting code • Preamble has sector number, cylinder number, sector size…. Computer Engineering Department - MEFGI 12
  13. 13. Example System Computer Engineering Department - MEFGI 13
  14. 14. Mange More DisksComputer Engineering Department - MEFGI 14
  15. 15. Continue .. Disk Controller• Controller assembles block from bit stream, does error correction, puts into buffer in controller• Blocks are what are sent from a disk• The controller’s job is to convert the serial bit stream into a block of bytes and perform any error correction necessary. The block of bytes is typically first assembled, bit by bit, in a buffer inside the controller. After its checksum has been verified and the block declared to be error free, it can then be copied to main memory. Computer Engineering Department - MEFGI 15
  16. 16. Actor(OS) and SupportingActor(Controller) How OS Deal with Controller ? Don’t Worry , Next time we will study Computer Engineering Department - MEFGI 16

×