0% found this document useful (0 votes)
5 views39 pages

Module 4 OS

The document discusses the structure and management of main memory in computing systems, highlighting its division into two parts and the importance of memory allocation for processes. It also covers various types of address binding, memory fragmentation, and the paging mechanism used to manage memory efficiently. Additionally, it addresses the challenges of memory access and the need for effective memory management techniques to optimize performance.

Uploaded by

jayeshsuthar0621
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)
5 views39 pages

Module 4 OS

The document discusses the structure and management of main memory in computing systems, highlighting its division into two parts and the importance of memory allocation for processes. It also covers various types of address binding, memory fragmentation, and the paging mechanism used to manage memory efficiently. Additionally, it addresses the challenges of memory access and the need for effective memory management techniques to optimize performance.

Uploaded by

jayeshsuthar0621
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
| Baaiground La ith om JEP riedite 481 chapior Main Memory LL | Main. smemasy_ iS used _fur_in. ovdert_te Store the dat wubith is uted tp the cp uiby becouse \__| €pu_aceets onl pe jay ie ee ee Bei Rand Syietalle_penv volatile memery the amain_memety is cevided into 2 part we 2 operating” Sybien °. toon0| 0S | 20000 EG Saoao| proceds 2. igeeee 40000. priaces.2 Limit ¥P Hece prublem is there Spay access pote oes. inbtucthiad 2) prrocoffer may tacts 25 adit Same time (rb trvtHiinf mart fot lari: In cde te _— Ait psrchl0m we ule ta 6 ‘fo Ey 7 b ro) : fy inerdento_poviding vo prolactin we wh te tftp. he Bal Aye: eo anh lm “Agihd ae rn = be fod mca. = hy thi Mu: Corl toy. Linh. faa’, pd g me : Se oe : . > =o > ae . we iL —— 2. — = ee cpu generate 35,000 a4 thee ASMHESS “ye oo 2 4 > 4 _ Magnan canoary 2 2 Above tondiifim 4 brve ,y ber 25,000 14 belongs a4 te_po__ proce) ¢ btbaile Succebtpubly = 2 one Condition = = — > > Cpu genennk 23,000 > 30000 2 ea é lGondifiur (4 _fulle. = [époF* 2 gOS 15 String & bi a—___ No VV be2, 23,000 acicbrey 14 nol b La_P2_. pounce, Tons claret a au Cpu__gentrate Bé000 Gea 00004 apeea) ago Tepo [e220 xs > x nto Send Trap message IIIPTIIFHVSVo ve vow Mapping inshuclions 4 data to the Zap gn te gE ___—#f petago0m 14 Colliclioo Unflucdind ,# —_—$ 3 tab leuctind hove Ts data -f That_poggrao _ IS "nde In Horclhuare. wo er Ndbh Binding meant popping Bude [rhbuthiol © and dale foe jtardusaree te Vieux Dieta © matn Tabreat yy ee eee seem aeetaeaeee teullisep_proceling fa ule prsegrom. = — ¢ x : ee eae Sove_ps4 ”) 5 iC patogatiny, . a 1 = m viler | : Seidl heeft : EY a < ce _ eme/3 : < | saps _( Objecs Modo} ) : BR £ 22 : aya (time. ps (hon “Chea nate) 2 i i NY « si | pay —|—There axe 3 types ef ASHES Binding | compile time. Binding hag Labed Bime Binding? a 3% fxtcutiaa Lime Biting. + 2 | Compilahiin sintanly Le thes 'nglormisbion abl Bee ae ee Hy cE sake. 17h fpjcteve TAMROT. | rarernsag Sydten.. Pn _rnusttipr ute_lom. | Ste | Culeple prensed. in i — < sic yet a a Susopping-is macy. egal i (n. lpg ___$0_that Cpu &técute alt tote proceksep Dr ee Sage OO antl p the dita fom Moun -memay t Secanclaty 2nemary, © viczily — a | | -mnemety to Main 1 ogeroNG oce#s ae | ae a Ons _|I = 000 S| sot By) SwOp TH ne spore | “ 2 BD an See ad That oe A_oporations in Susapp ing opie ta a => 2xto CLL from ae “Flandat a Bite Maéy =2 ara _fra@e den Operating Sten lal Ace tain Memay He proces. Thane ane_2liays aa am bans Ee er Leer ee ada Mernaty Bcecutian. ob ‘petacekt. tel. (ome Lilo regucstt “> proces accent Some othe % prneekd ebb Herd. + Lond Rabin te et eae | eee aaa spewing Syst Stoves eee » arbor “Dp Ee ee nee Salas — Alcan a essing « anerny fe “4 ae Ags Memory es “a IF ‘ Memary Bllwcatevin “I Bt non’ lontiguerd Emery. Al owostden «er aa y QALY phi (3be, He © cme Tt © tale] oy prommuinp uith vauable pulled CMyT fe on = (mifigu mus f= uke tyr the free Space |4 Here on that free Spock Sie the pieced. - pis 5B LE mB. 2M bert 9118. ele cassssnnne pg ee Se iuing £oav¥ g MFT alae fea all. te blocks _LL— —O | tanbider the mtmor, mi 15 adeyided (rie & parkhiod eA — inorder _lomh, 150%b $b, _4mb, 3. smb ye | Side Bach pac In oyden |b, ‘ob, )2M. 7] ——_|.___Apply “Risin ig ton. 9 aden ue Mace ae block uaiage a process process Site Block wd | Block Side Evan tnt) ey ~ loms gmh Eye 15 mh mh Hii | 2 ans 4 ymb | gms ofl go> Md Ttermad Crag med 2 Blocle 4 = qMb Pia eG ¢ ofle 32> 5mb ecle Us Ams » | He s ss loci 5S, Bm | ale ee ey Gab. Zz i aay +3 Bcheinal _Pragongt = GU bStdb Z 2 Boh aaae &9\ | vuceodcs LES > = 5 aa 3 a a 4 > 2 | infernal feagmierd- Glotie-$ =Igms Glock 2 = Blok 3S ~ md Blecie = ams Blocks > ans Btheenal fropmit. = 10434 tdted = IF MS © |e Sati pel $< wandd fit 7 : | ps |elwo| Bl.52¢ VEE iar to ee Pa Peas] te 2 Piss MS Pe 4 ; 7D é 3 IS P3 of 4 = af “tly no ae Tet he Blotte} = Eub Blecle 2 = 1y MS Ble g = Sb Blociey > 245 vloces > Sms ideenal Pragontrt = hb [eh SP 2-8. __ 30 M4. ys ey Combidor the memury is dovibeh iyilr 6 partitions of 200K6 4 Heokh 1 600Kb, ooh, Jookb.g 2ooks © and No process of Side inerdot. AST kb, 210kb —@ HES KA ALK, Apply. Memory ANocahin & Methods. (Pisut, bost.4 wat fit) & [ees [fie | hegnd 7 Pp) 2...) 1400 |. 43 P| a0 | 3 600 |3qo0 | _ P3 | ug | y Sop | 32. | Py Thay | — = = @r Apo ce4s_in_ Stoxvaleirn (PY) ae lxtoonal Focergrntatahin =| aS kb _@ aanane? a . oe —|pmcen [PGE [Ble [BUG [Fragmend |e JPi | B6F 2. [Hoo (AHS | | P2 | 210 | 6 |250 | 40 G P3 ube | 500 | 32 & “| = hry bgy | 3 | geo 119 5 add Cit - ; | 200kb 7 2 = Beer) way [Pe TPG | BURR [Bletael Fragmna| ao. ook |?) |_ asx | 3 [ieoo four [iS Y 5 [Sook fo | Zio | 500 1240 | w =a zonth |e [— | — |— [Le Zitz 250¥b (ge SAPs sl Gos — | =~ e em —- : e Py < ti =~ Se net ers pare Es adey | Hating th Fel Te paid — MFT) | numbers j. panilione abe oud. ‘ses inca at eee ae ofp ve [ow antition. ard Side of. back bart As dilidel daring he “Spin. pordnive Baton TX once he Spiten it dblfon thon iii rat pobiible. change fs pnd § Seg pilin fci- 5Mb Sab smb Seb See ‘ Sem Side % __bogh\ blo —__— re tea With Yauable side Ae alla —— de Lao 4 | vember of partiling. grit we cleptrdy, on te = To 10 ovencome whe dbvausbocky y tixad 5/30 Be andl. | Sevelsperd rrp lémetnty vb. 6 t J umber : 1h | Side g fing sects dptnch. on the Side 6 ua of_procels AiRARARRAKRaann Le 5] yo Leech ee i a . a Btrauwback, '- Wfiadt b molenad 7 pitbnal Fgmtnl 1 2 eeacalann Oe STS ced We tan a and take. ingle bio | ome Mae eee a ae 39 3 » = gith. rachel’ a S| Lagicad omc physical nddness space cate| oo MMs GAO na Me ee Sty | hegical _Adsoess if bby Cpu mtd | BY ackhets ff On- Urb bouttlon vided /_ program. Ye _aceots begital Address pth | one Logitat addvits S choesm't i at» phayi ny 2 the oiacn meme ¢. thn tome ad > i Wise AdAnCSS. pelle Sel of Lagicalsddaeties génémated by program — ? |b Seefered as —Logitat Addse4 Space" — __ > Z : da ee | a “b £5 actual addief i'n the alin mbmarg Huse | attructtonbsase Satefs vooBiu b 7 Stoxet. tt tant be accebyed by fhe pyen cherectlly sith the help Gf Logi ALLEL. a Tepp ES petit. a BIE AN @ a wooo | a A gbrerabe by Mepnity mamapomed? tunis (MAv) 6 ~- Ta5a3 che . oe ee Non_Condipuous renaty Allerafian be . kere Benth. 4 fees, _ ovale inmate minty. dad fle Space atlaralid Lo dhe ppecets WA Ca tenn = a Lema Altatalia : Shite Cie - bs Meckanstrn ; be pegig —— a Space “ « => rh Paging = —— seg All aa a aoa Menai. A b e g)!|4) &) odion Of irSkuctin te. Address into physical 1 Qrarresy, inh mopping regio’ or onysiced poo nesy ca poge clo Ciena by 2) a PE Pe omber wt ‘thin, page. LA nee re ay (pipe zusmbor ch dae Lapua Ge € Pusmiben of the #7 Gains tant pon ep Gh addres of the Indbhue fon and give fe _ Lila phipital sdebrtfs Ln foe Fadl mama or? _ With bp by fh ue 2 SSESSS at ee ae “ft a 321 te “f +4 Each fecame id a yi LL |-Maiin esbmany “i's devided tt bby $Y. oie fe = 28 frames S HI apococed_s t5_clovide tits Lp, [[Link] "Contain In Stroll ond. ai ea = joo. | Mens Pp Main Memory =f ea i ‘tel EB © a Li O oemnerg Prypiical Memesy =. oo of fe : 8 iz =| U3 é =e Fo fit ee ate af pee [se = le i ; aft + & 7 Thlg spe] i Lats ; [2.0 [= 34 (3) 3 | —— (z = Ute gu] | site | Allo cathe formula.» ui = a] Side + i cae 5x bto AS a 20 5, [>_ >—s cabs] SHUI pal [O° BFC =2y, ae [¢ I e , Liz tay +O = by prt += = M=| 2¥4 FO 2F 3 = +8 a [~s z > om” ° 7 6,9, 9%, LL > = | 3 Strucdute. toble 5 t i tuck ete. § page Zee ' Sake a OSTA 4 uted fl Aanarflate vinkial added a CLogital Ade) inte physical dddvcess , 7 Kifferert operating Herd whe Sif eerd page ; table 5 uct SY. “et 7 : : , Pa Hivwrsval page Hable Shruchire. ? @ , | muttiLerd @ 2 boul @ 3 bevel ble ab) Bable_ Shrutfure at Drverted page Dihle Shucluve | | ‘ + prypicak ogi” [cpp F-—F p [ps [A] gid oe on __%F | es _— inf we Tnveted pape table Shrutlure 3 a= 2 ogicad [ physical 2 {pid [PJ a] [Fai = = | a oh } a a —s | = 2 cde entry a Drenteh. a poge toble “> aK. as 7 Lacks cer eid bucdt ont) imp faeces C page int but ons) in page | oe, pap fade x 7) a _ ate avatlasle in ee Bat pide table cntazy alt fH tek ee. iv iatiinn ukeathen page Ahable aay cE 2A ¢ _ {Nn St Ag Ae lif p pala eae —poge table foun me =z p generate logical) address —7 thot i's | deyide snl J fe d._page nanber_ -offes eal vt | alle, Long if CPs 4 addled fe ae) => | That- “idea cpu tenaiting etksth poutege =a =z aes By. given te inp Of pope toble ; ddd S youths (2, 18, an =. Tinyplemenilalion of Tablas 3 » _ a = | Reaetlation loofah! a ide Bunffer (TLB) cs a paging Handuare bsith TLB. s Pgag- » =a Ww wihele Bale 2 a psareys 79 Z mn bb mal, 7 pre fea Peceratey. Inkmary, mat. a ; a aa tuber we State thts page fable: 7 ; > J ; a a 50 _we Sfore fe. p 2 thle jn mel ne mary it provide 22 pscobltms. te Accel the page Lable Irimary 2k deceds the “mado rremsty TLB tb a phaialed memoty —> in Abou! gakmaty the lrfrtrmatien if” Stoteh jn the fan TAI pe area om as segorcente 5 pins EG cs ewe pis. eg andf ra vale. ae Lepul 4 ld Pa Frome eae 3 SP eT @ ee eS TLB_ jin JLB page number 14 aynilable = Din TL table 4 gerenale the_fryame pon 1 = ben a the out put fee In, deuce. 1 xt ond not owai lable in TB then. that U3 4 L L fhe 2 “iS coed LB mi ul — = ete ot [cle I lea ———e[ 4 Tv | — ey rege ri _faseef DI |v j= [Ete Pog 2 [3 9)| vfs 2] page [teger —— a fat f = |_porocelf é a — pred i é Z pose table = Memory aoa > imald Cnbeahebs of) one ae valid Cindteate Ly v) Allad_suurvning ld Li tare —__ Ste il “5 | ables multitaficing | | ach _porocess, 1 |" ouim virtual adecbees __Sfoce. 12 | provides remedy poco oie peace met set Caco ninty of pec eer lg wore even? | . = =F it page 4 not [n Ram. =" at aaa ‘ a a 7 _ Af ter_poge fant aceurg eb 0S 'fimch the” sepecixed) pege tn IBIS Ie. th bood It Info a free frame in pam, | ate the page table ee fre fob beuction. cwalid valid [veo bit o\A | eS My of | an of [vf if 2]le | i 2 3 |D 2 iy aq 4 [e€ 3 i YA i ste] yf Fs lowe cle een, _6f ¢ eo #1 H fr j 7 (ay Logicod See 8 I batting | C | aaanen {cud — 7 & © «—— she Her JS 55 a Seu ivct @ : &. qeference is. | op eae re ® eae 5 7 _ | 7 Et e Lead M i L_| & Septarct v bocking @ imghucion | Page toble. ire @& Fe | = o— : Tees ising. page 2 Cc Phagsi I a] = SFO e1 | Load’ is the inttruction fhe page. g it the Super ence. $ : io nano a y pekird (A) not. _povesent xf Vali » buck here (M) 8 mod poretent In" main Memory Cimalid) = 2 a Sepa xb Cpu_genenate Om Hap _mekroge Dh _the as ef ON —l-h 2 picie trast page _peeomn hocking Ske amd. Chee scot yarn —fece Space 14 available -@_rot.. if poe dot available means _it- |__I14 clone page S« ling Some obgua ithern bchee. tou optimal) J >| Peete 56 AB. aoc pcs Yn 71a» tgs pos ID bis. “lees page fest =. “punide ar a uct | alo full, $0 tse _mbst Seeplace | framffen ee fe Pe p fen andre the —Fieondldry Crave than Ie place fiat Ta page ch Le te place uf brant fered frsge pho | there _are_3 page seplacemént Mgertthad = 9 lb EPED (ef sSt tm Fist Out) Leu __C Least Recenlly Used) 47 Optimal. rela paarree®? ETO ( Fisat. Eusit in _Fisdt-_ovet) Lead tie which Pp. ene.) i'n arLin nip ng is bill Jplace, 1 Str in, ©, 3, | g i fae © caluclate 2) | Leu Cheast Recenthy used) ——_t place =the pe es heen uted — eer { Least he ently ceded Z “e —E>_| Shing = F.04,3,0,3,0,4 2 30,3, 428 2 Framel_= 3. te A Ppply - Lev, Caltubate pge Fakes bald © hE ES ¢ Rabin = ise = Rp Mies c pagel fees Jeo dy Sting \sslo la la 0 }[Link] y fer ce Lo le yee Ea racare t tilt |s X12 |r |} Glo lo lo kz} 2| Pz [i ice alle ho ato lollolletistlastalsctalo F3 pis J It }3 }3 3 fala [o [aft [7 x ie S35) *% we eK FX HY page Hil’ = 3 Hit Ratio = 3s. 21d 2 LAA PRARRRRRANM doabedaanaan Q S| |lajok | 5 &_laolal a 9 ~ Io | ei as Ry j f= 9] rq = = | =| ° 3 ao 3 ©! rg} 0 } 3 my Ta IS) fst Ld BOREL] fs Su] [8 HL Asis IS ~ eae a) 2 84 SUSsah Sp [OL |s¥f leaf 7S § m™ leo a % 4 I [> P al To i 2 ofF| yy i af aR e [aof-ly| |)" go ies) EEE EIS = oO ho * ais = fe 4 8 a [m4 || 4 | x es og “ / | wh 2 jada nannahanarataaare Aid eae ae ue “Es i one potobleen = 1 eA Se oo i =| Combi den the po of erence. Steins on ao tA Be 2k, 8 a doa | 2nemery With 3 fsognes. felexonsine the, miinbes ee Pesge f- 2. Lorn frt |-9f page Faults (hatin) and ti (patio) hing @ Bp —_—_ teeter OPIL MAL. pe LO Ow | -2bpaithant. 4 AMich "abgathe c wZe ett £ Yip. _, mst Sebel | EIBO J wYas p Wan bi aa 7 Ratio g @_| bee aT R eee ee Py Thott to elo lel gle lelel Po ololo lo }° |o|o}3|3 |3 13 |3 16 |o|o {2 ja FS Ale [412 lalallala lolz je by [2 [3 ]7 xe F ¥ x ¥ wxXY 4 page Coutts = Ieb Potio = 018 wae Us Rolin > 6 [18 Ly — ~| |alw Z7]]" {| AL [Bola }y, a a sof [mol a} 4 : “| ea) MO} fag} Op] & x : \ o malol ay 5 {3 YI |_| els} > & _ a 1 sa) 9a 4 3 oY fala la ag "Pel 9) IQ] o/8} “2 m9 | 0 a3 | ag al_[-lela} | fot Jol sal z SRE : " x L =| eladls 3 8} |-| or x 3 a _ i ale x was g aaa a |r Bea) Swlalele 5 gd [ds * ) ; = EC S| Se] * das 9B (OE nd alee albeit eel vince oe imame THT Te eet] et SE EEEEL PELL L » ma Sd |S] a] X al].sy [se] a9 Ne Se l|s/¢ | cal so} fb] -]oo]® 8} 9 s_[sialE} Reps * mial—| [She I x of | oy | If alley |= = ay al/— ale, Inia Talis) = | Ltchalal cl &- Toys iS =lOPk ll vo }—foe | cS. 3 |) [3 [sl Jali) 8s a fals[el+|'S°3 fal folate t+ 3 8 {eq | rol es ay yl re] 9 | Na ™ alt [| 4 14 DoLit} Nol [tla lol Slee LSiy BP : 3 jt] « Ls a] fol dey] % SP Slglesisi TL 4 a ol fait of SS] fel tele lo ~]_ [=] alesis | =o fel [foal fas al (fers aT * ao * le 7 = =| qe : & zale RYE fata ale | & Taio aes allel es 2 | whok are iy Sel 5 by yt 2 | Explasn— —fragminta bin’ mn Deka. ee iy |_whodt_is_ poping-? Explain with-neat ciag ran horbucane with Tle) 9 eee Selecta free hole _feiem the évailable holes) with o neat chiogram wire The Sheps in Am i Fen edhe pape Swi «| peat lena on FPEO, bRu, optional, with the i Mortons 42a) of achlee “hi ¢ F. Lot [Link] 83,0394, 0,3 Duo 2k 2.1 framed - 3 AIT TH

You might also like