SlideShare a Scribd company logo
1 of 25
© DOC, Imperial College, 2006
Operating Systems Concepts
An introduction to the software that makes computers
usable, ensures that systems can be made secure and
provides the environment for software to be a marketable
commodity
Acknowledgement: Paul Kelly
© DOC, Imperial College, 2006
What is an Operating System
• The OS is software - it’s a program It “virtualises”
your computer
• Your computer needs to be virtualised… trust me!!
• Because that’s what makes it possible to buy and
sell computer programs
• And that’s a major economic activity
© DOC, Imperial College, 2006
There are lots…
• Microsoft: Windows ME, Windows 2000, Windows CE
• Linux
• BSD (FreeBSD, NetBSD)
• Sun: Solaris
• IBM: AIX
• Compaq: Tru64 Unix, OpenVMS
• Hewlett-Packard: HP-UX
• Apple: MacOS-8, MacOS-X
• Symbian: EPOC
• PalmOS
• QNX
• VXWorks
• LynxOS
• MVS, AS/400
• Many many more, mostly more-or-less Unix/POSIX compatible eg MESHIX
• Literally thousands of variants and research prototypes eg MACH, Plan9, Pebble, Go!
• Sun (again): the Java Virtual Machine is it??? JOS??
Various kinds of Unix
Designed for handhelds
Embedded real-time
© DOC, Imperial College, 2006
Opening up the software market
• More than 90% of all software products sold are designed for just one virtual machine
• This has been quite good for their business...
Microsoft Corporation's Revenue
$0
$5,000
$10,000
$15,000
$20,000
$25,000
F
Y
8
5
F
Y
8
6
F
Y
8
7
F
Y
8
8
F
Y
8
9
F
Y
9
0
F
Y
9
1
F
Y
9
2
F
Y
9
3
F
Y
9
4
F
Y
9
5
F
Y
9
6
F
Y
9
7
F
Y
9
8
F
Y
9
9
F
Y
0
0
Fiscal year (from incorporation)
Revenue(millionsofUS$)
Source:
http://www.microsoft.com/msft/history.htm
Seealsohttp://www-cs-students.stanford.edu/~kkoster/microsoft/
© DOC, Imperial College, 2006
Overview of Course
• What is an OS
• Terminology
• Kinds of OS
• How does the OS work
• What principles underpin OS Operation
• What does an OS look like ‘under the bonnet’
© DOC, Imperial College, 2006
Recommended textbooks
Modern Operating
Systems. A Tanenbaum
Prentice-Hall
•Operating Systems (4th
edition). William Stallings,
Prentice-Hall 2001
•Operating Systems: a
modern perspective (2nd
edition). Gary Nutt, Addison
Wesley, 2000
© DOC, Imperial College, 2006
THERE IS NO SPOON
• Read books – course built on classic authoritative textbook
• Exam designed to test your understanding and ability to
apply it to new ideas
• Some exam questions will introduce an idea not covered in
the course
• But will ask you to explore an idea using what you’ve
learned
• The book might have even covered that!
© DOC, Imperial College, 2006
Chapter 1: - Introduction to OS
1945 to 1955
• No operating system
• human operators
•What did the first operating system look like?
© DOC, Imperial College, 2006
1956 to 1965
• Transistors and batch systems ,
• Clear distinction between designers, builders, operators, programmers,
and maintenance personnel,
• I/O channel,
• Read ahead / spooling,
• Interrupts/ exceptions,
• Minimal protection,
• Libraries / JCL
© DOC, Imperial College, 2006
1965 to 1980
• ICs and Multiprogramming,
• System 360 and S/370 family of computers,
• Spooling (simultaneous peripheral operation on-line),
• Time sharing, On-line storage for System programs,
• User programs and data, Program libraries,
• Virtual memory,
• Multiprocessor configurations e.g. MULTICS
© DOC, Imperial College, 2006
When people looked like this, we saw the next generation
THE SECOND WAVE OF COMPUTING
© DOC, Imperial College, 2006
1980-now
•Personal computers and workstations
•MS-DOS and Unix
•Massively parallel systems
•Pipelining
•Array processing / SIMD
•General multiprocessing / MIMD
•Symmetric multiprocessing / SMD
•Any process and any thread can run on
any available processor
•Computer networks (communication
aspect) -- network operating systems
•Distributed computing -- distributed
operating systems
Cray 2
© DOC, Imperial College, 2006 Connection Machine 5
© DOC, Imperial College, 2006
What is an OS
• A program, C or C++
• Loads and runs other programs
• Application programs might wish to:
– Draw on the screen
– Interact via a keyboard, mouse etc
– Access the hard disk (files)
– Communicate with other application programs
• The OS should provide a consistent way to do this
– Works on whatever hardware you have.
© DOC, Imperial College, 2006
Virtual or Abstract Machines
• Effectively wraps the hardware to provide a
‘virtual’ machine
• Consistent interface to devices and services
• What are the limits/difficulties?
© DOC, Imperial College, 2006
Challenges to the VM approach
• Performance
– machine too slow to run application,
– I want to safely run lots of applications!
• Resources - Machine too little memory
© DOC, Imperial College, 2006
Overcoming VM challenges
• Most OSs solve this problem
• Uses virtual memory – paging
– Application or program requiring 100MBytes of memory
can run on just 10 Mbytes of physical memory using VM
– Slowly mind!
• What if I want to run more than one program?
– Can you read mail and eat? – you have one brain
– Processor switch from one process to another
– Regularly, use a timer to interrupt the processor
– Most do this fairly (according to application needs)
• Time-slicing – scheduling and priority
© DOC, Imperial College, 2006
Overcoming VM challenges
• What if the other programs behave maliciously e.g. try to
steal my secrets?
– OS has privileged control over ‘address translation's
hardware
– Each application allowed access to only own data
– Data is authenticated (i.e. user is allowed to access it)
• What if two applications try to access the same device at the
same time eg printer?
– Fix with mutual exclusion – deadlock!
© DOC, Imperial College, 2006
Lets look at an Operating System at
work
• Julie put some program running on system
• Do ctrl/alt/del
• Start app
• Start another instance of application
© DOC, Imperial College, 2006
Why are OSs fun?
• Make application software commodity
• Abstraction make programming easier
• Challenging - security, performance,
reliability
• Do fancy things with programs
© DOC, Imperial College, 2006
Ubiquitous Computing?
• Involves many disciplines.
• Inspired by the social scientists,
philosophers, and anthropologists
• paradigm shift?
– currently we expect the user to
find ways to use the computer
– however we currently do not
emphasise how the computer can
find its own way to serve the user
• focus on HCI
• focus on security, privacy 
big brother?
© DOC, Imperial College, 2006
Current Technology
Personal digital
assistant (PDA)
Mobile phone / PDA
DoCoMo
video phone
Laptop
Thanks to M. Sloman for slides
Best friend
© DOC, Imperial College, 2006
Wearable
Thanks to M. Sloman for slides
Wearable or
luggable?
LCD
Jacket
Designer
Gear
© DOC, Imperial College, 2006
Intelligent
Environment
• Fridge and cupboards
tracks consumption and
reorder your groceries
• Your car computer
reminds you to pick up
your order on the way
home when you are near
the supermarket.
Thanks to M. Sloman for slides
© DOC, Imperial College, 2006
Intelligent Environment - 2
• Lights, air conditioning, TV automatically switch on and off when you
enter or leave rooms
• Sit on your favourite chair and TV switches on to the program you usually
watch at this time of the day
• Use communicator/pda for phone, remote control, keys
payments, passport, health records, authenticator.
• Route input from ‘virtual’ keyboard to nearest suitable display.
• Automatic detection of new items to control and physical layout in a room
or office, using computer vision.
Thanks to M. Sloman for slides

