0% found this document useful (0 votes)
15 views

Unit 4 Part 2

Operating System Notes Unit 4 AKTU

Uploaded by

Shishir
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)
15 views

Unit 4 Part 2

Operating System Notes Unit 4 AKTU

Uploaded by

Shishir
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/ 13
Grample; Griven- Logfeal add, spate CLAS) = eB physical add. space (PAS)= 64MO , page size = 4+k6 Find 0, of page, no, frames , "no. Of orcdAues wn page table ,, Sze 4 poge table. Convert Logical add, wpaet to teal addasss > LAS bits wu Ad, to Fepy ent LA -uOB= Dee Be. i aye 32 byA—__» LA = 32 bits ——— [eee fee), page size = 4KB (Given) 200 ay a fae a 5G) means = Rutt go bite «owt, 88 bits as ude page ae pages = a = [eme) 26 Phydiual eld, Space ceas) = 64MB = 2 ie 22, ty kaprtunt ¢ Fm ER ce | | 0 sepsusent Mw, _——— — phy add, 1 bts brs [page size = Frame 6 ) a PSs AKB > tp Prame = a" no, of wnbales > page tbe - no, of pages i 0 prrsttg we oales - [2°], 4 sot page tale Fae Oe a z each Aame 2» ey ee BoMmple: LA abs —, PA= Ebi » page size = en Find no. of pages & no, sf frames 3 LAS = of = 198 page size = 8 or <2 abrB—> oe page no. ae 1g] a page = = [16], (pag! e Bice = 2 = frame, $ me, size bis 1 pas= X= 64 <— 6 br —> y rane [Bay se pine =-2 = M @ bis — gbils : 4 $e eninus in: page toble= 2'= [16] « a pose toble = ate B= 38-8 a Mule Level rae Paging ; need ° P Bb, SIZE ye FAaME size thin. We « os the pee, table mb tmulltiple Popes. womple ; PAS= a56MB — Prame size = 4ke LAS = 4oB pan ee erty = 2B. pas = 256 MB = Bean rag o [ro bits sapieed 2 228 bis © peame size = 4KB = ow 2! 8, Eearne Rat Total -size = 2° UKB, LAS = HOB = oda = 9% 5 [a9 BH veived fry, 2— 3a bK—» ee ety ae pages = [2°] = 1 Me pages ees pag table ent =e peg gable sec ox Q. = fame) PT size > Faame size al (ama) (4k8) = ame = 2_ [2°] =]512| pg “AKG giz poze bable wil br divided nto, S12 Page ; t ; ” gtx Q= Now it (an ds oa a Thvedted_, Pagin oe Anetead keopt Tolsles — of a parousses o ‘a be nt ty one * pa tole aperne o | PI cpu LABIA] iP ps mT [4}-[mm] SFE ©’. “fps | Pe [a pious = gt Frame] ov 4p enien = frames ody Memo 2 : 4 gd" a me ae 7 wanting tt clone = ox 7 wneidu, & vl Atuob odd, , spac 4 82 bite and C size 4 ROMs haut a RAM | 128 RG dhon, what wit be rstio 4 Pp table & Snues ia hrc roble #e ‘if cath inl ewwen: vintual add, space | LAS = $f pages + of cop 4— 32. ba» page SIZ@ = YR = a 3) Bite + epee a Total «PT size x OK be = Th sey Srveted paging: a opines = He fhOmen ty MM k= IF btH4—S gAm= 26 = - 9 “9” . t ? am Sp aff bits] Frame size= 4+K® 5 CD bits % promu = 8” sotal Frome size = ab +8 eatin 9 nue. Jar a [ahi Se L J gett CONCEPT OF | yensnn axhieve max” PoM ‘i ~ | one] two ret sh E i in i . fa “ / i a ePU oe ma exeeute i / oN resbng pages hich wor a / ‘ ean mmm, dna ‘ 2 ae ees Pane Frauct: omy op Mu ve PUtpormance dagradts| Pea 1% overcome BY | > * mM size > Not \ > tong tum Scher - Auponditle for jnsexttng ma” ho, O brousees Fn Rady | Atte: 7 Seqmentodttore ‘ @ Lig. blw paging and sequential nt: * ?P aut oles iD page ; ne * ad 7 pages au same whir size 4 Ag eect i : Segmented Paging ' segrn enbat™ cay be combined with paging ye th beat feats out of boty th techniques, an SP, UMM divided Inte vaniahte alze ; seginuts which au fut, dividid into ed | | 4. pages au Maul thay ents 9 each «segment has a page +foole -whieh means wey prog, has multiple ~ p _ tables, 3 togical add. 26 Aepauented ax eet No» + ee add.) , page No. and a op etb. gach ot table ny poets to Q os baaptt ae ent ond table et ved tho vd ce a dh ent. + peg “ pT A © Spel € PTE Page 4 PTED page). segment PTE 3 |} —-+ page 3 mm eT2 S' 2 s 4 er ony 4 [PIED }—>f page|” af 5 pT entry 2 [PTE 2 | sl age 2 : PT entry 3 |_ Pte 3} —_, 3 CS fa € PTS segemene3 4 [eves | PTED | >| page a PTE 3 | | Pages Teanilation of _Legi be +o phyaicat aie (64 _S/seameny PT | Viet | GOL od {so No oat [P.[Po Inwalld 0] Addnuss € [ecg $> 5 ent table fF @> page No. Fee SO> segrnend ebyset jee PO? P ° PT = iedne a Upr ench segrnend) Aunts). a Reduces mem, ab 4 : wy PT Size Limited 4 tht angment size oe. G + aegrvent 4b hits Ory ene erry: Lape ding fe one artual segment, : = Ns ey | aineaanen a, Mirrplifus Memary — AdLocation, bis. > , ; ay tual Fragmentation. a meh a 2 ft ve mi fe Be tontiqeiosly stove Vinal semen me ee pregAmrinnens ‘that @& we tan exit O prouss whose NIZE: i ae tu ize “ae eo [bp] (ee) Pl v pz 7 fps | (Neal 2, Regs. pages nelghbour. roy nerd me her susap En) Swap! leuk 1 A dane e i ant oent a 7 by ey wont to exteute Pe Ob, , PRouss Pa. a ps %& hot pocaert fn MM th page Fut sevens | gots from Us), to Qs Now, wMtsol a gots from 0S to Usen, eyéotive Memory Acts, time CemAT) : c (ener: pas (page foun auuice a cap) » (mm _actise tre) pS page feud eccuss, probabsuty. (tp) 9 le nof on ” . Demand’ Paging ! yf | Ree to the wonupt Vistual mem., w order to prouss, it not necrsd that whole uss should prusent n> the MM. at the given dime , mre procs ean alt be Gatubed f onby dome ps is pouxent ‘y thy HM at ang’ given “me, Bus, how can we auride beforehand which page xhoutd be’, pauent » a nm *, 1 prtiudar Umne and which pho! 5 - i t a esolve thiby BeMaNd paging tconept came ‘urto fp) oO Demand Pagin "9 ae we ehould not Load m4 Nip the wh gequixed: on keep aul | Es ) Slt. Memory Unt demanded, eae nr contVast, in PAC- — we 05 pune ‘oy aduvante bith page une poceys U ate and par- loads HOM. into the a nemand pagin ib a “Behnique wid y viatual men, ALE, tho ae pao w du MM oy when reguind oy demanded ty CPU, Hepits us4 also named a Loz Sura pO buz du Auwoppping er re ae roy ah PU, ORKING : Store fk. Se é nee prows P having 4 pages as P, 1, P Ord Pe cumantly, in thy page fables we have Pogeb fond Ps, f* 4. Now, ie ePU wands “fo, atkess page fo fo proce, Anat Te” ub search dy page in tht page tabld. 2. BR thr PT dotanteomtaly this page 40 ipl be a thap os page pout, As soon ab tu thap ts == gueraid Be wontext ulitching happens, du contol € gor® ae ot OC 3, The 0S wi pub thy parcels in a vote [blo _ ked tole & 5, wu pow search Hat page in ~~ atu pack Atore OY = setond: MEMO hy, The OS wih then Akad su foe from, sec. Meh. ord food ee 13 Now, O38 wu) upacts the PT ery arewrdi 6* Finaly, control ‘wu taken back for OS 4% exeerehon . # cyoncr, whenever 0 yaute ortwis these dkape et oS 2 tht asqd. b paough Sinko memory. “ge KOUle Service finye : whenever e & P2929 tery pps a ue See Ch 26) an eae gre taken +o senvia dy page qoute faa E e Fst — AES fe oaguue a mubliprogramning e agient use enone as ae haw} sie ee than élze + vn tan alin be exer HF peng. this. meehanisny, asad % % ovabead . no, of fables used for handing ie seo than fn gimble e Meee Sea aonb a aa | Fre gaging : a re atl | Z a oe ads ° iia Cre Sa e ' * aa a time ard mer eth br peged 7 “axe UNULbed A tian A : € £

You might also like