




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
多核處理器□
Evolvement
of
computer
architecturescalarsequenceoverlap
Fun
parallelMulti
fun
Pipe
linePseudo-vecto
Obvious
vectopm
m
I'-
1Eedgend
Multi
multiprocesprocessor
processing
array
computerMulti-Core第二節(jié)共享存儲器多處理機(jī)系統(tǒng)口
多核處理器系統(tǒng)■
系統(tǒng)中包含一個多核的處理器芯片■
每個處理器核能夠獨(dú)立運(yùn)行程序口
單核多處理器系統(tǒng)■
多個單核的處理器構(gòu)成的系統(tǒng)■
處理器之間的通信延遲時間較長口
多核多處理器系統(tǒng)■
多個多核處理器構(gòu)成的并行系統(tǒng)■
兩個并行處理的層次□
按程序特征MIMD■
SPMD□
代
替SIMD□
按處理機(jī)特征■
同
構(gòu)homogenius■
異構(gòu)heterogenius多處理機(jī)系統(tǒng)的結(jié)構(gòu)分類互連網(wǎng)絡(luò)MCPUCPUCPUMM□
獨(dú)立的指令執(zhí)行和控制單元■獨(dú)立的功能部件■
獨(dú)立的控制器□
完整的指令流水線多核處理器分類□
單核多線程處理器■
單
核CPU
構(gòu)
成□
多核處理器■
多核芯片構(gòu)成□
多核多線程處理器■
每個核都是多線程的DRAMs
DRAMsMemory
Memorycontroller
controllerL2
L2cache
bank
cache
bankGlobal
switchInstruction
Data
Instruction
Data
cache
cache
cache
cacheMultithreaded
Multithreadedcore
coreMemorycontrollerL2cache
bank
VOInstruction|
Datacache
cacheMultithreadedcore·
DRAMs·ArchitectualState
Architectual
StateExecution
Engine
Execution
EngineLocal
APIC
Local
APICSecond
Level
CacheBus
InterfaceMutli-core
Memory
HierarchyLocal
LocalAPIC
APICSecond
Level
CacheBus
InterfaceLocal
LocalAPIC
APICSecond
Level
CacheBus
InterfaceLocalAPICSecond
Level
CacheBus
InterfaceLocalAPICSecond
Level
CacheBus
InterfaceArch.
Arch.
Arch.
Arch.State
State
State
StateExecution
Engine
Execution
EngineArchitectual
State
Architectual
StateExecution
Engine
Execution
EngineSystem
BusSystem
BusSystem
Bus多核處理器的分類CacheCacheCUEUEUCache單核多線程處理器單核單線程處理器多核多線程處理器CUEU多核處理器InterruptCU:CPUstate
+CacheCUCUCachelogicEUEUCUCUCUCU□CU
EU
CU
EU
CU
EU
CU
EUCache多
核
處
理
機(jī)共享存儲器CU
EUCU
EU
CU
EUCache
Cache
Cache單核多處理機(jī)系統(tǒng)共享存儲器互連網(wǎng)絡(luò)CU
EU
CU
EU
CU
EU
CU
EUCache多核多處理機(jī)系統(tǒng)共享存儲器互連網(wǎng)絡(luò)Deeper
Pipelining□
d
pe
atyhet
c
o
pli
rmance
further
is
toa
a
pipeline
twice
as
deep
as
the
original
pipeline
is□
Once
the
deep
pipeline
is
filled,
two
new
instructionsefoneripeepvrralaimpsonweneeOcapable
of
twice
the
peak
execution
rate.are
completed
every
original
cycle.cyc.1234567891011121314Instr.1IF1IF2ID1ID2EX1EX2M1M2WB1WB2Instr.2IF1IF2ID1ID2EX1EX2M1M2WB1WB2Instr.3IF1IF2ID1ID2EX1EX2M1M2WB1WB2Instr.4IF1IF2ID1ID2EX1EX2M1M2WB1WB2Instr.5IF1IF2ID1ID2EX1EX2M1M2WB1WB2cyc.1234567Instr.1IFIDEXMEMWBInstr.2IFIDEXMEMWBInstr.3IFIDEXMEMWBDeeper
Pipeliningshallow
scalar
pipelinedeep
scalar
pipelineDeeper
Pipelining□
However,
in
practice,
doubling
pipeline
depth
does
not
doubler
because
there
are
relatively
more
stall
cycles
that
need
totednceaaermlrootfee□
A
larger
instruction
window
is
needed
to
hide
lengthier
stalls
due
todata
hazards
(for
example,
data
cache
misses
take
more
cycles
toresolve
since
memory
access
time
in
nanoseconds
is
unchanged).□
is
edic
n
l
t(
o
s
b
n
I
ean
a
).EXnchdbrFthtweeecauseebsdtageneedereismorrcedigerrapshicltyranabeetion
paccuratpremormAsuperscalar
processing□
An
alternative
to
deeper
pipelining
is
to
fetch,issue,
and
execute
multiple
instructions
in
paralleleach
cycle,
exceeding
the
scalar
bottleneckexplicitly.□
This
approach
is
called,
appropriately,
superscalarprocessing.□
A
dual-issue
superscalar
processor
doubles
thepeak
execution
rate
with
respect
to
the
originalscalar
pipelinecyc.1234567Instr.1IFIDEXMEMWBInstr.2IFIDEXMEMWBInstr.3IFIDEXMEMWBInstr.4IFIDEXMEMWBInstr.5IFIDEXMEMWBInstr.6IFIDEXMEMWBcyc.1234567Instr.1IFIDEXMEMWBInstr.2IFIDEXMEMWBInstr.3IFIDEXMEMWBsuperscalar
processingscalarsuperscalarHardware
multithreading□
Hardware
multithreading
is
a
means
for
improving
pipeline□
It
enables
the
simultaneous
execution
of
multiple
independentprograms
on
the
same
pipeline.□
Independent
programs
are
an
abundant
source
of
instruction-leve/parallelism,
since
there
are
no
dependences
between
instructionsutilization
when
bottlenecks
prevent
further
speedup
of
single-from
different
threads.□
Hardware
multithreading
improves
pipeline
utilization
by
convertingthread-level
parallelism
to
instruction-level
parallelismthreaded
programs.early
forms
of
hardwaremultithreadinga
instructions
are
fetched
from
a
different
threadeach
cyclePipeline
stage:IFIDEXMEMWBDua/-issueT5T4T3T2T1superscalarpipelineT5T4T3T2T1Two
parallel
instructions
from
Thread
5Pipeline
stage:IFIDEXMEMWBDual-issueT1T4T1T2T1superscalarpipelineT3T1T1T4T5Simultaneous
multithreading□
Simultaneous
multithreading(SMT)
is
even
moreflexible:
a
singlepipeline
stage
may
mix
instructions
from
multiple
threads
during
theTwo
parallel
instructions,
one
from
Thread1
andone
fromThread3same
cycleDynamic
Scheduling□
Dynamic
scheduling
provides
a
means
forindependent
instructions
to
circumvent
previousstalled
instructions
and,
therefore,
execute
out-of-order.a
Out-of-order
execution
allows
useful
work
to
beoverlapped
with
the
load-use
stallsDynamic
Scheduling□
The
key
mechanism
forout-of-orderexecution
is
a
pool
of
instruction
buffersthat
decouples
the
instruction
fetch/decodestages
from
later
execution
stagesThese
instruction
buffers,
collectively
called
thescheduling
window
or
instruction
window,
providea
staging
area
in
which
instructions
wait
fortheir
source
operands
to
become
available.Instruction
fetch
engineInstruction
windowInstruction
executionengineDynamic
Scheduling□
Dynamic
scheduling
adds
another
stage
to
thepipeline
between
decode(ID)
and
execute
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025-2030中國木器涂料樹脂行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略研究報(bào)告
- 2025-2030中國新交通系統(tǒng)行業(yè)發(fā)展現(xiàn)狀及發(fā)展趨勢與投資風(fēng)險研究報(bào)告
- 杭州市保俶塔申花實(shí)驗(yàn)學(xué)校招聘考試真題2024
- 腦出血病人的護(hù)理及健康指導(dǎo)
- 河北高考改革數(shù)學(xué)試卷
- 慢性粒細(xì)胞性白血病健康教育
- 業(yè)務(wù)委托協(xié)議合同范本
- 美容床設(shè)備轉(zhuǎn)讓合同范本
- 贈給女兒的房子合同范本
- 采購營養(yǎng)土廠商合同范本
- GB/T 41426-2022牙科學(xué)一體式手柄牙線
- GB/T 15905-1995硫化橡膠濕熱老化試驗(yàn)方法
- GA/T 1437-2017法庭科學(xué)平面鞋印形象特征檢驗(yàn)技術(shù)規(guī)范
- RISC-V-指令集及簡單實(shí)現(xiàn)課件
- 2022年山西晉勤服務(wù)集團(tuán)有限責(zé)任公司招聘筆試試題及答案解析
- 2022年二級造價工程師(土建建設(shè)工程計(jì)量與計(jì)價實(shí)務(wù))考試題庫高分300題(附答案)(海南省專用)
- Session4饑餓與創(chuàng)傷的代謝反應(yīng):營養(yǎng)需求課件
- vmc五軸系列產(chǎn)品介紹及技術(shù)協(xié)議0656evmc0656e-itnc把刀庫v1
- 電子產(chǎn)品報(bào)價單通用模板
- 禮來公司銷售講座
- 甲苯甲醇烷基化法年產(chǎn)30萬噸對二甲苯車間設(shè)計(jì)分析
評論
0/150
提交評論