More Related Content

Similar to Os(vijayanand)

Computer system organization
Computer system organizationComputer system organization
Computer system organizationSyed Zaid Irshad
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1SanthiNivas
 
Application Virtualization, University of New Hampshire
Application Virtualization, University of New HampshireApplication Virtualization, University of New Hampshire
Application Virtualization, University of New HampshireTony Austwick
 
Intro to Computing for National Diploma Students
Intro to Computing for National Diploma StudentsIntro to Computing for National Diploma Students
Intro to Computing for National Diploma StudentsMurtala Lawal
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxssuserf7df42
 
CLIMB System Introduction Talk - CLIMB Launch
CLIMB System Introduction Talk - CLIMB LaunchCLIMB System Introduction Talk - CLIMB Launch
CLIMB System Introduction Talk - CLIMB LaunchTom Connor
 
HIS 2015: Prof. Mark Little - Open Source Challenges in the Enterprise
HIS 2015: Prof. Mark Little - Open Source Challenges in the EnterpriseHIS 2015: Prof. Mark Little - Open Source Challenges in the Enterprise
HIS 2015: Prof. Mark Little - Open Source Challenges in the EnterpriseAdaCore
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)NehaTadam
 
Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...David Wallom
 
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data DataCentred
 
fdocuments.in_unit-2-foc.ppt
fdocuments.in_unit-2-foc.pptfdocuments.in_unit-2-foc.ppt
fdocuments.in_unit-2-foc.pptKrishanPalSingh39
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and typesPrakash Sir
 

Similar to Os(vijayanand) (20)

Computer system organization
Computer system organizationComputer system organization
Computer system organization
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1
 
