SlideShare a Scribd company logo
1 of 21
Download to read offline
Advanced Computer Architecture
(Assignment –II)
Submitted in partial fulfilment of the requirements for the degree of
Master of Technology in Information Technology
Master of Technology in Information Technology
Master of Technology in Information Technology
Master of Technology in Information Technology
by
Vijayananda D Mohire
(Enrolment No.921DMTE0113)
Information Technology Department
Karnataka State Open University
Manasagangotri, Mysore – 570006
Karnataka, India
(2009)
MT-12-II
MT-12-II
CERTIFICATE
CERTIFICATE
CERTIFICATE
CERTIFICATE
This is to certify that the Assignment-II entitled (Advanced Computer
Architecture, subject code: MT12) submitted by Vijayananda D Mohire
having Roll Number 921DMTE0113 for the partial fulfilment of the
requirements of Master of Technology in Information Technology degree
of Karnataka State Open University, Mysore, embodies the bonafide
work done by him under my supervision.
Place: ________________
Place: ________________
Place: ________________
Place: ________________ Signature of the Internal Supervisor
Signature of the Internal Supervisor
Signature of the Internal Supervisor
Signature of the Internal Supervisor
Name
Name
Name
Name
Date: ________________
Date: ________________
Date: ________________
Date: ________________ Designation
Designation
Designation
Designation
MT-12-II
For Evaluation
For Evaluation
For Evaluation
For Evaluation
Question
Question
Question
Question
Number
Number
Number
Number
Maximum Marks
Maximum Marks
Maximum Marks
Maximum Marks Marks
Marks
Marks
Marks
awarded
awarded
awarded
awarded
Comments,
Comments,
Comments,
Comments, if any
if any
if any
if any
1 5
2 5
TOTAL
TOTAL
TOTAL
TOTAL 10
Evaluator’s Name and Signature Date
MT-12-II
Preface
Preface
Preface
Preface
This document has been prepared specially for the assignments of M.Tech – IT I
Semester. This is mainly intended for evaluation of assignment of the academic
M.Tech - IT, I semester. I have made a sincere attempt to gather and study the best
answers to the assignment questions and have attempted the responses to the
questions. I am confident that the evaluator’s will find this submission informative
and evaluate based on the provide content.
For clarity and ease of use there is a Table of contents and Evaluators section to
make easier navigation and recording of the marks. A list of references has been
provided in the last page – Bibliography that provides the source of information both
internal and external. Evaluator’s are welcome to provide the necessary comments
against each response, suitable space has been provided at the end of each
response.
I am grateful to the Infysys academy, Koramangala, Bangalore in making this a big
success. Many thanks for the timely help and attention in making this possible within
specified timeframe. Special thanks to Mr. Vivek and Mr. Prakash for their timely
help and guidance.
Candidate’s Name and Signature Date
MT-12-II
Table of Contents
Table of Contents
Table of Contents
Table of Contents
F
F
F
FOR
OR
OR
OR E
E
E
EVALUATION
VALUATION
VALUATION
VALUATION
P
P
P
PREFACE
REFACE
REFACE
REFACE
Q
Q
Q
QUESTION
UESTION
UESTION
UESTION 1
1
1
1
A
A
A
ANSWER
NSWER
NSWER
NSWER 1
1
1
1
Q
Q
Q
QUESTION
UESTION
UESTION
UESTION 2
2
2
2
A
A
A
ANSWER
NSWER
NSWER
NSWER 2
2
2
2
MT-12-II
Table of Figures
Table of Figures
Table of Figures
Table of Figures
Figure 1
Figure 1
Figure 1
Figure 1 Memory Hierarchy
Figure 2
Figure 2
Figure 2
Figure 2 Levels of Memory (Hyde, 2008)
Figure 3
Figure 3
Figure 3
Figure 3 Computer classifications defined by Flynn (Anonymous, Flynn's_taxonomy, 2009)
Figure 4
Figure 4
Figure 4
Figure 4 Pictorials of Flynn’s Taxonomy (Anonymous, Flynn's_taxonomy, 2009)
Figure 5
Figure 5
Figure 5
Figure 5 Refined Flynn's taxonomy
MT-12-II
MT-12-II
Question 1
Question 1
Question 1
Question 1 What is memory hierarchy? Explain the different levels of memory
hierarchy?
Answer 1
Answer 1
Answer 1
Answer 1
Figure
Figure
Figure
Figure 1
1
1
1 Memory Hierarchy
A ranking of computer memory devices, with devices having the fastest access
time at the top of the hierarchy, and devices with slower access times but larger
capacity and lower cost at lower levels.
We classify memory based on its "distance" from the processor, with distance
MT-12-II
measured by the number of machine cycles required for access. The closer
memory is to the processor, the faster it should be. As memory gets further from
the main processor, we can afford longer access times. Thus, slower technologies
are used for these memories, and faster technologies are used for memories
closer to the CPU. The better the technology, the faster and more expensive the
memory becomes. Thus, faster memories tend to be smaller than slower ones,
due to cost.
Memory hierarchy refers to a CPU-centric latency (delay)—the primary criterion
for designing a placement in storage in a memory hierarchy—that fits the storage
device into the design considerations concerning the operators of the computer. It
is used only incidentally in operations, artifactually. It's primary use is in thinking
about an abstract machines.
The levels of memory in a computer (Hyde, 2008). From fastest to slowest speed,
they are:
1. CPU registers
2. L1 cache
3. L2 cache
4. Main memory
5. Virtual memory
6. Disk
Figure
Figure
Figure
Figure 2
2
2
2 Levels of Memor
At the top level of the mem
The registers provide the
register file is also the sm
eight general purpose reg
impossible to add more
expensive memory locati
other CPU registers in this
the fact that there are a v
quite high (figuring the co
available).
ory (Hyde, 2008)
emory hierarchy are the CPU's general pu
e fastest access to data possible on the 8
mallest memory object in the memory hie
registers available). By virtue of the fact th
re registers to the 80x86, registers are
ations. Note that we can include FPU, MM
his class as well. These additional registers
very limited number of registers and the
cost of the CPU divided by the number of b
MT-12-II
purpose registers.
80x86 CPU. The
ierarchy (with just
t that it is virtually
re also the most
MMX, SIMD, and
ers do not change
e cost per byte is
f bytes of register
MT-12-II
Working our way down, the Level One Cache system is the next highest
performance subsystem in the memory hierarchy. On the 80x86 CPUs, the Level
One Cache is provided on-chip by Intel and cannot be expanded. The size is
usually quite small (typically between 4Kbytes and 32Kbytes), though much larger
than the registers available on the CPU chip. Although the Level One Cache size
is fixed on the CPU and you cannot expand it, the cost per byte of cache memory
is much lower than that of the registers because the cache contains far more
storage than is available in all the combined registers.
The Level Two Cache is present on some CPUs, on other CPUs it is the system
designer's task to incorporate this cache (if it is present at all). For example, most
Pentium II, III, and IV CPUs have a level two cache as part of the CPU package,
but many of Intel's Celeron chips do not1. The Level Two Cache is generally much
larger than the level one cache (e.g., 256 or 512KBytes versus 16 Kilobytes). On
CPUs where Intel includes the Level Two Cache as part of the CPU package, the
cache is not expandable. It is still lower cost than the Level One Cache because
we amortize the cost of the CPU across all the bytes in the Level Two Cache. On
systems where the Level Two Cache is external, many system designers let the
end user select the cache size and upgrade the size. For economic reasons,
external caches are actually more expensive than caches that are part of the CPU
MT-12-II
package, but the cost per bit at the transistor level is still equivalent to the in-
package caches.
Below the Level Two Cache system in the memory hierarchy falls the main
memory subsystem. This is the general-purpose, relatively low-cost memory
found in most computer systems. Typically, this is DRAM or some similar
inexpensive memory technology.
Below main memory is the NUMA category. NUMA, which stands for NonUniform
Memory Access is a bit of a misnomer here. NUMA means that different types of
memory have different access times. Therefore, the term NUMA is fairly
descriptive of the entire memory hierarchy. In Fig.2, however, we'll use the term
NUMA to describe blocks of memory that are electronically similar to main
memory but for one reason or another operate significantly slower than main
memory. A good example is the memory on a video display card. Access to
memory on video display cards is often much slower than access to main
memory. Other peripheral devices that provide a block of shared memory
between the CPU and the peripheral probably have similar access times as this
video card example. Another example of NUMA includes certain slower memory
technologies like Flash Memory that have significant slower access and transfers
times than standard semiconductor RAM. We'll use the term NUMA in this chapter
MT-12-II
to describe these blocks of memory that look like main memory but run at slower
speeds.
Most modern computer systems implement a Virtual Memory scheme that lets
them simulate main memory using storage on a disk drive. While disks are
significantly slower than main memory, the cost per bit is also significantly lower.
Therefore, it is far less expensive (by three orders of magnitude) to keep some
data on magnetic storage rather than in main memory. A Virtual Memory
subsystem is responsible for transparently copying data between the disk and
main memory as needed by a program.
File Storage also uses disk media to store program data. However, it is the
program's responsibility to store and retrieve file data. In many instances, this is a
bit slower than using Virtual Memory, hence the lower position in the memory
hierarchy.
Below File Storage in the memory hierarchy comes Network Storage. At this level
a program is keeping data on a different system that connects the program's
system via a network. With Network Storage you can implement Virtual Memory,
File Storage, and a system known as Distributed Shared Memory (where
processes running on different computer systems share data in a common block
MT-12-II
of memory and communicate changes to that block across the network).
Virtual Memory, File Storage, and Network Storage are examples of so-called on-
line memory subsystems. Memory access via these mechanism is slower than
main memory access, but when a program requests data from one of these
memory devices, the device is ready and able to respond to the request as quickly
as is physically possible. This is not true for the remaining levels in the memory
hierarchy.
The Near-Line and Off-Line Storage subsystems are not immediately ready to
respond to a program's request for data. An Off-Line Storage system keeps its
data in electronic form (usually magnetic or optical) but on media that is not
(necessarily) connected to the computer system while the program that needs the
data is running. Examples of Off-Line Storage include magnetic tapes, disk
cartridges, optical disks, and floppy diskettes. When a program needs data from
an off-line medium, the program must stop and wait for a someone or something
to mount the appropriate media on the computer system. This delay can be quite
long (perhaps the computer operator decided to take a coffee break?). Near-Line
Storage uses the same media as Off-Line Storage, the difference is that the
system holds the media in a special robotic jukebox device that can automatically
mount the desired media when some program requests it. Tapes and removable
MT-12-II
media are among the most inexpensive electronic data storage formats available.
Hence, these media are great for storing large amounts of data for long time
periods.
Hard Copy storage is simply a print-out (in one form or another) of some data. If a
program requests some data and that data is present only in hard copy form,
someone will have to manually enter the data into the computer. Paper (or other
hard copy media) is probably the least expensive form of memory, at least for
certain data types.
Evaluator’s Comments if any:
Question 2
Question 2
Question 2
Question 2 Explain the different Flynn’s Taxonomy of computer architecture
Answer 2
Answer 2
Answer 2
Answer 2
Over the years, several attempts have been made to find a satisfactory way to
categorize computer architectures. Although none of them are perfect, today's
MT-12-II
most widely accepted taxonomy is the one proposed by Michael Flynn in
1972. Flynn's taxonomy considers two factors: the number of instructions and
the number of data streams that flow into the processor. A machine can have
either one or multiple streams of data, and can have either one or multiple
processors working on this data. This gives us four possible combinations:
SISD (single instruction stream, single data stream), SIMD (single instruction
stream, multiple data streams), MISD (multiple instruction streams, single
data stream), and MIMD (multiple instruction streams, multiple data streams).
(Anonymous, Flynn's_taxonomy, 2009)
Single
Single
Single
Single
Instruction
Instruction
Instruction
Instruction
Multiple
Multiple
Multiple
Multiple
Instruction
Instruction
Instruction
Instruction
Single
Single
Single
Single
Data
Data
Data
Data
SISD MISD
Multiple
Multiple
Multiple
Multiple
Data
Data
Data
Data
SIMD MIMD
Figure
Figure
Figure
Figure 3
3
3
3 Computer classifications defined by Flynn (Anonymous,
Flynn's_taxonomy, 2009)
The four classifications defined by Flynn are based upon the number of
concurrent instruction (or control) and data streams available in the
architecture:
MT-12-II
Single Instruction, Single Data stream (SISD)
A sequential computer which exploits no parallelism in either the
instruction or data streams. Examples of SISD architecture are the
traditional uniprocessor machines like a PC or old mainframes.
Single Instruction, Multiple Data streams (SIMD)
A computer which exploits multiple data streams against a single
instruction stream to perform operations which may be naturally
parallelized. For example, an array processor or GPU.
Multiple Instruction, Single Data stream (MISD)
Multiple instructions operate on a single data stream. Uncommon
architecture which is generally used for fault tolerance. Heterogeneous
systems operate on the same data stream and must agree on the
result. Examples include the Space Shuttle flight control computer.
Multiple Instruction, Multiple Data streams (MIMD)
Multiple autonomous processors simultaneously executing different
instructions on different data. Distributed systems are generally
recognized to be MIMD architectures; either exploiting a single shared
memory space or a distributed memory space.
Visually, these four arc
processing unit:
SI
SI
SI
SI
SI
SI
SI
SI
Figure
Figure
Figure
Figure 4
4
4
4 Pictorials of
2009)
At a level above where
characteristic, and tha
driven. The classic
processor activities ar
instructions act on the
opposite. The characte
architectures are shown below where each
SISD
SISD
SISD
SISD MISD
MISD
MISD
MISD
SIMD
IMD
SIMD
IMD MIMD
MIMD
MIMD
MIMD
f Flynn’s Taxonomy (Anonymous, Flynn's_
ere Flynn begins his taxonomy, we need to
hat is whether the architecture is instruction
von Neumann architecture is instruct
are determined by a sequence of program
he data. Data driven, or dataflow, architect
cteristics of the data determine the sequen
MT-12-II
ch "PU" is a
's_taxonomy,
to add one more
ion driven or data
ction driven. All
m code. Program
ctures do just the
ence of processor
MT-12-II
events.
With the addition of dataflow computers and some refinements to the MIMD
classification, we obtain the taxonomy shown below .
Figure
Figure
Figure
Figure 5
5
5
5 Refined Flynn's taxonomy
Evaluator’s Comments if any:
MT-12-II
! "#
$ !#%% & ! " '%& %() * + ",
- .) /" ' "' . . #
$ !#%%& . 0 0 % % & %-12/%2 0$ 0 $ )

More Related Content

Similar to Advanced Computer Arch Assign II

2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)
Ajit Saraf
 
Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...
Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...
Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...
Anurag Deb
 
UNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptx
UNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptxUNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptx
UNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptx
SnehaLatha68
 
Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...
Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...
Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...
LĂŠia de Sousa
 
301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog
Srinivas Naidu
 
Co question 2008
Co question 2008Co question 2008
Co question 2008
SANTOSH RATH
 

Similar to Advanced Computer Arch Assign II (20)

A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...
A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...
A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...
 
A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...
A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...
A Survey of Different Approaches for Overcoming the Processor - Memory Bottle...
 
151 A SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTT...
151 A SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTT...151 A SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTT...
151 A SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTT...
 
A SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTTLENECK
A SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTTLENECKA SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTTLENECK
A SURVEY OF DIFFERENT APPROACHES FOR OVERCOMING THE PROCESSOR-MEMORY BOTTLENECK
 
Tg01
Tg01Tg01
Tg01
 
Memory Management in Trading Platforms
Memory Management in Trading PlatformsMemory Management in Trading Platforms
Memory Management in Trading Platforms
 
2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)
 
Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...
Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...
Virtual Memory In Contemporary Microprocessors And 64-Bit Microprocessors Arc...
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Architecture and implementation issues of multi core processors and caching –...
Architecture and implementation issues of multi core processors and caching –...Architecture and implementation issues of multi core processors and caching –...
Architecture and implementation issues of multi core processors and caching –...
 
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDLIRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
 
UNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptx
UNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptxUNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptx
UNIT 3 Memory Design for SOC.ppUNIT 3 Memory Design for SOC.pptx
 
UNIT 3.docx
UNIT 3.docxUNIT 3.docx
UNIT 3.docx
 
Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...
Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...
Chrome server2 print_http_www_uni_mannheim_de_acm97_papers_soderquist_m_13736...
 
Data cache design itanium 2
Data cache design itanium 2Data cache design itanium 2
Data cache design itanium 2
 
Smart memories
Smart memoriesSmart memories
Smart memories
 
301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog
 
Co question 2008
Co question 2008Co question 2008
Co question 2008
 
Major project report
Major project reportMajor project report
Major project report
 
Embedded Linux
Embedded LinuxEmbedded Linux
Embedded Linux
 

More from Joshua Gorinson

More from Joshua Gorinson (20)

Academic Essays Buy. Buy Essay O. Online assignment writing service.
Academic Essays Buy. Buy Essay O. Online assignment writing service.Academic Essays Buy. Buy Essay O. Online assignment writing service.
Academic Essays Buy. Buy Essay O. Online assignment writing service.
 
Order Paper Writing Help 247 - Dissertation Page Numberi
Order Paper Writing Help 247 - Dissertation Page NumberiOrder Paper Writing Help 247 - Dissertation Page Numberi
Order Paper Writing Help 247 - Dissertation Page Numberi
 
Persuasive Essay Technical Research Paper Example
Persuasive Essay Technical Research Paper ExamplePersuasive Essay Technical Research Paper Example
Persuasive Essay Technical Research Paper Example
 
006 Essay Example Cover Letter For Application Exa
006 Essay Example Cover Letter For Application Exa006 Essay Example Cover Letter For Application Exa
006 Essay Example Cover Letter For Application Exa
 
Famous Quotes For Essay Writing. Online assignment writing service.
Famous Quotes For Essay Writing. Online assignment writing service.Famous Quotes For Essay Writing. Online assignment writing service.
Famous Quotes For Essay Writing. Online assignment writing service.
 
10 Daring Persuasive Argumentative Essay Topi
10 Daring Persuasive Argumentative Essay Topi10 Daring Persuasive Argumentative Essay Topi
10 Daring Persuasive Argumentative Essay Topi
 
How To Write An Essay - How To Write An Easy Essay Inst
How To Write An Essay - How To Write An Easy Essay InstHow To Write An Essay - How To Write An Easy Essay Inst
How To Write An Essay - How To Write An Easy Essay Inst
 
Example Of Research Gap Examples Of Research Gaps Id
Example Of Research Gap  Examples Of Research Gaps IdExample Of Research Gap  Examples Of Research Gaps Id
Example Of Research Gap Examples Of Research Gaps Id
 
Best Essay Writing Service 2016. Online assignment writing service.
Best Essay Writing Service 2016. Online assignment writing service.Best Essay Writing Service 2016. Online assignment writing service.
Best Essay Writing Service 2016. Online assignment writing service.
 
Papers Writing Help Reliable Papers. Online assignment writing service.
Papers Writing Help Reliable Papers. Online assignment writing service.Papers Writing Help Reliable Papers. Online assignment writing service.
Papers Writing Help Reliable Papers. Online assignment writing service.
 
Narrative Essay How To Write A Good Analysis Essay
Narrative Essay How To Write A Good Analysis EssayNarrative Essay How To Write A Good Analysis Essay
Narrative Essay How To Write A Good Analysis Essay
 
What Makes A Great Leader Essay - Resume Themplat
What Makes A Great Leader Essay - Resume ThemplatWhat Makes A Great Leader Essay - Resume Themplat
What Makes A Great Leader Essay - Resume Themplat
 
Argumentative Paragraph Southasianmonitor.Net
Argumentative Paragraph  Southasianmonitor.NetArgumentative Paragraph  Southasianmonitor.Net
Argumentative Paragraph Southasianmonitor.Net
 
Behavior Research Methods Template - Springer
Behavior Research Methods Template - SpringerBehavior Research Methods Template - Springer
Behavior Research Methods Template - Springer
 
Get Paid To Write 2020 - Writing Jobs Online - YouTube
Get Paid To Write 2020 - Writing Jobs Online - YouTubeGet Paid To Write 2020 - Writing Jobs Online - YouTube
Get Paid To Write 2020 - Writing Jobs Online - YouTube
 
A Poster With Words That Say More Syonoms For Excitted
A Poster With Words That Say More Syonoms For ExcittedA Poster With Words That Say More Syonoms For Excitted
A Poster With Words That Say More Syonoms For Excitted
 
Essay Writing Service Research Paper - NeedgbS Diary
Essay Writing Service Research Paper - NeedgbS DiaryEssay Writing Service Research Paper - NeedgbS Diary
Essay Writing Service Research Paper - NeedgbS Diary
 
Education In Britain Telegraph. Online assignment writing service.
Education In Britain  Telegraph. Online assignment writing service.Education In Britain  Telegraph. Online assignment writing service.
Education In Britain Telegraph. Online assignment writing service.
 
Artikel Essay Gambaran. Online assignment writing service.
Artikel Essay  Gambaran. Online assignment writing service.Artikel Essay  Gambaran. Online assignment writing service.
Artikel Essay Gambaran. Online assignment writing service.
 
Parchment Writing Paper Background. Online assignment writing service.
Parchment Writing Paper Background. Online assignment writing service.Parchment Writing Paper Background. Online assignment writing service.
Parchment Writing Paper Background. Online assignment writing service.
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Recently uploaded (20)

CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Advanced Computer Arch Assign II

  • 1. Advanced Computer Architecture (Assignment –II) Submitted in partial fulfilment of the requirements for the degree of Master of Technology in Information Technology Master of Technology in Information Technology Master of Technology in Information Technology Master of Technology in Information Technology by Vijayananda D Mohire (Enrolment No.921DMTE0113) Information Technology Department Karnataka State Open University Manasagangotri, Mysore – 570006 Karnataka, India (2009)
  • 3. MT-12-II CERTIFICATE CERTIFICATE CERTIFICATE CERTIFICATE This is to certify that the Assignment-II entitled (Advanced Computer Architecture, subject code: MT12) submitted by Vijayananda D Mohire having Roll Number 921DMTE0113 for the partial fulfilment of the requirements of Master of Technology in Information Technology degree of Karnataka State Open University, Mysore, embodies the bonafide work done by him under my supervision. Place: ________________ Place: ________________ Place: ________________ Place: ________________ Signature of the Internal Supervisor Signature of the Internal Supervisor Signature of the Internal Supervisor Signature of the Internal Supervisor Name Name Name Name Date: ________________ Date: ________________ Date: ________________ Date: ________________ Designation Designation Designation Designation
  • 4. MT-12-II For Evaluation For Evaluation For Evaluation For Evaluation Question Question Question Question Number Number Number Number Maximum Marks Maximum Marks Maximum Marks Maximum Marks Marks Marks Marks Marks awarded awarded awarded awarded Comments, Comments, Comments, Comments, if any if any if any if any 1 5 2 5 TOTAL TOTAL TOTAL TOTAL 10 Evaluator’s Name and Signature Date
  • 5. MT-12-II Preface Preface Preface Preface This document has been prepared specially for the assignments of M.Tech – IT I Semester. This is mainly intended for evaluation of assignment of the academic M.Tech - IT, I semester. I have made a sincere attempt to gather and study the best answers to the assignment questions and have attempted the responses to the questions. I am confident that the evaluator’s will find this submission informative and evaluate based on the provide content. For clarity and ease of use there is a Table of contents and Evaluators section to make easier navigation and recording of the marks. A list of references has been provided in the last page – Bibliography that provides the source of information both internal and external. Evaluator’s are welcome to provide the necessary comments against each response, suitable space has been provided at the end of each response. I am grateful to the Infysys academy, Koramangala, Bangalore in making this a big success. Many thanks for the timely help and attention in making this possible within specified timeframe. Special thanks to Mr. Vivek and Mr. Prakash for their timely help and guidance. Candidate’s Name and Signature Date
  • 6. MT-12-II Table of Contents Table of Contents Table of Contents Table of Contents F F F FOR OR OR OR E E E EVALUATION VALUATION VALUATION VALUATION P P P PREFACE REFACE REFACE REFACE Q Q Q QUESTION UESTION UESTION UESTION 1 1 1 1 A A A ANSWER NSWER NSWER NSWER 1 1 1 1 Q Q Q QUESTION UESTION UESTION UESTION 2 2 2 2 A A A ANSWER NSWER NSWER NSWER 2 2 2 2
  • 7. MT-12-II Table of Figures Table of Figures Table of Figures Table of Figures Figure 1 Figure 1 Figure 1 Figure 1 Memory Hierarchy Figure 2 Figure 2 Figure 2 Figure 2 Levels of Memory (Hyde, 2008) Figure 3 Figure 3 Figure 3 Figure 3 Computer classifications defined by Flynn (Anonymous, Flynn's_taxonomy, 2009) Figure 4 Figure 4 Figure 4 Figure 4 Pictorials of Flynn’s Taxonomy (Anonymous, Flynn's_taxonomy, 2009) Figure 5 Figure 5 Figure 5 Figure 5 Refined Flynn's taxonomy
  • 9. MT-12-II Question 1 Question 1 Question 1 Question 1 What is memory hierarchy? Explain the different levels of memory hierarchy? Answer 1 Answer 1 Answer 1 Answer 1 Figure Figure Figure Figure 1 1 1 1 Memory Hierarchy A ranking of computer memory devices, with devices having the fastest access time at the top of the hierarchy, and devices with slower access times but larger capacity and lower cost at lower levels. We classify memory based on its "distance" from the processor, with distance
  • 10. MT-12-II measured by the number of machine cycles required for access. The closer memory is to the processor, the faster it should be. As memory gets further from the main processor, we can afford longer access times. Thus, slower technologies are used for these memories, and faster technologies are used for memories closer to the CPU. The better the technology, the faster and more expensive the memory becomes. Thus, faster memories tend to be smaller than slower ones, due to cost. Memory hierarchy refers to a CPU-centric latency (delay)—the primary criterion for designing a placement in storage in a memory hierarchy—that fits the storage device into the design considerations concerning the operators of the computer. It is used only incidentally in operations, artifactually. It's primary use is in thinking about an abstract machines. The levels of memory in a computer (Hyde, 2008). From fastest to slowest speed, they are: 1. CPU registers 2. L1 cache 3. L2 cache 4. Main memory 5. Virtual memory
  • 11. 6. Disk Figure Figure Figure Figure 2 2 2 2 Levels of Memor At the top level of the mem The registers provide the register file is also the sm eight general purpose reg impossible to add more expensive memory locati other CPU registers in this the fact that there are a v quite high (figuring the co available). ory (Hyde, 2008) emory hierarchy are the CPU's general pu e fastest access to data possible on the 8 mallest memory object in the memory hie registers available). By virtue of the fact th re registers to the 80x86, registers are ations. Note that we can include FPU, MM his class as well. These additional registers very limited number of registers and the cost of the CPU divided by the number of b MT-12-II purpose registers. 80x86 CPU. The ierarchy (with just t that it is virtually re also the most MMX, SIMD, and ers do not change e cost per byte is f bytes of register
  • 12. MT-12-II Working our way down, the Level One Cache system is the next highest performance subsystem in the memory hierarchy. On the 80x86 CPUs, the Level One Cache is provided on-chip by Intel and cannot be expanded. The size is usually quite small (typically between 4Kbytes and 32Kbytes), though much larger than the registers available on the CPU chip. Although the Level One Cache size is fixed on the CPU and you cannot expand it, the cost per byte of cache memory is much lower than that of the registers because the cache contains far more storage than is available in all the combined registers. The Level Two Cache is present on some CPUs, on other CPUs it is the system designer's task to incorporate this cache (if it is present at all). For example, most Pentium II, III, and IV CPUs have a level two cache as part of the CPU package, but many of Intel's Celeron chips do not1. The Level Two Cache is generally much larger than the level one cache (e.g., 256 or 512KBytes versus 16 Kilobytes). On CPUs where Intel includes the Level Two Cache as part of the CPU package, the cache is not expandable. It is still lower cost than the Level One Cache because we amortize the cost of the CPU across all the bytes in the Level Two Cache. On systems where the Level Two Cache is external, many system designers let the end user select the cache size and upgrade the size. For economic reasons, external caches are actually more expensive than caches that are part of the CPU
  • 13. MT-12-II package, but the cost per bit at the transistor level is still equivalent to the in- package caches. Below the Level Two Cache system in the memory hierarchy falls the main memory subsystem. This is the general-purpose, relatively low-cost memory found in most computer systems. Typically, this is DRAM or some similar inexpensive memory technology. Below main memory is the NUMA category. NUMA, which stands for NonUniform Memory Access is a bit of a misnomer here. NUMA means that different types of memory have different access times. Therefore, the term NUMA is fairly descriptive of the entire memory hierarchy. In Fig.2, however, we'll use the term NUMA to describe blocks of memory that are electronically similar to main memory but for one reason or another operate significantly slower than main memory. A good example is the memory on a video display card. Access to memory on video display cards is often much slower than access to main memory. Other peripheral devices that provide a block of shared memory between the CPU and the peripheral probably have similar access times as this video card example. Another example of NUMA includes certain slower memory technologies like Flash Memory that have significant slower access and transfers times than standard semiconductor RAM. We'll use the term NUMA in this chapter
  • 14. MT-12-II to describe these blocks of memory that look like main memory but run at slower speeds. Most modern computer systems implement a Virtual Memory scheme that lets them simulate main memory using storage on a disk drive. While disks are significantly slower than main memory, the cost per bit is also significantly lower. Therefore, it is far less expensive (by three orders of magnitude) to keep some data on magnetic storage rather than in main memory. A Virtual Memory subsystem is responsible for transparently copying data between the disk and main memory as needed by a program. File Storage also uses disk media to store program data. However, it is the program's responsibility to store and retrieve file data. In many instances, this is a bit slower than using Virtual Memory, hence the lower position in the memory hierarchy. Below File Storage in the memory hierarchy comes Network Storage. At this level a program is keeping data on a different system that connects the program's system via a network. With Network Storage you can implement Virtual Memory, File Storage, and a system known as Distributed Shared Memory (where processes running on different computer systems share data in a common block
  • 15. MT-12-II of memory and communicate changes to that block across the network). Virtual Memory, File Storage, and Network Storage are examples of so-called on- line memory subsystems. Memory access via these mechanism is slower than main memory access, but when a program requests data from one of these memory devices, the device is ready and able to respond to the request as quickly as is physically possible. This is not true for the remaining levels in the memory hierarchy. The Near-Line and Off-Line Storage subsystems are not immediately ready to respond to a program's request for data. An Off-Line Storage system keeps its data in electronic form (usually magnetic or optical) but on media that is not (necessarily) connected to the computer system while the program that needs the data is running. Examples of Off-Line Storage include magnetic tapes, disk cartridges, optical disks, and floppy diskettes. When a program needs data from an off-line medium, the program must stop and wait for a someone or something to mount the appropriate media on the computer system. This delay can be quite long (perhaps the computer operator decided to take a coffee break?). Near-Line Storage uses the same media as Off-Line Storage, the difference is that the system holds the media in a special robotic jukebox device that can automatically mount the desired media when some program requests it. Tapes and removable
  • 16. MT-12-II media are among the most inexpensive electronic data storage formats available. Hence, these media are great for storing large amounts of data for long time periods. Hard Copy storage is simply a print-out (in one form or another) of some data. If a program requests some data and that data is present only in hard copy form, someone will have to manually enter the data into the computer. Paper (or other hard copy media) is probably the least expensive form of memory, at least for certain data types. Evaluator’s Comments if any: Question 2 Question 2 Question 2 Question 2 Explain the different Flynn’s Taxonomy of computer architecture Answer 2 Answer 2 Answer 2 Answer 2 Over the years, several attempts have been made to find a satisfactory way to categorize computer architectures. Although none of them are perfect, today's
  • 17. MT-12-II most widely accepted taxonomy is the one proposed by Michael Flynn in 1972. Flynn's taxonomy considers two factors: the number of instructions and the number of data streams that flow into the processor. A machine can have either one or multiple streams of data, and can have either one or multiple processors working on this data. This gives us four possible combinations: SISD (single instruction stream, single data stream), SIMD (single instruction stream, multiple data streams), MISD (multiple instruction streams, single data stream), and MIMD (multiple instruction streams, multiple data streams). (Anonymous, Flynn's_taxonomy, 2009) Single Single Single Single Instruction Instruction Instruction Instruction Multiple Multiple Multiple Multiple Instruction Instruction Instruction Instruction Single Single Single Single Data Data Data Data SISD MISD Multiple Multiple Multiple Multiple Data Data Data Data SIMD MIMD Figure Figure Figure Figure 3 3 3 3 Computer classifications defined by Flynn (Anonymous, Flynn's_taxonomy, 2009) The four classifications defined by Flynn are based upon the number of concurrent instruction (or control) and data streams available in the architecture:
  • 18. MT-12-II Single Instruction, Single Data stream (SISD) A sequential computer which exploits no parallelism in either the instruction or data streams. Examples of SISD architecture are the traditional uniprocessor machines like a PC or old mainframes. Single Instruction, Multiple Data streams (SIMD) A computer which exploits multiple data streams against a single instruction stream to perform operations which may be naturally parallelized. For example, an array processor or GPU. Multiple Instruction, Single Data stream (MISD) Multiple instructions operate on a single data stream. Uncommon architecture which is generally used for fault tolerance. Heterogeneous systems operate on the same data stream and must agree on the result. Examples include the Space Shuttle flight control computer. Multiple Instruction, Multiple Data streams (MIMD) Multiple autonomous processors simultaneously executing different instructions on different data. Distributed systems are generally recognized to be MIMD architectures; either exploiting a single shared memory space or a distributed memory space.
  • 19. Visually, these four arc processing unit: SI SI SI SI SI SI SI SI Figure Figure Figure Figure 4 4 4 4 Pictorials of 2009) At a level above where characteristic, and tha driven. The classic processor activities ar instructions act on the opposite. The characte architectures are shown below where each SISD SISD SISD SISD MISD MISD MISD MISD SIMD IMD SIMD IMD MIMD MIMD MIMD MIMD f Flynn’s Taxonomy (Anonymous, Flynn's_ ere Flynn begins his taxonomy, we need to hat is whether the architecture is instruction von Neumann architecture is instruct are determined by a sequence of program he data. Data driven, or dataflow, architect cteristics of the data determine the sequen MT-12-II ch "PU" is a 's_taxonomy, to add one more ion driven or data ction driven. All m code. Program ctures do just the ence of processor
  • 20. MT-12-II events. With the addition of dataflow computers and some refinements to the MIMD classification, we obtain the taxonomy shown below . Figure Figure Figure Figure 5 5 5 5 Refined Flynn's taxonomy Evaluator’s Comments if any:
  • 21. MT-12-II ! "# $ !#%% & ! " '%& %() * + ", - .) /" ' "' . . # $ !#%%& . 0 0 % % & %-12/%2 0$ 0 $ )