Partial preview of the text
Download Operating Systems Handwritten Notes – Processes, Scheduling, IPC & Semaphores and more Lecture notes Operating Systems in PDF only on Docsity!
OPERATING SYSTEM
NOTES
OPERATING SYSTEM NOTES ws Operating dus tem = epurciling System & vin eprating Myton id a program that meunoges the, Computer POrACLLLOAAL - Lt alre previcles a basis for opplicatien props . -ams amd acts as imteammliary bolus the computer wuintr ancl AL LOM LP UA PAOACGLLLEL - > Genuoatena of eporatung Sustem :- a) 1 Genvatien (1945-1955) Varun ers amel Piasg 0004 - nol : b) 2" Gemnation (1955-1965 ) ThovasskPr amo Bateh Syitems - CC) te SA Gennration (1465-1980 ) iia bare ie as oD) 4% Gemtration ( 1980 - Current ) Forrenol Lomputer : Typ of eprraning Systm *) Simple Batch Syetern S- tn gots, therr 43 nb ett Aid debut the ute oprrccung dystems chomgedt with time, insteact cf me runing CPU ama prcuphercd Tey along An Agsturns opt fe TALIA LUA Lowes “OU Cenc TUPOVSULALSS + Wu AtytHemys ore LoLLLo Desrtop Atyrteans - fet ee ppt Macéntey 4) DistrLbateol Spacing System De melivation Astnaok wanes oltsdtacbuted ta AdWwoMrctad in Ronmurncatvew tron ~ z “eit » Dat main bemrgit oH cult eluteal synteny 4 Fost 2° Arts deh Om Ait Heat macalhry - es ee = = - - a Pur 4D Ptr Sustenns 5) Real timr @puating Suite Unt Riot Limi epirocting Agro whieh aoe FAL martin piama 4% a.) UMA Teter povee 5. Abe lent abl une Bins (ACT) - WU Antoerzoce, ton okt oA - Ot La Lomuonol-Amre Amdergact reenn pW ss tet commcomldl Onacl O ™uthedt ter duateriug Aun b:) Prepon enetition *- We Aayrton wut 4 Mle 40 dpacl O promans, inte mune ancl 18 lates AEE PABPOIM- The -preproumn must bl AbtL te enol its Cet ) tithor normally Or Oden aby ( wncticatinng bro). C) LO eprations :- v4 Manin. PABBA DIA Voy: TMA T]o , aid mor immolt A fle Or on T/0 clenice «tor Apecipic oluriour , spucint “ling £9 DEA DVD orioe or ing a oliaplag Avrtin )s fOr Appealing 2 : T/0 cami cuurtly Shirgorr , thr 0S : aust providty amos £8 ole I/o. d:) FUL Suttum mreunipulation’- Unt fur Aysten, B ef por dicutar, denen, epurieryty rd to yim anol wri, piles omol olirectertes TD 1 ow ae “7 . Aypt & rer, the OS gual tor opprnprict: atten £2 mine stored Mousatert a epee Bb by i i bin bin in i si Vian Vin na > AarR of Batch OS *- 4 AACR OF unteacicon bw Fhe wir F en. a Lp is often. doll » bUCALUIC the Spiro Cf T/o qreromritol ouuict 1s SLEWEr thi, CFO: 8) Ta Shoring 0S: 4 is & Aipbataur wie emaltl mould HA, Aecatec at varies Aumindts ; 48 Ust OQ pontt- ~euhor Lemputrr myst Of LAL Loame Alvar: Precissor’ ds dome. Ad sUmMattancously Comiorg ahora ommend mult -wsers A dormeeal cu vidwwomtages is — GautR Wrpenst — Redbirr LPv dolly AME ° Disooonto.gs !- = Probie o4 RUUabiity 3) Distrarcoutea ss sccamemmele tee LEdVLVELUDUUYUYVUvYY YY ew YH ~vvuevuu vu UvUUULULDUULUULUELLEELULDEDULYLY' # frets > ub prpgiam we exertion dy ral proud | Stor ep proass pat stot sp prea agiquct. dn pot oid AM orirnity Of thot preocris Wew I- The -prustiad din shade eA pR Reaoy *- dn prot Ay noutinng. £6 Lt Qubignsol Tevmrinotal '- the -prouis “has -fawirreo’ OCS ee Procss dott Traouuctton -- separ trot trout Sdict rade pains fam | Sang fut ie Rummoletyr ARE Atuping Api protuss is vepmivol dan the eprrading | Aryrteme dup O protis covitret Ateck (PcG ) — alas calle a Task Aevtrol Block: -psioted with & APUL GFL Pets, inclicling trae i- dt Prasten tote R: Pragaoms counter oS: CPU Reguatrs , 4. CPU- Schuoluting 4 jin, ! AC Urtaods 11 0S Aext , Another thro 40 -precurs tupull, AAC. Ke Types of Aarools s- Urtr AU —Kowel Avs D] As Aen plmenten dig ja em inaplonnent dy LEM PUALA cputert Sutten Aime 4) Aowtert switen mH = ee 0 SS eye 6 eee ne > 5} content Svc Fequnrt We \ BS -Hancirrrt MApport = pga = oJ nom plu -- TJaua thro y é.] “emamepte > WHretey a POSIX AALOOLS - URAL Oe a a a ae ee a oe Bune fits | Aoominges 6f Arras A -precesd - 4t ib mer LtLonemicot to tavzate amol tentert wut) thrrcads. + @ onrehitettiinis £8 & rater aca and fier OP Sebriductiog “- Wr ouclioity of = cement ef the humming proce fem On Ahe boss of. Oo particular SOLE TH) Make the dyetemn fot 2) Maalmix, Aroughsut ————<<————— VV UVUUV Tae ALLLLUULULUUEUUUUEUELULELELUDUUUETeUyyy Procers Schidutorr J- Aproeers Scheolutor BE Oe tyre Prselrics AO AO asigricol 49 the CPU bare Shicuuling Algorithms ‘ Eat - PLE = Finat come , Firat Serutol ( ) lp Shoertrat-JoB- Next (SIN ) Scheolicling bit is the vupensibitily of tht CPL Schlutor fe allot a preuds £0 CPU whenutr Are CPU in dre folle state - thr CPU Schroliutar selects the process £0 CPU: —— — — +. SSsoa___" Ua 4 | alt, LORE plot when oO Preeus trewninaty or switerhu fren cru (S U ya) aweuting for Atott AW Rimol of cP Aco is catlecl Nen- Parmpimt 5 An LOLELt Ung + ae . Wn -prampint tht precris can ee selroute . In Won- prom pire Ahr prseus cam nel + Sthritid: * Seheduting Aaltorta’- 1) CPU atiliyatren i> “Kup the CPU as duty Od pe Oy te 100. ) =D) Threugh put J H OF Preiss Anat Lomrplett AAU? OULtirtien pu. time unite 3) Turn areund tune 2 eps oe 2 5 § : ‘ ae 4+) Waiting tut ° - Ameumt of Lime a. -preces-has en dm kha realy True 5) Respenat Lunt amount ef dime At dats prom Wim a TAME Was AULbmibleol until Aha fort Atipornse 44 prooluresd - #) Prurdd Aare 2 Tint wopuined by O preeut soy CPU trtecition - 4) Arial Adu Tame at whic AML process Oiwty An mae | Brrr - 4 lainnermesiiind Time = esac rire * Shanta memory = Lemmiunication b/w ture OG ; PECAsES AD CLCALLUCAL thheugn a shane Memerny mutes to Je prbiected grom each ofr PY Aynchorontying actus 49 ale the procss’ ° Semaphore i> Strraphores ant meamt -fer Aynchroniging Wants 8 acco the Mem reaoling & wartime)» it meecls eb attak og grated Meas LO Ls¢ Arpeated by QML the procetses £B Sew cleter - Signo: HU a meehoninn to communication o ke Ariticod Surtlon '= Lonwiler a syste comist — img. Of Nn process 3h,h-—. 8, , tach preens Aas a Spent of Uaole , tolled Qa writiat detlen. in whieh tht precy may be chamqung commen voueltes, updating a lobt, asriting o file, nd 48 on. the important paturs -Lng am ity rrltecal Acctren, no etArr procs | ey atLewed £0 extercte i ith artical Acction. | | 4 ( | 4 lp drt veritioal scetion problem 4s £0 Otdion a protecey Lol the precedes can uk 18 Coepriat . tach i prouss mutt repurst prumittion 49 eter u'ty A cactteat section. THe See tlorr OL Ate COcle draplerrem ting Ah vrequest As rhe entiy ACH 6, L, dae crlticol sttien mary be ZOUBUSLA Ly cum eutt sectren. L. the Yemauning cacle is the Remainder Secllen . p vw delution to the critieal-arctton problem yrat doliafy the pruleuuy hrc TeHULYMEnt t-) Mutu exrclurion’- YH one preceds A erehutiiy in 1b Aattiiat scctren , fom 78 eth, a) Pregati a que proces U exeeunng an Ab ruitveal section anc 4omt -PyYOceHies Woh LB precisa that ane met execute in x Temoinoler sectuens can -portecipats im cleciding whith will unter its crltecatl dretien newt s 3) Botmnoled-macting:- thors exists a duimit or bound en the ne.ef Aimss fhat other. reins “1d Ort alleurol 8 enter trriri cutreal webons Ofte O -prPUN has Mace a wequet to £nter it cthiot actions amd bepore that repurt 1S damtedt :