Application Virtualization, University of New Hampshire
Application Virtualization, University of New HampshireApplication Virtualization, University of New Hampshire
Application Virtualization, University of New Hampshire
 
Operating systems 101
Operating systems 101Operating systems 101
Operating systems 101
 
Intro to Computing for National Diploma Students
Intro to Computing for National Diploma StudentsIntro to Computing for National Diploma Students
Intro to Computing for National Diploma Students
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptx
 
CLIMB System Introduction Talk - CLIMB Launch
CLIMB System Introduction Talk - CLIMB LaunchCLIMB System Introduction Talk - CLIMB Launch
CLIMB System Introduction Talk - CLIMB Launch
 
HIS 2015: Prof. Mark Little - Open Source Challenges in the Enterprise
HIS 2015: Prof. Mark Little - Open Source Challenges in the EnterpriseHIS 2015: Prof. Mark Little - Open Source Challenges in the Enterprise
HIS 2015: Prof. Mark Little - Open Source Challenges in the Enterprise
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)
 
Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...
 
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data
 
opreting system
opreting systemopreting system
opreting system
 
opreting system
opreting systemopreting system
opreting system
 
opreting system
opreting systemopreting system
opreting system
 
opreting system
opreting systemopreting system
opreting system
 
opreting system
opreting systemopreting system
opreting system
 
opreting system
opreting systemopreting system
opreting system
 
fdocuments.in_unit-2-foc.ppt
fdocuments.in_unit-2-foc.pptfdocuments.in_unit-2-foc.ppt
fdocuments.in_unit-2-foc.ppt
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and types
 
os_1.pdf
os_1.pdfos_1.pdf
os_1.pdf
 

Recently uploaded

Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessorAshwiniTodkar4
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsmeharikiros2
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...ppkakm
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 

Recently uploaded (20)

Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 

