0% found this document useful (0 votes)
23 views4 pages

Memory Management Operating System

Memory management is essential for efficient use of a computer's resources, involving processes like static and dynamic loading, contiguous and non-contiguous memory allocation, and paging. It ensures that active data is stored in main memory (RAM) while managing fragmentation and virtual memory techniques to optimize performance. Key concepts include logical and physical addresses, as well as the handling of page faults during memory access.

Uploaded by

saniyasanu7635
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)
23 views4 pages

Memory Management Operating System

Memory management is essential for efficient use of a computer's resources, involving processes like static and dynamic loading, contiguous and non-contiguous memory allocation, and paging. It ensures that active data is stored in main memory (RAM) while managing fragmentation and virtual memory techniques to optimize performance. Key concepts include logical and physical addresses, as well as the handling of page faults during memory access.

Uploaded by

saniyasanu7635
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
Mernony Manage ment 1 5 Memory Management fs a critical aspect Tn. 5° thet ensures etfictent Use , of computer's mano TESOULLS se contd howl memory... ts, atlaaked ancl deattocaledt do processes, WAthich fs kau +40... both Performance anc | gaviliy. . Registers y Cache Vig griye mM ain’ memo’ etechonic, disk Ulha is main memory ? ae 7 Moin memory, also knowin a4 RAM. a : Computes processor Uses main ‘ramony *0 Stove! Pooptans ond data that ae actively being precessed. ’ Bs last elhen This mamoy Ys volale | which Pans all dade Ha powter ty tuned off. Logical addrenw phy staat oddiec s Logical acess: ‘An ‘aden “generaled by the OU i enowinas “Lopiceakoddves” “DL ts alee known a5 Vetual addrese A toplcah oddvers arn be, Changed sii yp MP eee Prpsicl Addis + Tat wrefey) 40 the! Seb lot! aetna oddvesses Used, by. the memory hardwiowe yy physicah addi also Cled a teal oddvess, ts genvlaled by ithe” MM, nite. Wee Logical address , Physieal addoeey remain Cnstont- ~~ Static and Pynamic_Leodling Static loacking + ou > Static loading ¢ bartcaLly | Wood ty the entire Pram Into a Reed ce, De vequTrey move remo Space Dnamte beading : > Dynamic teacking — loads proyam into memory only whey thy ox nodded. This savey memory by not loacking ongsed voustnes, Slapping > Satapping mores processes bls, mein and Secondary, yf memony. PDE abtows cnuntiple proce wes cp yun by temporasily | Sutapring ut lowter Prloctty Presses for htghu Prloctiy ng *Tronsiy dime dapends on the amount otdata cwiapped. | Memon Managrie ait Lechotguns ten J maya Conatquous Memon ‘ dllocation : > eel 7 Contiguous memory allocation Ts a mimow . management ctechniqua -tulhur each process fs givenia Stagile,i ., | Con Hnous bblect Of mumory. This means at the data of the Process & Stored in od fo. cend mamony locations . ' oa Non Contiguous Memory | Moras on This Method allows psocex to ba ben ‘nko Sraliapost, uthich a plaad io different, Non adjacent memory (ocations, Paging’: The proces ts dtutdid Toto fked-ste. bleh \ : ' 1 Coded" Poges’ and Memory: is diurded itito “blocks of the Saree “See called “\Prames’, The! as keops! a page abe to Map, (epteal fogs 0) Physteat rates, yr 2 The, Process TE dtd’! Pato barns of: sh sizes, such os code. dake, Stack |. 3 ey the oS mosntains Seginink -toble, -b0 1 map atest ip -to Paysiea, rrsenry at 7 4 ee Ce wy Fragmentation 7 ~ ae Frag methadfon is ‘desired then a pocer i loacteck and vemoued afte erecuston, ey memany 1 “exeddes Soma holes, These holes ar not combiradon do nol | AGU the memory reaped 4 tay RD von V9 Trdanal: Frog mantatt on” ” > Alappens” Uther Fixed —siad mmarhory blocks ane. allocasd| sto processes larga stan’! need, - Waving eanuted space. within the a locued, block 11> herby pic vide yet Extanak Prog mentect on 7 7 Happens when prope, biobea ae * guideted thay ie on tenho ghee then weqpuieed « Example: TE 0 proce required 2 blocks, of muon oN ame each bud amtgnd 3 blocks | oa wank! [block of mmunnony: Rs Wostd , 7 Viitual Mmemony 7 Virtual memory is a manor, management technique Used by oS thak gives the Appeatance of losge., Continuous Bloces, of memo 4o applicaktons, even th the Physical Memon Canm) is limited. He allows large application te many of systens ewith leg RAM, Remand Paging: set 2 ThE yprotess Sots loading" tHe! page fre. mon on sees dstnan sit Pagefault! ‘ocetai) Fe Tein ay »Gamand paging sn ish ona ‘ Pagcand Frame: 9 Page te feed Sine ‘block. “i oF data'y Vivtual enero and Evame ws a Freed sta” block oF Physteah memory in Rem whe pothese Pages! aie ld “Devashing 3 ead me foun Only few pages aeof each » press dae: kept in "mata tenon allouting MOre pwlesses to uN Strultaneously Te : Dulin the OS leads Wa) now Page, PE must Yemoue. ancy LTH removes a Page cthak , uit; be Rudi S000, hg i Srstm Wastes time Swapping... pages fin! andi owt: “OO problen Bled theastag, a Poge-foulay The process ryties. cto ACen @ page thak,ts . not cosaty looded tn Physical Memony (Anny) Rage. de place ns algo Ftto , LRu, MR.

You might also like