Académique Documents
Professionnel Documents
Culture Documents
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
SMT Processor:
both threads can run
concurrently
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
Fish Machines
Dual-core Intel Xeon
processors
Each core is hyperthreaded
Private L1 caches
Shared L2 caches
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
10
Private vs Shared
Caches?
Advantages/disadvantages?
Advantages of private:
They are closer to core, so faster access
Reduces contention
Advantages of shared:
Threads on different cores can share the
same cache data
More cache space available if a single (or a
few) high-performance thread runs on the
system
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
11
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
12
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
13
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
14
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
15
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
16
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
17
Performance Issues
This is a general problem with
multiprocessors, not limited just to multicore
There exist many solution algorithms,
coherence protocols, etc.
simple solutions:
Invalidation-based protocol with snooping
Protocol
Update Protocol
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
18
Snooping:
All cores continuously snoop (monitor) the
bus connecting the cores.
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
19
Invalidation Protocol
Core 2 reads x. Cache misses, and loads the new copy
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
20
Update Protocol
Core 1 writes x=21660:
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
21
22
Synchronization Issues
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
23
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
24
25
26
Interconnection Networks
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
27
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
28
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
29
Buses
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
30
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
31
Inter-Core Bus
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
32
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
33
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
34
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
35
IFETCE/ME/CSE/B.V.R.Raju/Iyear/Isem/CP7103/MCA/Unit-3/PPt/Ver1.0
36