Os(vijayanand)

  • 1. © DOC, Imperial College, 2006 Operating Systems Concepts An introduction to the software that makes computers usable, ensures that systems can be made secure and provides the environment for software to be a marketable commodity Acknowledgement: Paul Kelly
  • 2. © DOC, Imperial College, 2006 What is an Operating System • The OS is software - it’s a program It “virtualises” your computer • Your computer needs to be virtualised… trust me!! • Because that’s what makes it possible to buy and sell computer programs • And that’s a major economic activity
  • 3. © DOC, Imperial College, 2006 There are lots… • Microsoft: Windows ME, Windows 2000, Windows CE • Linux • BSD (FreeBSD, NetBSD) • Sun: Solaris • IBM: AIX • Compaq: Tru64 Unix, OpenVMS • Hewlett-Packard: HP-UX • Apple: MacOS-8, MacOS-X • Symbian: EPOC • PalmOS • QNX • VXWorks • LynxOS • MVS, AS/400 • Many many more, mostly more-or-less Unix/POSIX compatible eg MESHIX • Literally thousands of variants and research prototypes eg MACH, Plan9, Pebble, Go! • Sun (again): the Java Virtual Machine is it??? JOS?? Various kinds of Unix Designed for handhelds Embedded real-time
  • 4. © DOC, Imperial College, 2006 Opening up the software market • More than 90% of all software products sold are designed for just one virtual machine • This has been quite good for their business... Microsoft Corporation's Revenue $0 $5,000 $10,000 $15,000 $20,000 $25,000 F Y 8 5 F Y 8 6 F Y 8 7 F Y 8 8 F Y 8 9 F Y 9 0 F Y 9 1 F Y 9 2 F Y 9 3 F Y 9 4 F Y 9 5 F Y 9 6 F Y 9 7 F Y 9 8 F Y 9 9 F Y 0 0 Fiscal year (from incorporation) Revenue(millionsofUS$) Source: http://www.microsoft.com/msft/history.htm Seealsohttp://www-cs-students.stanford.edu/~kkoster/microsoft/
  • 5. © DOC, Imperial College, 2006 Overview of Course • What is an OS • Terminology • Kinds of OS • How does the OS work • What principles underpin OS Operation • What does an OS look like ‘under the bonnet’
  • 6. © DOC, Imperial College, 2006 Recommended textbooks Modern Operating Systems. A Tanenbaum Prentice-Hall •Operating Systems (4th edition). William Stallings, Prentice-Hall 2001 •Operating Systems: a modern perspective (2nd edition). Gary Nutt, Addison Wesley, 2000
  • 7. © DOC, Imperial College, 2006 THERE IS NO SPOON • Read books – course built on classic authoritative textbook • Exam designed to test your understanding and ability to apply it to new ideas • Some exam questions will introduce an idea not covered in the course • But will ask you to explore an idea using what you’ve learned • The book might have even covered that!
  • 8. © DOC, Imperial College, 2006 Chapter 1: - Introduction to OS 1945 to 1955 • No operating system • human operators •What did the first operating system look like?
  • 9. © DOC, Imperial College, 2006 1956 to 1965 • Transistors and batch systems , • Clear distinction between designers, builders, operators, programmers, and maintenance personnel, • I/O channel, • Read ahead / spooling, • Interrupts/ exceptions, • Minimal protection, • Libraries / JCL
  • 10. © DOC, Imperial College, 2006 1965 to 1980 • ICs and Multiprogramming, • System 360 and S/370 family of computers, • Spooling (simultaneous peripheral operation on-line), • Time sharing, On-line storage for System programs, • User programs and data, Program libraries, • Virtual memory, • Multiprocessor configurations e.g. MULTICS
  • 11. © DOC, Imperial College, 2006 When people looked like this, we saw the next generation THE SECOND WAVE OF COMPUTING
  • 12. © DOC, Imperial College, 2006 1980-now •Personal computers and workstations •MS-DOS and Unix •Massively parallel systems •Pipelining •Array processing / SIMD •General multiprocessing / MIMD •Symmetric multiprocessing / SMD •Any process and any thread can run on any available processor •Computer networks (communication aspect) -- network operating systems •Distributed computing -- distributed operating systems Cray 2
  • 13. © DOC, Imperial College, 2006 Connection Machine 5
  • 14. © DOC, Imperial College, 2006 What is an OS • A program, C or C++ • Loads and runs other programs • Application programs might wish to: – Draw on the screen – Interact via a keyboard, mouse etc – Access the hard disk (files) – Communicate with other application programs • The OS should provide a consistent way to do this – Works on whatever hardware you have.
  • 15. © DOC, Imperial College, 2006 Virtual or Abstract Machines • Effectively wraps the hardware to provide a ‘virtual’ machine • Consistent interface to devices and services • What are the limits/difficulties?
  • 16. © DOC, Imperial College, 2006 Challenges to the VM approach • Performance – machine too slow to run application, – I want to safely run lots of applications! • Resources - Machine too little memory
  • 17. © DOC, Imperial College, 2006 Overcoming VM challenges • Most OSs solve this problem • Uses virtual memory – paging – Application or program requiring 100MBytes of memory can run on just 10 Mbytes of physical memory using VM – Slowly mind! • What if I want to run more than one program? – Can you read mail and eat? – you have one brain – Processor switch from one process to another – Regularly, use a timer to interrupt the processor – Most do this fairly (according to application needs) • Time-slicing – scheduling and priority
  • 18. © DOC, Imperial College, 2006 Overcoming VM challenges • What if the other programs behave maliciously e.g. try to steal my secrets? – OS has privileged control over ‘address translation's hardware – Each application allowed access to only own data – Data is authenticated (i.e. user is allowed to access it) • What if two applications try to access the same device at the same time eg printer? – Fix with mutual exclusion – deadlock!
  • 19. © DOC, Imperial College, 2006 Lets look at an Operating System at work • Julie put some program running on system • Do ctrl/alt/del • Start app • Start another instance of application
  • 20. © DOC, Imperial College, 2006 Why are OSs fun? • Make application software commodity • Abstraction make programming easier • Challenging - security, performance, reliability • Do fancy things with programs
  • 21. © DOC, Imperial College, 2006 Ubiquitous Computing? • Involves many disciplines. • Inspired by the social scientists, philosophers, and anthropologists • paradigm shift? – currently we expect the user to find ways to use the computer – however we currently do not emphasise how the computer can find its own way to serve the user • focus on HCI • focus on security, privacy  big brother?
  • 22. © DOC, Imperial College, 2006 Current Technology Personal digital assistant (PDA) Mobile phone / PDA DoCoMo video phone Laptop Thanks to M. Sloman for slides Best friend
  • 23. © DOC, Imperial College, 2006 Wearable Thanks to M. Sloman for slides Wearable or luggable? LCD Jacket Designer Gear
  • 24. © DOC, Imperial College, 2006 Intelligent Environment • Fridge and cupboards tracks consumption and reorder your groceries • Your car computer reminds you to pick up your order on the way home when you are near the supermarket. Thanks to M. Sloman for slides
  • 25. © DOC, Imperial College, 2006 Intelligent Environment - 2 • Lights, air conditioning, TV automatically switch on and off when you enter or leave rooms • Sit on your favourite chair and TV switches on to the program you usually watch at this time of the day • Use communicator/pda for phone, remote control, keys payments, passport, health records, authenticator. • Route input from ‘virtual’ keyboard to nearest suitable display. • Automatic detection of new items to control and physical layout in a room or office, using computer vision. Thanks to M. Sloman for slides