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

Notes - Computer System Architecture

Basics of Computer Architecture

Uploaded by

Kashif Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Notes - Computer System Architecture

Basics of Computer Architecture

Uploaded by

Kashif Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

NOTES

COMPUTER
SYSTEM
ARCHITECTURE
(optee Systey Acchitectue
the vaious peut otte

deicy

ALU Bs

Cants
Ut Meneg

Mchitet
Tshet Set
Anctitct Aachtteetm
CisA) (hsA)
Adav
Mov R2 035
ADD A,R2
STORE x R.
ionpte Aechitctu
ed
Vun neumann Achit Non -on Neumahh Ach
(AgA Paincetun Andirteety
Mocli fued
Aite
Aichitet
peiph

Contt Data
nstu
e
mein

(ntny ista
mpce Achi tut
inshatin sheam, Sing dat shea )
Mnety
S1MD
SMISD
M M

Painymemoy BaSically -DRM. (Hee stoape


Cca cle (cst fastet' vektrle
Haud ds k
Cachewemy

Main

(Fipftup)
(SRAm )
ain memey

Wemey
tpenstsCost, wttrspat
Loen fest neney chips ma ke slocu bi
3ystew
’ Cow l e ae coe t CPU.
AccosTime T

MI

feT h

cpu lookfstn Catee L and Ls) the niajn mehug

uteu A

S22
2 ho inesjn set C3 2
b

in cahe
hound
3-01 tor L.
L2, epend
htati- ne to dalie a [iein the calh to e pucssn
indues_tue to dete mine whe e th the is În
fe t l cache.

Iye'ad tine

Mispanalat data qcces


Cachu muss
tpicaly Su-2

Lt’ tcyee.Gnd nisate oY.


2
missaat o ( Main memoy)

2-16 yce
Altenate
0. * o.98 (lD+i) +

Gn s1de L ache hitticgw


pealty
O.03 X00 c4ee
X mss aate Mis panelt
Misse
Lnstn
husttn
s t u y all miis ate i 27.
da t

Base cpi (withideal cache pet sne )

fHiss cycles pee instt


0.04 |44,

Spud . 4u /s.yy =63} f cw


meguey steu

hat aij idal cPI wy


what b h e i p e the da tapsth So
wduced

hit t u
SLet fous oh
on s miss Ate

L 2 bluck
e l cache Heorje S e Smalle thsy Se
Coe o Coe 3

|- Cqh

L2 Uhbie
Cache |L2-unitet
Cahe

L3 Mted Cede
(share hy a coes) 30-40

Main Memey

fRealy Sash and (s steud Seaafey


y odCan sfoed anyuh
Reatty’ Gnoip wods into biocles.
classic Cqche Afan ss 2 2, = 32 &
& CC 2S6 by tts

AXBKS

bloe
V1block
b (oc e

Mum

Selead?
byde
MIPS ’ il(on instuutsh
cashe mppy

Fly
qssoe1atu assoc/atiue

main Wens
tw B
Lo o
B7 Bi

J6 w s .

4ßlude s1
(4 wa)

o-129 2
Cace Puysical Add.
maps
3 2 2
Bloch Block Block

disaduantye- prock
Plac, i othe
Fily asvusthue appuy 4S5(s he

N
2

cttst
hee we ae nt fii y cne, sit s hut

Set etass ckitiu Msppig


main mag
Caieoy seto
2

2
GSOaahhe

QSU44te S

ho-in cahe.
2 -2 2'26
34u2 |2
pets: 4 set7
Citegizaty bang
on t instuha

Com n instwcthon Set -Reduced instucthm set Gowgta


Cnputen
instauto s w-y instwcta

puwstam Conta.
ewil 'Ake Sohee dattwhy
’ Cost is Hifh
addhsig
+Hampulatam duet innáuagyi Houdaned Contvnit
Miwpagamn Conhl
MiSP, ARHA SARL

MVLT 2,3.3 HOV RA, 33


NOV RB, 22

toe RA 3 stow

cPu suh that ih onea pefoumane is incLad

pipelied paoces. tntetate

Input
Si
henaly RISC
Pipine 5 stege

Stngo S3

T kt (-)

hustutos

ne (tvD,(nsht),

Speed up
(Tim)

Total Bo |2 XS
& A 4-stege pipelig hay stg dly
haue deloy Tns eh
AssumM Canstnt dok aah
at the ttal
(OU0 this pipane wiM
will be

S S3
S,
160

Glitk ferat

|<S19S hs l6S.S ls

Q, Osded a non -ppl puucs


hth cuck Aate a 2.s3h
Sáne puce
bit
duu intenat pBpeine duley fhe chek Speed is edue
t 2Gh4. Assume tat the no stall n a pipe Cine.
Ie. spcdup acheined in pipeined pucesn 4
Speudvp
2 4X 2.5
Hazuds in pigcing
Hs ney d7icatt to nake cPU:l, qnd hcse dikic .
Data Hagand NA CAD) t dependAy
NAW (oD) oUHpt
mujtpu
ceylndany
wes ce

when we
C3
othe
0nstevetey du to and

Pead te uute (RAw) pwsi

Flush
Stuetual Hagad nstutn s
Guhen tue nmtiple AL StTT
Solotsy Pesome o dupicat

stl at
Dat hagd
RAW Sul
Sul h atecty
t tstal Domais
wRAW Date aharad.

WARf"

ti's
in Consutanly in tuu dot
tus is wy seTt whi c-n be escOe n Atujant

Aooinwet

WA

ane

CeU entenane evelusthoy

and haAwae impmnttat.


handaa ofeaton peihamein
CPU coct cyeu
CPI-sdas pa instwctin)
instuet
all nstatm

Cre tastwt
tnshcto hstuetoy Operant st
Fetu ecods jatteh.
Nent instut
Tejomone 3ftal eecihon ti shed shonfee.

Shesdup Perteman
efomane Sxewthy -tnu)
Ckeeutem tinee
Gne B Txewtem tinue A.
A is n hns fagfe tea
howto cmpat B.
fafomane
clo cde ate.
Ctet*/ustt
Stwnds Jnshut Cgules condy
paugim Tustuafies

CPU cto
-bnstethoy
Coht
y

2 5
Coceate Mh, ’

I SA
(ns tuty
Set A te )
2.S
200
B
CPle 3.0

Aenewton fu
Speetup Pfumancuß
32 32/.
6.095
shusttn Tipes h tjpes cíases instetio
eheewtea On CPU
Ci: Count ay instcfim ytye

BA

3x 2

ctouke yeles( to 2.

F
Cr
totad enute
Tusthueha cant

CPT
t acho ftotyt e eeut

So.
S
3 63
Banch
22 167. = o4/2
CPI

teluate kafoamsnu.
OAtual taet wotlond Full applicatiys thatu On te
touset ma
-baseg Bendamam Pageans fnat
kullpauam Oue typrauy taagtt
Smal'ten beadhsnane ptiat

Nany millens 1nstwehens euct


pev Send
AIPS Ratiy Tnsfuct antacotim fue K(o)
TiniexO

nbem aunth IPS Ahy As shun abu


aLcOunt tu CoUnt instuefs euted
highe HIPS CARS may not mesn

twith diterent ingtutig set


ynde twhat
condrieys Can t e MIPs be used to
Cempau etmane dib cpus

C Sae 1SA is vsed


9 The ssme Compla is sed.
instwutou set
Tnstefiom
A
clas
2

G Compie. psdvs the ouad


tallbnoin, eacutkd smstuetionCount
A
Comp1leaI 1

Comp1lsn 2

6
Clock 4ate
Cp7 xI$

Foy Csmpita
bcp, = (SX1+ iK+ 1X 3)) (s4 1+1) - %.43.
2
20,0 MJPs.
|+428
z0.1 s

Fr compw?

HjPS, Bu.0 MPPS.

hee Cue Cas SeL that CompleA 2 is bete whle in


eu ae Fay taten aceleate
aa ssDhnhgncemt
lawAmdahi'
wthtpeuftmane
antmtst theeneuthig
Ruhanenet wiht te
eneethen
hancamet the
buthat tesk entirpetomRuceay
s1A (e enhsncament USi
fhe seedep
task eutne Porfoman
aß ce
fm petmance
ain Te Avmdahl's
Desisn Gomput Pnapls CawQAntse
fnsttms
te fuit CPL) focmesf
point ftaatSiplst MELoa
’ Pesk
pnam.
es. beet diblwmeate om
SlComau to tehetis
Cuthiy Sre
tim cpua point Roatig No-
paopeatlm
n Ppont foathy ons mil
poot to
tpiea
ta ivision
mhpkatim,
ach¡n, ithm, ada peratms
’ pomte}oatiy
Secona) opeaton
en poitn
applicd aneOne (egment enhan hebafoe
nhgncament itipu ew s 2x*mdiy
mu toAmdahl'
thnu enthm Cu_in Sheedup
22 CPÍ Old
A|enate
etho
137 CAlnets
3
2 2
(-E)#F%
Speadup law 's daAm
2
6.SS
Sul
enhane.
2to s intwctim Load +Hue
18y.
03 U7. Sto
3
2.2 CP|: Load
S
23) Su ALU
CP(C)
ctthut
Speedup
(E)
that the Sxeutnmtie
SXeutioy Ffexhn-e) + Shecthen tuith
S
FL= S).

Speedup
(l- o.2- 0.S -o. l)

(
Rewwse Mulhple Snhancemt Amdahls luw a
A medatl' (as sumes that
ttaction en ae t aijisl
tact
Ceer

Speedep

l- LEi) Sisi)

((-o.
G-SS + 2 + 2-4 3

You might also like