0% found this document useful (0 votes)
17 views60 pages

Unit 1

os notest

Uploaded by

ASHWANI ASHWANI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
17 views60 pages

Unit 1

os notest

Uploaded by

ASHWANI ASHWANI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 60
By ol ——— ger ieee eemeeseaeiaee NT ree athe . > ESET Paper-2. g _OPERATING, SYSTEM chow +» O¢ *Sturicn 9, os + Goals of * Paola Ve colt Wypes of os Praneess Mewes trent = Prrocead ees shal Beamsition aliog xan HOU Mhioluting £ Ty Cchsdecleres “CPU Schedulit eae GECES, SRTE,RR,LRTF, STF, HRRN ete. *Thuads £ Mutt thsaading 5 fetus SyrchveonizaHOn> « Infeeproess CommurnitaHon Shaud > Mess Passing * Rau Condition © Guiticat Section PPSoluHoA\ fox CrctHeal Section Problem / G Gee variable) pur’ vera bley Flag variable { ns en's Solution, Test 2 ser a Hes HR Se : + Unssical problem on Synchronization fea Consurut Problem Reader Ws46% Problem Dining Philosophex Problem NTAUGC Ne TURE te >* Int wooluelfor = * Deoollock ram Ly dhioteate, Deoallock, Prauenbor, | D eaollock Ausidloner Banker, Moorthy DeodlloR ditection £ Senuins Dencblock j, naxoney * Resource ay Unation Gropl. lomagemneyt — > + Fumctlow of wate naa ven te emit ft att eee Non Contiguous al. Pasting ee ° Memory Apacs GLlocoHiow te Oorak foe ee 4 Paging * Sea mentaHon * Witual M envy © Theoshi be * Page suplacnrent potit as Aili 6 File F tien Sat ae i susie | ° Pile dinwak ory & ok ie A * Fle ee + ftle whe ile Systems 1 Didk Mawoqement’ > Dtuk shructwou ae atting & Disk blocks Dhak aly Memon N 3 NTA UGC NET JRF, SET Paper-2 te nels ae am tuterfoar horoliuou bikeve ~ ude anal Aorpuler ¥ [Hewides an Muto aor M programs Coruee ate Uihith sn pan eyxeeute rid ay Ufiiaty % Su 0 UbUes to ar ape otf Simplify dpplitation Aueloperwcl [execution x Sa Abibracting Wh Aad wor % DC AS DO Segoe lh oui e pe and a ay Ce heebucle iG Aa: Coneiptuol wie Of 6 pomputer 4 oc! Souter Of au Lok, qs Atitreog ave Inlogact . tims Like 40" qui ( bophic al bay at cut tommond Line Fhtedoes y tudacs ) Prxpareann trncution > SEEM wit Bobi, to Load. % PXO9Xam Mn fale wen Biol to sum Lot © wl br Al ty end i evacution, preer : ‘the propo ute anormal on obuaunolly Unclicating yuu) oliow > fax foley and Punticlon , Us Usual Ba epee eS ae 5/0 deniers dlirsclty « 4 thesegor thr 0 must provide A Mnianns do do 1/0 ee ites amipulation Fre rogronrk mud to suad aud Ge *f ais ane {les aud olf neotonics sie td oO git gg howe oy cme sad seus pn foot Lf Bpwatton toneleali Thexe We me ass Ln uchitly gue =, Pe wiids “do Pes I fouration =| Tecowe din Aha CPOk bosdusoa (dutch a6 Pour fpitwa) Ue fox each, ae Is 0S dhoudd fake opproprtol oehion Jn envu corsuch anc covgistenh corr a _ — | _IRFADDA By cuss@ ———"______——__NTAUGC NET JRF, SET Paper-2, 0ofe0 > WA, Resawseet otto thee thee ase Amuttiol wees pH nL aint sibs seeming ob seone ioe AV A allacates pusaue! WV dD each d have Becee a T kup Aracle Of ptich sens Ut hour yet and uhet kind Aout peecoisuces. Usage Alabielies aa hi valuables oof ahd uaish M Meaearcohsrs to }xeor Uu payee: Thee ee a Uiyouout Cees PremtecHomn oul eur When Auwnal aepaxots prowssts COueuls : met be posable ent proc at ; as a oles 0x waite tha a6 Gets Protecriob tre Court that all pucerds ayetenn er acer tontrorled - bin ProtecHor , intowol thats (uu frwolurol uw ae enterual Hhssole ars inualved + Tn : IRFADDA By Cinss24 x Goats & os} ? J bs Prati} soponcy (time & space) L sueonasoy Sete f ee Gol cs ssaaes yeu SS i velfouolittes a pee atu Kyat | ef 08 4 all 7 a be ow pnutxounent 04 O dpecio! eget pseogsonn whee. prow'dle Que fnteyou do wax fo us Of | Aeuuics + Ye olloud der dp (Omni Cole cite He Revol So ik ww Infesfocs bofunor kernel aud ceder & a F Corny tieteepsutene oe By Ue juonl HR, Ae gi 06 tates mavage Opera bis of Lornpulr ave Aaoluart Ke b Kousl tonbuot oll Uy thar + ay Bache b wu a Low Ant PHO guar tabenpacing tecfth the haudusome 0 Lop 4 uch applica fows Que seul i Wie a Ss eee NTAUGG NET JRF, SET Paper 2, Gb Ui U ‘ ee ee at yu Prropsinme to trterach pith OS & ab protec te duuuten OS Lo the est proguama ula. APT (Applicaton “Pogson “ntenfoc 4 Eygntens on bette puroerds and Of to allow ran Lous! puro cesar to suguest bunuicrs o He Oo & peer alli Ober Lhe only voduy pointe trio ty bowel Pee : ¥ Types of Syste Coble Calls ~ Lonbial® mie about, taal, dvounivaG , pllacat Cf, Dv cep enue, lou, dole, suad le dle Commmunuicaliony : Buel , ULC ponmnuritation so nructtorr, dev, seoriue wunassage etc. Baten? Boden! Job? | ir: af June2 | = Fiat ust pues his job pas the rods - A job i @ ding wih “power lt lala avd propor | in, oa a. > Opuatex collects dh a tnd ae jee into batdus me ee ee ayes > thw, prscaton dusberil by os > ty thy jobbadl brtaalh Ady 2 + Hirt Edlisng 08° Comp St No wnanttiot atone ho pa er pivadu 1+ Prtonity tomb br det fon thy fobs. Moy toot to atorvattou (paretiewtax fob snsat long Hin " erucutton: jhe batthes fo dhe pracuxer ov se erecuteol feats tut babe 9 NTAUGC NET JRF. SE CPL ed woemain toll oa a ca Lim (5 yf foe 4 hatel suguine “Some 9/9 opumHon,ttun €PU anual vuolt £0 fhe 1/0 eprxation get Compluted «) were “To Ouetome thy uauback of bale 0f, mw tone | Come kuou 0b SPOOLING§ ( Ciruttonsous Peripheral Operator Ondine } pps Spoaling i ¢ pe f eu io ements aw ree nn oe tf “4 job don CPU of ae any \ an sip ile Wuuters ‘pue yeelobiuaty lox tormpaxe Lo Cho (dipitet ). Sx Apontt Ramah tom onto thy disk oud thu cpu usll inbexoet dink (d‘orfal) win andi unundy oud pro k wise. after thot dot i saud Lo oltik awd given fo O[P deute . | 10 eae ~ —__Ntauec net sse pe o/P olauitee Usithr CPU» IRFADDA By Class24 on 4 Alin * « jaa " npU Le is No : Mp es Chu hung mot % Uy | nov wttbratton ue g | dow | 3 undpHe goiawenn) “bisad Spooting botik £2 & C hore: Priatou oH i) ueepverpcamoneg OS P Hoaw. Ons process wn + Muteiprogeeamnnieh panes gos anol ven ore ubuiche Ot q a. we se CPU teint aud 10 Lum Lo, § i sa fn geen qJo ox Abie Ofer duet i do wal saguies CPU Hun Wnotead the U2t Tr idle (PL eter content quttch and picks © protes © CPU vane iolbe urbe dh Bs so pHote dn sua qui bo erent ox OF Ye tumt 4 content duttehin + CPU Ubilizaton increases Lesa Hudprouse des No staxuahiov biiods* « CPU dcladubirg Jd suguinad Memsry wnawogennsnsd sh pug tsa « Adu: NOTE: da wut . oe Sates process kel wan)! hse ' Bereta eo. 3/8 ‘ > ud bof HAs Coutert ducthoh ie oe bl tg 1 ~~ JpFADDA By Clanazg NTAUGG NET Ja, SET Paper i tu Uttaaterng / Time Staring | Fas war Hh dour Sobiv Conve © = Tate t + Muttilastee be Prasad) cam gal ate rsa « the fox teu i ee prapuaering Mat welts Cie fon yee ae 4 fols nen Baa Ai ae + Beh task ik glum soma dba to exueul 49 that all fade wares cheN : tum , tue 06 Mut Bile tate tian Bian Abe! Foch tuk, gets au pal eed * CPU ‘alle Hoe com sha 12 (IRFADDABy : __nrauses pr unuasl hos co aks 20s of tha acount] ie Arar instegoly 9% Udit Pare £ data poblen (Tf CPO fe?) Diced} . Reliabitity p. t 4 i ti shut bos, CPU tt NOTE. wu ww fase, CPU Ri marge Lu bos ia Heuponsible im content susttcheng bib pH0 sb | iy) Musterpro ivg OS Pua cetsor Puocman 2 irra) Reiatons [oes] Goel a er + Tuo a ynait (PUnuithin a dingt camouter, ta lou comugpun Be atog poy Aiton ous , vneunny aud ode s/o dewion gh * 3 A | 1 BN ait Processes LAM VON ey (pu ew rls eoucubtor. ed ppt du * Aho fae * Relinbitity inowosec 13 | + Gpracyut degradation, ane taertelng Oud > Gun wren - piodu t+ Throw epi ata . ee ° “a wna mane u Asyanrvetytc £ sym mebryo Satu Lipso ce oe Computo, OY Meera diay Tulips cacing Ort diuo ~ —++—NTAUG6 NET IRF, SET Paper 2 whem ane processor pe sual tie achieusol - to euarhood on Hequicel Seyprs ge Asyrometeie Mutttps tittay | The Proussax we MOK Ltahed ane +| Mostex 4a sla Honihip fuk vt 0S ax alone unaster PHOcrasan Ne Communicatton bitten PHOUSIO 06 they Que lotratled by Yona.ten Roce. Cheaper (ey to desion, bucaust only , pene Procescon has acetss date ae 14 ee Symmmubste Muttipso casing Vv OU the Processor ase tuatd eg ual oo | | KCAVACA to nt do oleaign , becaudt yee Mie cecsguinad the PeocesoHs wr Oder Lo wuaintare fa (ood bolawe JRFADDA By Ciass24 V) Reat_imt_0° inte we bert tome 7 a yee ds wack oval abies ) ¢ usd dee tooputers That boy J x a ape pet amy Joh fo bai purparared i Hf it completers ity wut ( wtoral’y Cetin ttn, tra specified Liam duxoHon + Sytem oe uy saute «te win 0 ola iu th dural ot nelle 2 an Lost dh book: é i wate, a é goo NTAUGC NET JRF, SET Paper-2 piel ord “eniatioes™ 4 OULOX ua’ ove Neato Lon oduurccely afc uf wan esces, ul unloht woditty dali “if | eee ala rare oie th b a 4 anotun peyer Se to maw thr proper eucutton of tr 08, thou we | fuse wnrooles % epvalon — Usix Mode Keel Moos Non - Prcuileolge Mode aaaler Mode Mook bif > L Moot bit > 0 Keune Moola . i alu ais ds in Reel uno - sae yulated! enioution Juutla tn Rul muses ; Ons QHt ~ + Come aes ‘Gi et fnabowchi ors of NOTE + 7 ee te six vynods to Reval = 5 -_ =. Uae 14ode © Whe th compreterc PMR sities te ; ‘ Healtor. , distor i UOUt wmode i ppticat te ap 4 ‘G © Ne alinwet access to hasaliiaret « © phen thr Use application sag eesti jou o eee oom dhe OS O% On intvoupl accwts ox wale ie Hwu will bea tailor fom Fl sisals (ROLE do fogett Yu sug at * Below obog xan. Alows what brappew Bs. tiFoocpt eres + st (mad bit = 1) aur pHo executing | Geordie bya aug | usr mod © | Kewl Mobi | (role bit-0) NOT! JREADDA By cinss24 wi * Types Of Kounel c Monolithic Kewl | Mow Kemet P HYbIRtl Reet P EX Reraat 4 Nano Reset i) Monolithic Kernel + The bam wmumnay spate is Uded Lo inplernent sit avuites and kewl Avurtees . a it uses Sam incuades , Pat , Lhe dive of kvl m9 the Ouvcall dtr. 4 Os. «The Cmcuklon Of Protas 4 aldo fadten a 2h doen't Yar departs tae anal Jere apace. Adut +* Exeoutfon iy © BE proufoles feoduatieT® AdobnQanuus svete, apy bbe moclifiea, a LJ | ME OPA Ext Unix, Gaux NOTE > Jn srnnna lithe Amt, Lowmunitahon between ester L kewl Ls lon by Syatem calle 18 Ti) flow vowes ; Lio Koonet Ua avw | a ivfe. Sis : avunete £ pul avustore aya topturentd toto Sano diferent Oololceas apace: Aout + A tue averien Cow easily added witht annals the tuholr os _ Px 0 keel porocaa dxosher , it Salar do prruent dhe uchole Mystere mr { Vindut «Show Lk woe paguinorrert i. a infecfacivg , wcbioh. aduees wants + + She aesunging bug’ a | oligfewl te 5s Ex: Minin, Amiga Of ioalien & lout NOTE T= do unto oul, U4 comumavriioal by Intex Process Conrvmunicalior. (IPC) - swell, ushiel * The compiti 20d Y thy kvl kk ue means thr Codd exooutty, in the yetuiledge anodle o te Fords ke wpa P a $ Y amo NOTE > Thr teem Mano dlupnes a kervel Lhat ALppots a mavaseand glock! swesoltion Vv) Emo kexuel ot & su dewelepcng and U th erpescimentol approach ? epee Os } + We allows to pagan appli calvon specific tustomizaHon, Do access tu sealer of Uy W ttr tntorfoct Le prauitd by fs » Suton Coll $ Which eve 4 Legpegpttacss ip, bs mote Due 2 6) Kol Hemodns te ath | conpatert Asie! | , SA Wk ie node of wonious module ea cae be Joaded im duning 06. ) Kou us the fi pose: of 0S to Load frto reneouy auveiig badting 20 ay @) Kewl i hu Prngrcarn thet cavelifut: Ue ¥ of. WIN OPM Oo Whee hk th 0S platid tn Ly ' ~ ether low o Anigh. aan ory irs , Bia 8 bufier thot bald, 0 dn keoel 1/0 dubaz at cb ts ody Jo Loker Hum j= m o oauict ww > Spoolug MN eweuting podintt U) b) accusing a gemara puposs suagiater 6) decxementing am wnciquedl inkeque yale sfoud tna jute bujovd “wo 4) adding volute of Lun Hegittess using ADD Ins wetow tap! Tntwouspt is dest appropsiol a 0) Inmet fnteouph b) external frresouupl: WF sSeftussos inkvoupl: d) Nera of the abou 21 q PROCESS MANNE aE Ay | vy Pees. p Prope under Cuicution dh Antu 04 Proces ye i an Welt evttic uo tnatomet 6% programe is also 0 pracus uw Preocea Progam. + sumtin acltuity + mf Operands 4 other te at of tO, information b gn tours Of CPU, Protrse ude ~ * Schedulable /Dispatchable writ + Unit, of eneution Ua Process ulin, Poocess seunoniong div user unoele Su in keel nocle % Reprusuatotion of 0. Process = RAM a a S N 22 ee ucttors s teats eat Sento. + corlaus ereertablt Vola Section + cnutainn glabal variable : fo psoctes f nv wr Ot Heep Section = Dynami cat atiowted wnt d L if purntinnt dus data hich o4 Lowel vadaly Stork Centon — contains tempore ug functions para , sabe ~ Aittvibutea of ow Preocess Process | : i! ae Progsam Counter Uae of piled 9 A. Stole Adhtbuls \— Creal purprs gi Prot . - Lue of olewicas Menne Line se Ta ¥ PCB (Process Control Block ) — ,f } ue 1s Ao Patigd) of Pxeocten clebtec?p LOX - St gt & lata abusckwes + AU Pods sutabel” injoumatten ‘agli Wo" con lual prox + Cupey proceeds will how ifs uur PCR, treated by OS tusides Im RAM - + Tay ue Linked fo ofhux PCB tetog Linked dist + lOhim & phocess u& tsuated the 0. scruatesa torssiporliy M? fe 23 — NTAUGC NET JRF, SET Paper-2 * PCB fon a artir preoctes (throu FOF a wrt ppeoctes Canrouah peaks) ad worwol process neers RAM [Peel Fee>)) PL thodl dew ber diye seu Jui ou 4 dot sUadon PS ko Je Poa aux P2 ko exteute kiya gya tok fo bhi tontemt PL ko Joi uss PCB wn 0S sow u9a 40 that tun PL eracutes vaenk Hrs Haw Th WSU susuvus JG ereculor Comfert > Thr contint 4 PCB 4 & process axe Caltech uly Rue 0s confeut ey that pHOUss - O. while suscortog, 0 pres, tom aeons iG PCR pean nai vena ? Toews [Folsr Fala, Procist Com oceess 7H comlonk pom snain arenay PCR dy kept we Ng a ga Br, 0S Cam q acess PCB Load , erent, abot, end, wat ented, algual eusnt ee. axe 9 ff example of 35 Process Control —~ pa, > a . acess Bowl br uni haga eS tuto. B. bath pH A Ne in ale & Miat aut rN i iw. ou — PC a be activity 2% prcoctss ye Prose stati smedet Peataao tll gw Jo bt dw mew blot wher 2 progr ovr lar nun D4 Le initiated yo out to ba uated bud “0 get Lyuated ~A ese vindles Nica AL dla do sua slat agter a Loodid vio the Pinan sneering ond a pathy fo etalon «dn Huaaly COL, Lie puaeess was for a eeuton by Lis cred bo a er a Se 4 ib asalgvud tar CPU fox equcntion - iL. Town ‘ Fe. t sft a ULL pun la Js . 1 pps entortg the dueminot atats, content (PCB) of Lhe proces is deleteal by tv OS ADDA By NTA UGC NET JRF, SET Paper-2 # & Glock On Loni ome ; 4 PROC WRU Deo Wu SLA Ao lelech en ucoth eteti if tt PePUIMEL Aer I/D Cayiation Oo dows blocked secawees desig “iti exceutton . ;, ates the 2/0 opimation ges Cormplited 04 yergauseer laseorned auailable, the prracecs wroues Lo the suady Alot Si SEER. od preeess yrrouies mom tdy sot to suspend ruody Aalst igen Uy but the ansin smbrorey ii full, Ph elss seemmaens Ln the nds suody stoi well the anpin svemdy Lievmes Quailabl. 7 Susy Wait Cah +d pune anos from unit sat to duper wait stat if the prcacus purforaning 1/0 opvation and Look siaaiimsepa thd mA seas te scene! auoke nec 26 JRFADDA By Class24 * Uniprcogrcamundrg wulHon + Gh Mebadusting {ead So Less Content: ulthig - 70 omg eg « No Huad plate r . Only ew pooctss com -be ereculect ato tw s Min. nw. of Sale & proces me Ba Pati ee Gun ae * Mweipring xonrg erudrouunenl 4 CPU ‘Non - Pucemption Preemption sua} Sa ae ny a cpu is allocated Lo ths prtociss) « CPO is allocald tv a prous omela ws eoucttionw 04 i” o puuloin amnouul & auttches Lo waiting at ay on + Poss us snot takoousp ted Process Lb intyousptel sic on be voniololls,. 04 conetasii. gh OU umioldle 4 exueuton es hie ‘ * dans ysl dit teh Ba protest) « Cites tte procus to fig alates uice ware ond wainlacs sod ques Ths chads to wor touted! duty 27 | x _Non- praempliar stot moder ~ + | (uw) (Reo: | w han, el . ) Cummnding Chur) | 2/0 citi jw Magusat a “4 Pueerplive tai model & eT + Puss state diogxam, Schedule | Btapatch amulliprogianvnt wruLlipso graying iw + Min. no. of alates + Mam: no- o% stata in No. of stot A wai mena s 3 ( maadly , puntos , bolockeol ) Nos of stats ba dteordary unum = 4 (ures, dusornd Judy, ducpand block , exit) NOTE: x > Prods mo CPU min man. Proc | m noob ing +0 Achedbe 0 CPU farce teu, 4 (Pv {0 Bound > A ts preocase te infuse ein fe ee o 1/0 opurotions. - — 29 >

You might also like