NAME - MANORANTAN SRIVASTAVA
- BCA- \W™ semester
Rollno— 24
Subjeck - Opevtating Systemif
| A. Explei Yue concept 4 inl fi- Prrgsemned bette system.
Hee docs L differ fiom imple batch system) Discoss
We advertage and dsebvortege of molti- progvammed boleh.
Sydlem oven simple belek system
oO Molt - propsemmed batch system ore a type of
Athereting system design fest allow — for tae execution
Of mltiple Pregrom — toncusvently . qn bis syilern multiple
peseram ae located Veto fle malin memery
Simplioncovsly ond fu frmeestoy Swilthes bf Ham
os neccessary, This concept differ frm simple butel
system whee only one fproysem js loaded and executed
: ot 0 times
© Siple bekh system one ec tyhe of chewtng system
destyn whee 0 Sequence of aliilan fob oF fade one
exeated withet omy Lier interaction on jnventions J
single Late, Syiten, the fob cre sobmitied fo ee syste
“Th operating sytem erecte fam one effer Onofer te
o> patel mede withert wreqpiving ony Oder bet loving tos
execution: :
Adveilgnes of Multi pragrommed batch System s
Umutensed ePU utilization g dna simple bated system, wher
one Prmqwom finishes execution, flere ic eften idle Hime
before fla nest freee Sterl Ja multi — seyremnes
bel system, several am one loaded Concurrently,
allowing fa CPD to suilh to arotten Pryjem
whee Bre is walking fos t/p option. The Inesense” cpy
| Utilization ond impmve over! syslem efficiency.+R aproed Hoge pl s With molkiple Projpem using dtenning
Simsttoncoudy ee Horougl pet °f Hes System 16 enhenced
Trstend of tossing fo> “the completion of one proqsam
befose Steorting fue next, mottiple Progsem Can make
bropiess concurrently , leadig #4 hiphes no. of completed
fob per unit.
3 Fasten responce time 3 dn 0 muti programmed bate
System yf CPU con swilel fo encter program wwhen
te torrent ee Vo houaken
otter blerlny Xvents, Pre ene
Disodvadtoyes | Molti~ pregsammed System 5
J Tresteesed comblecity ¢ Managing molhible pregrom eoneuently
Sepine mone —comblen gededoling and wesouete monagement
algodtirs “Tus comblertty eam “make fle system mone
challegiry bd desi ‘mpleme| and debvg.
+ Polentiod fos Mterfece § Since molhple pseqsem one cunni
Shatfereevely Are ies possiblity of interface behween them,
Resonce torfention rey easise lending to performance deysed-
ation Os conflict: Conegul nsdination cad sechedoling mechanism
Gre heeded fo mifigete Sock issues
®
S+ Diffett ie debegging & bite multiple Pxjsem erecutig
simetiantonsly Ht tam be Mone cloltens tb debyg end
Foue outer. Morkty Wa tase 0 Prysom when
melliple — preyrem one fnteracting — cam be mene complex thas
Yn A Simple loateh system” urhere only one prejrem
was Gf] & Hie.3
2. Ubet ts Virtual memory dad why fs it Imported fn
eden epeedieg sytlem! Describe the cance Pt of demena
Peging and erplain low if help th eddietend meme |
“| He i “7
brenggeme
© Vitodd Memory 18 0 menexy monagemen| febique Used hy
modo ohoating System to prrvide tu illusion of &
kusyen y tontiqueus memery Space fem js flrysically ovediable.
Halle brapem fo opwote as ¥ Peay have ctecess fo
lee), continues — blocks of memory, even it ey physical
memory (EAM) is Nimited «
© dn vuteat memosy, Whe memeny addvess Share fo fsvcess is
divided ‘into fixed - size beck culled Feges: Simlanly 5 the
Physical memory is divided tats fixed size blocle ame called
Promes. Tha vintuell memory monagen map the page of &
pecess te cwailable frume. “The peye ted exe nel conedly
needed con be temboronily Sheeed on fin Lend dik Vg Ale
Feeon on He sump le os ieale Qi,
@ Demand paging fs a technique used mw Vvivlual meme: system
te bing pages into Physics memeny only then thay eine
needed . butend of ondeg the enire panjrem info memer
at once, the oheohes system leads Pye info memory on
demend as ft pregrem ciceess specif parle of th
adévess Spece- —TLiy alles feo the neccessary Reyes one,
bycugh ints memony, Saving paecious flaysical meme
Bie tees) ed si4
Demand hey kelbs in efficien! mneroe sy monegemerl for ,
Seven wesson $
J Redeed memosy orepsinemed g Since va all begee of 0 fp
need to be loaded hy plyysicad memory Sirstloneoucly » desoend
baying alow preven fo ublize lee plysical memery, Ths
enable tla system fo dwn mone ‘progsem eoncuanently, 9S
Yu tote memory veqrinemen| ane effectnely ondveed.
9. Increased system Srechonsiveness, % Dernand beging allow Prepsem
to stoil erection quickly see ty domd hove to wool for
tia entine brgyen fo be leaded into memory, Only fa
Saied sega fege eke looked ond sobsepoeel poye
‘aoe brrovgie| ju omg heeded.
3: Teeter memo aillecedion ¢ l0ith denonding Paying memory
Allecation becomes more flexible - The operating system cen
Allocate memory ty Processed bested on frei inmedicte
needs otafhen Yhen segtivang enough flysital memory fe bold
fix entive Pregqsem. He enable effceal utikeation of Phy steed,
Memery vresouvtts Saal molfible Pyecess.
A. Simplifed Pregsemming s Demand bey Simplifies Progpemmng
by provide oleae visteed addoiess Space fy Paoqzem,
Pergpemmer te wel need to worry about Ha limifertion
of Plysiead memory. They Com design bjcaaa assume
Yod tu eubre odds sheee is available, cobich
Gimsblifies — memesy menasement ,=
SB Compene and covtaes| tte paging ond segmelation
Techeique for memory alllocechon. Discus, teas advertige
Aisodvadtaye and sitvstion tole tack fedaique ia med
Svttables
Veaing duct seqmtalation ane fio meme Olleeetion
Technique used iw oberectieg system. Obile hot
echnique divide the vicliel adhdovess Space Into emul orits,
ey Giffer ‘in Jc Spree cind bee dished adventeyes
aud Suitable — Sitvections:
te Suymentation
. bey fle vintvel erlsecs gfeccP Senmentadion divide th, virtud
A puystead memory core dined [OH space info veowoble
ra fired size block culled fey Sized Logical se ment Seek a5 Code
ae A Seymenl, did segmeet , stack seqned,
| wd frome sreshectively, ri
Cy based en hu prrgeom's Shut
. Mang allows fos efficient memo TE mein chante. of Seqnerd—
ol fa
rae eed antzotentac vt: |G cama flea th excesimerlabry
con cibletate non: canbeg vos bye dynomic. memory orequiovemer| +
4° Process In flysicad memay Fiffomt Progsem “aan
Lal in oredeing Prcqmentarial Each Seqmel ean Grea O6-shvia
pices tow ate
© [Paging Pavide beter putection ¢ However cog he
ond ‘isolation blo psvcess sive] extemal f- aeyreation »tohtne
cach frye bes its own Pye memory 8 rected inser ~ rhe
feple enday nel can be Segment mating thy challen ing te
ind percent moneyed. fred conting a ve tee
memory eee—
. Manes of mblemendation
© Ufierent memory crllocechon
ind ofilizetion
© Betler prokction and process
‘selotion,
© Shed of tommen code.
Seymenation ei
© Fleribilty 9 Occonmedatin.
Cipnmie memory meyuivedlents
cdvanteges
© Wilemal Pre gemerfertion
@ Leck 4 flecibit' Fy ‘in Score~
lating dynomi¢ tmemesy ieyvia—
oe Te eat
mmorfodi
Cia Paeqmeiladtion
@ Complex inemony mongrned
Sey ment
Ie Wal ure Ya major page o
Unlvel memory syitem!
Ta Virtue memosy ayiten, be
vied te dedde tobe paige
Aplysieed memory when Here fs
frm the disk . Severed majos
hone been droped over tic
ore sone of te most
i
Here
tommonly used ones 3 —
chlacemenl adyovithn vaed in
ercpacement alyoritimn ove
old be evicted {om
& Need & brig ine new page
Frye ouplecement aporition
come,
d+ Fixst - In— Fisel = Ou (Ftp0)@ This odyertinn seploee qe eldest
Peye tm memory, tf maintain a qe of pays (ie
order Hay wore bag ‘nt meme, ond hen Oy Pye
need ty be vuplaced , Heo
is selected,
meat te frond of fe queve‘3
2 Lendl Recenlly Used (Leo) 5 Ths afyortin sie place the page food
ag tal etm ovccested foo the Gong fevod of times Hl ts
besed on a principol of tempore locality, assuming ft
ee poy diet bes ben used crecently is less likely
te the gam in neon futune.
S- Opkimst Faye Pepleement (0re)2 Thais is on teeabized alyribn
Heat select te fege Hat will ref be Used for
logesl hootion of fime in gufone However, OPT equine
Kuowledye 4 {rfsre tye orefrence , whiels ig vel fensitle
tm paschice ,
4. Clorle ley second chance)’ This Mdyersitm is % veationt of
cisecen lish ond oo deference
need fo be
te FIFO algorithm. Lures a
Lit assecieled with each page. When eye
aneplaced, fu cdsprith check its mefsenee bit 1 te bit
js set rocketing He page Ting been sefserenced aecenlly,
5, Leasl Frequently sed (Lev): T's cori selecl th page thet
al fewosl a of time , H ie
las been orofrenced fue j
cams frye tat thug been Secessed less. frquediy.
6 Mos! Receally Used (nev) 3 Tes ealgeritery aded fle page
flat tas ben grefrenced mat swceadly “H Gssemen eel
Le ma) recenly used bye is Viet, to bevsed gyn
fu Ha nee fofore »SB
By Discuss he concept of hassling mn vivtvel memory syzlem.
Whil cavses la fbvasking ond Mews conmtbe “Ppoevested!
ny tn Vi memory jem aefer fo a Sifvetion
we
sesernce soabhing Ee ean ny (RAM) aud Seeder
Shooege (usually bend dist) ouster flan executing clued)
usefol ook Th isos eheancleizced: GyiMekcessh co entegacaaan
Qnd a derrense u oveull porformence system . Tnclend of
efficiently ublizaag available memory, fi. system iS draped im
a cycle of const ly bringing in and evichng Pye:
TPliashny oecux then flu system ts under sewe memory
Freswnd , meaning there ig ust euoyg lh fojsical memay fo
availble fo sefisfy fae demond yf vtoming process. The
Stivation can be caused by sevural factors g —
4 Thsufficient physica Momnys tthe szatem does hel Lame
evo Ram fo held alt tu Prye ore wined by adive
Process Th will need te consloitly suaap poy hood out
Steondny shovge: This fends fo Hanshing “oe the System
strogle | fp keep Up twit te demond fos memory,
QB Yous locelihy af viefrerce % Prognam tite foes leeality
sefrerce cieess memory in a seatfened 0 unpredictable mann
Tee System may need fo fetes * looge ho. of ages fr
Seconony ovege, casing freed page fault ond eracentey
AerachingS Qvouallecation of Memory 2 If ty system allow foo mony
Press os top moth memory to be allocated simultaneously,
Tew lead fo excessive reemesy emenc . Fath preces ms
sepire ocean amount of memory te fonction ¢ ffeil, and
4 fe fotut memory wnefrivemen{ exceed available Playsical
memory, flrashiny can Occur
Preventing Hransliny sequire & combination of monitoring,
Bresoorce menazement aud — optiminertion tedunique. Here,
Ome Some Een + hifi eer -
cs
Tlonitwsing ome! fining s- Kee teeck of syslem Perfosmance
metic aS os, ne wuote bs Re es
and Daten aac yeleai iat information com help identify
¥ Hhsashing is Cccusning and guide tn
&
Tnevense, plysicel Memory ¢ Adainy move RAM fo fla
System wu Provide additerdl Geipocity fo Luld more.
Feges, vedvong tx need gor prequel stonphley
B. Adjpslig proces provitiess Priotiize process thet ane
actively bein used a cue cstiedl fo tte system operation,
“This ensure trl prreess sieceive sefficienl memesy gretounce
weedeung the likelinot of Hhossltap Ea ploying Pye
seplreemet alyeritin haf exhibit Joe Performance.
LRU oe clock alyeitim «G Describe “ta characteristic ond srpsnemedt of eal dime
System. How do they differ from other type yf epewty
! Systems
Pert time system one designed to bendie fasie wit speyfie
Hime weg et where eve deedine cmd ensuring im
eppioene ‘J mel ensuring Finely
Sreahonse is Cwifeal