Introduction To Introduction To Introduction To Introduction To Operating Systems Operating Systems
Introduction To Introduction To Introduction To Introduction To Operating Systems Operating Systems
Whatdoesan OperatingSystemdo?
Introductionto OperatingSystems
COMP755 Advanced OS
AnOperatingSystemprovidesalogical environmentforusingthecomputer. IfyouareusingasystemwithLinux(or Windows orUnixorSolarisorwhatever),it doesntmatterwhathardwareyouareusing, itstillrunsthesame same. Usersworkwithlogicalconceptsinsteadof physicalhardware.
MappingofPhysicaltoVirtual
Virtual file large address space single user named devices display windows Physical blocks on the disk limited RAM many users hardware addresses bit mapped display
PurposeofanOS
Ap program g thatcontrolstheexecutionof applicationprograms Aninterfacebetweentheuserorapplications andthehardware Masksthedetailsofthehardware Allocatesresourcestoprograms
8/17/2009
FunctionsofanOS
Compatibility Th OSprovides The id avirtual i t lmachine hi allowing ll i programstorunonavarietyofmachines. Convenience Providesaneasytouseinterface. Efficiency Allowsresourcestobeusedefficiently. Security Restrictaccesstoresources
ServicesofanOperatingSystem
Sharing Programexecution ControlledaccesstofilesandI/Odevices Systemaccessandsecurity Errordetectionandrecovery Hardwarecontrol
JustaProgram
Theoperatingsystemisacomputerprogram. Mostoperatingsystemsarelarge,sometimes verylarge,programs. Operatingsystemscanexecuteprivileged instructionstocontrolthehardware. Operatingsystemrelinquishescontrolofthe processortoexecuteotherprograms
Operatingsystemsareshapedbythepath takentogethere.
8
8/17/2009
Ithinkthereisaworldmarketfor aboutfivecomputers.
HardwareLeadstheOS
B Becauseof fth theb better tt performance f of fmodern d computers,theOScanprovidemoreservices. Oldercomputersdidnthavethespeedor storagetoruntheOSoftoday.
ThomasJ.Watson(1945) presidentofIBM
10
TheEvolutionofOperatingSystems
NoOperating N O ti Systems S t Monitors SimpleBatchSystems Multiprogrammed BatchSystems Ti Sharing Time Sh i Systems S
NoOperatingSystems
Eachprogramdirectlyinterfacedwiththe h d hardware. Onepersonusedthecomputeratatime. JobSchedulingwasdonewithaclipboard Librariesofcommonlyusedprocedureswere thefirststartofoperatingsystems. systems
11
12
8/17/2009
Monitors
Themonitorwasaprogramthatloaded applicationprogramsintoRAM. RAM Themonitor,orasmallportionofit, remainedinRAMwhiletheapplication programran. Themonitorcontaineddevicedriversto simplifyaccesstoperipherals. Whentheprogramterminated,itwould jumpbacktothemonitor.
13