Os Unit 4
Os Unit 4
GN
www.gnindia.org Dept: CSe
COURSE FILE DOCUMENTATION
Year/Sem:n/n
NAAC
AY: J0A0-a0al
Name of the Faculty: Mrs- A-Sundbura Topic: UNuT-fy Sub: 0
UNIT -
Part
Meory Manaqamentg
MemDryThe place ohere the data can be stored into te
cormputar
main
mirnony
Alaoy' user wil stoe
i ís permarat.
he data n to
cpy Eutio
Remanant ctorage
uur cosu data in Seordaay
munory
wminmuno't Seoncary
Soap out
Cache me moy3- small in sí3e ohere acuted data
Store d in cache
lhat is the uie ob cahe memot -In Orderto access the
Tcpue Cache
tat slo
memoYy
SN
ww.gnindia.org
tat
Conapl te tocolta ot
druallyrogyame Escutt in sequrnhal manner.
mas
memo g tontais'k phy sical address.
addras
Trandala
maun
Seimemoy
andagt
-to
physiaddrgs
ca)
Mán
absolu addreis.
Faculty:
Name of the Allbcato me thode -
PI P Dllocalioo
P2
P2
Pi
P2
Py
main mmo
is there
man
ohereeUer he
coniguous froe spaa
proats to lo cate the pro ces
or a
tha t c
be
trough
plaud there.
Can
PI 3 \ce
fo
P 3 ke
-tull
Coriguout A|locaBbn
bied
Vaviabe
Same
Piud size -
) all block4 Sarne Ci3e3
PI 0
lquou P 2ke
Pa 25 ke
dibtent sizas
Puz
bolee 2 k8)
P6= l
bol
Spau íc auolale
above main
fom the
tor
but it ie not tontquout .
ohich fs trough
(arnot allotata Ps in to main
even
So
auoulabe but in nt conhquous.
y8e(Tm) spauis
the Coluton is Compaction t
above and all frer paat
all pro(esset
Compattion Morin g
below rncün memo ts caled compachon.
P 2 Ke
P2
P3
Py
P5
the
blocla
blocl) tan and
of memo
éuc
ua
Mous)
www.gnincdia. ong
466 Pa
G T 0 slqoxihn
selectr ’To
Fiat BesFit
a491-’ P4 354 P
wfil Name Dept:
CAMPUS(AUTONOMOUS)GURU
Ert to theof
INSTITUTIONS
TECHNICAL
NANAK
beut Seavch allocakd.
fit (annobe
rt Faculty:
part 30 Search algoihn pldatauai.
Pit
asfolloo
ot -heall ’tore is DOCUMENTATION
COURSEFILE
no -for
P2l210 PLASEL
PyT441 memory
maus
memorg enugs bit
ie Cuendat
emoytom
300 500 600 RO0
a50 cohich Rogmunhakon Jaso
faqmenta
taleonal
toTnlonal
n. a 300
postton Year/
Topic: Sem:
chanu 600
is hraqomeda
fakemadkon 1D)3-deonalkaqmentaion
benal-ea nol cohich
almot tlondl
obbagmantakon
ogmaaos
Rnlanal ) subi
bolh cant T
equal haqmanhalion
Capabe
tor Sub:
to )
moinnen
erough
Theot
S0n
ConephPaging
A
u Loors bott
book Framy Po2i0 35Pi hough
iPagae Phct
nou with case, sihou
Spou, cetsespraroe
-to -thecoatg
it Eutenal
book tte hert nloal
allocae choo Raqmant
aton fe
and
ota Frame
ooka)Cannot sige. Cpu. fs ee a
Ceuondat Coapoutob the no
hagmuntaton,
the chanu allocaled.
memon ie
have mnausspate. int
300 500 b00
calud the
bbexnt Pag memDry largoct
tord(veespau)au3(Freespa )
P3
Siie -Tntonaspaafru
and <poa
pages, Py among the
w.gnida org
Ihe
wWww.gnindia.org
So
Cpy So tonlguout SN
how So tame
Name Dept: GURU
No pag
no-ordloing
addamong
paget of
Siae the NANAK
Paqdno oqieal
addrcs vc# conhguous. (P) (annot tpaubra Faculty:
toltoo ob
rantlation oYuognys INSTITUTIONS
Sooucioo (o) be blocks DOCUMENTATION COURSEFILE
loaded Non
in and
mannt
P4
4
So 1 ’da
Ls
TLBg-TrantlaHarduware
Luppordfor for drauo Aduanlageu
10 Acus PagA
addvas inedin ta
Logicaldraobackhe
ob ovr eoch mainta page -lcble batlt
toe Can
Corme () and
a )TO fa be o
’ bleg
Contain' he
ii eveng
Pld spe Hon the TO
double peeC we stoypagng
P282 PL
tial Look Teber Te Conlais hoe d
draw proce a lable
page
bat
ber Page proces ohoe
hard aside cpus n re NO
Paging-
(TLg)3 back the the ta o
Llardwave (4o%)
PiTLB table maitainpage
ware paqe thould dala dat a
Qutr Eakemal
bu Page’which po Cenho
bber:-lcache
ohrch ot apratt he
tablu bat aboutabout
ve bloci) frame
ragmenlalron
is ikaati mgings ( ber egid
phygcal
addrio ohich pag the ableat
uted the theu is
loade itd Creakd
table ic proes.
n te mais Cpree). pro ohich at foe-at
P ordu loatd
data Car
uses, fo
to (mánma shudur
tocertid
it
s fe
Ovrtom man and
in in
w .anid c
fatt ’ www.gniindia.org
- 1A1 so p.
acut
Adranlaget
No 76 Cpu So
ned
Hee i he GN
agaigaiansd Dept:GURU
tus a Aioe equetted vtquesked we Name
bist
ib the (Te)
to
to Page
tiroe,
we enthy
fmpsog Pag Ued hare Pa troe act theof NANAK
reerreber have byContains Faculty:
play like
fs
inchuction ohich data in pagepagag in-order INSTITUTIONS
tabe patound data order ButberDOCUMENTATIONCOURSEFILE
cormpared
page qe. a
is for are is Ves to tabe
Contapt,
lI-l00) tolcache
table tten not then bict in ctore
Same
inporant éeut to TECHNICAL
to TL) d Q00 main ace memot
gsan it: there
(T8 o fnstucHons &s Topic:
tapageble. oil TLe)’ timet Year/Sem:
oil page.tbrgunly no, too mumorg CAMPUS(AUTONOMOUS)
he
agio, io hity
be nad uLd vo Te
be nshuchbn cpu benim
TLG checked page tabePaebor
to are is
te har
it ve ()g Fom
roiesy chould ber
ioatesed stored to
0f proae main Sub: AY
Le) paqetable re
io (P) ber maong NAAC
Ye A+
ber ib (TLÔ) Prous main inhudhiras
ha mune
Cpy Deplaumentpage'Yn Drauobaclu-
The
Cpy
addr el ddrces a tte ib
logea bogica)
Ware
cpu he but
ligit
addrces < vegisl
moni Arap wi Costot
page pagebugiga to
tor to troprove
regita
:- ir fe
rofechion addres
oper
not boundà one
aio vedocaa iroplerrelation
hardoare
g
algovihr tound te
eror irtbae + back
draoPe
addr
Yeg n
ct
oth
in mcin eng(TLB)
yes
bae mais
addreas)
physcal use.
and C
main
memo loct chip
lioit îs îe
pag enpenstve.
abtordabe)
adores. bit
memo
GURU NANAK INSTITUTIONS TECHNICAL CAMPUS(AUTONOMOUS)
N
www.gnindia.org
Dept:
COURSE FILE DOCUNMENTATION
Year/Sem: AY:
NAAC
Topic: Sub:
Name of the Faculty:
addres.
4too to dirnd phyical addhea Rom giuen ogicad
Pagbg'
a
b 3
2
2
3 Psame
5
9
Rrae
3
2
12
2
2page
(2
12
22
23 d
2
Frams
3
2
2
Pag 2
rames
a 2
togtcal addreg
8o
3
maus
Cpu
ame
P
PnD Arame vl
Paqe o ob pg! P2
45
page| ob PI P
m aun mem0
P
memos)
’ibib pocoble bris gy ant(2) along wih ()
4 This e calle d
GURU NANAK INSTITUTIONS TECHNICAL CAMPUS(AUTONOMOUS)
GN
NAAC
COURSE FILE DOCUMENTATION
www.gnindia.org Year/Sem: AY:
Dept:
Topic: Sub:
Name of the Faculty:
Demand pagng
he prograg estdu io the Secorda memory nd paoe Qre
Pn
troun
n memong
paqe. moun Aard
disk
mer Seuondary
me paga
the main seuondarg Fmply
spoca.
micing
a
atessin taut
Page Ocurk.
Curmenty
preent inthe the
on plau
to padetaultis
sent Paqe 0bor
Trap
Seondat
an fautt
ocurs pre as memor 3)
d
not calle P3 Pr
Empq man
cessoY
pro
is
not fe
i
(or) pageit
mainmenorg
taull'; Peo
framo
bit
tabla
Page
pagetatoble npage'
thetoading
abtuu
pog meman
a demanded
taut
-tben thas P4 mas
in paqe gmit i
Particulav
then gucaltir here tHardlirsg
(P) Res
the not
when Cpyt in
that is skope
P6
CAMPUS(AUTONOMOUS)At
TECHNICAL atceted
hext.
NAAC
the
accoss to
cache
atat
spatial
Coalty
the
then the
block
ob
Sub: tby
AY:
s G4t
ratio
ncreau
d
oordetoor
nowbe
Loill memory
hiPaqe
isto iitally
COURSE
DOCUMENTATION
FILE agao accested main pa
proceLior
Lendencyt
Year/Sem: tine). a
m
ain
memot fom be
Topic:
and spas) frarme fs oill bloc
to Pag 4ithen
again to (related
(velated d
coor clore
Copiedthere
INSTITUTIONS
NANAK
GURU main
memo sinde
a ( by blotk
si3ez
&,
blocks h it is o4)
manoy rebened =
Referenug-
o localtlg to
accetk block. in t3e
locaityb-
cpakal
0 Cathe os, de block
Faculty:
Same
memot ky
0spatal
locali adjacent (w,coor
o be entire
the
of a temporal memor
Cache ine 0ont chould
for more
k
Name ob
Dept: the
Localiy is tooYd ttoY theo
W.gnindia.org this ’Prou Onte
ine
menort 0 )
mem @ pastcoord
to
the
same
coord
cache (ompard
tb io
d. ued
Dord arìve the
ne
the veenty
here) bat aceess
fe
arived
back are
Uted
ohen
then memory it replaud
Consideved to fe long att
le
noo,
infuture. nowit bebor fs and PRA,
uted.
(LRU)
PRA. derand
pagingocut.
cache houo Uted ocus,
usedtohích
fs d emoved d out)
Hot seberene
3
in rem
Ove sermoe
fsfs
2.jut Paplaumest
Algorihn Poge
veplaument
algorithm
again memorg
Searching
now.
hit
this uted fist tault
locality8- Cache
tull be 3
at
is
t 3 shouldYeMOve Peplaunest în
2
O
opttmal
PRA(fit paqe
OOrdebevenad |
tpu-’(5) Nouw
(pu
fs fsalmost
dont’Temoye
ooYd O
OTermporal
a)ta least FTPO
be ohich Page )Loa
dreplau
ob 212001
3 2 níssbit
>
CAMPUS(AUTONOMOUS)dilonngest
entfon
MAAC 0
H
ralio).
the bring
should
"os'
prouLSOrPaqe
"page
AY:
Sub:
M fe
HH
n
cekses then page memorg).
ratio).(mit
DOCUMENTATI
COURSE
FILE ON 3
0
23 3
pro the then manorg
main
requecding
Year/Sem: use)
2
3 H
Chit o by menoy
utslinq mai n
¢
3o M
JI uo no-of U
memort
man
to
TECHNICALTopic:
2
3
20 604 main
the
i the
ued(tutur
233
át siz. more main
plaument
algorithmg mtmyea new tullio
(The
not fakures tnd in pagt
the
ot
INSTITUTIONS 2 823
2x 8 (or)
aout) Gmited the
bound
ie
cohich
hisg3
Rebena
Examplei lorg chich i
in
tina 3
3 H
) tautmics
Page Pist
it
not
NANAK Faculty:
pagd 12 store
otcann paqetDx
secondag ar&
= io(Fist memor
main page! main
GURU
the
page bit the
pages emory
of the man
Name ) M
Pog -the
Dept:
wwgnindia.org optimalReplaca M
PIfo from the
D M
all
so St
past) +0 tak
Fcfs in and eay
utage
o
page 2 very
g). | D to ratio dibbiult and
ra fe
tontumio und 2 )
bitprdtekion
ratio 3 bit yoo.mic
micc veanty 0
3 2 EIFObit vequuetng
tine 1
3
3 l O o o 3 Eoo’ 2 2
bofo
2 leat 4 2 3 to iHe
- 0 2 = tompared
tt
disk 2 Ùd theo
Butre
bit
the 2 3 &o6
e qlkin
thavd (3
M
igo s-(laplou
ued 01 2 0 3
’12 theckang
20
3
3 33 hac
3
2 speadbatlcConsuu
M
H
4
3 2 2
PIfo, is
le
dthat
rplau
optinal
cringi
ebena 2
+4+
3
2
Page 22 0O
SuppoLeU
00 as
leu both bere
Ru