The document provides an overview of computer architecture including definitions, trends, and principles of design. It defines architecture as how parts are assembled to achieve some goal, and discusses the architecture of chips, networks, and systems. It outlines classes of computers including desktops, servers, and embedded systems. The document also covers trends in technology such as Moore's law, trends in cost including learning curves and yield, and principles of measuring and comparing performance including benchmarks and metrics like execution time.
RISC - Reduced Instruction Set ComputingTushar Swami
A detailed presentation about what is RISC and some of the basic differences between RISC and CISC Computers.
Also enlisting some of the major applications of RISC in the field of Technology.
RISC (reduced instruction set computer)LokmanArman
RISC
Reduced Instruction Set Computer
What Is RISC?
History Of RISC.
Characteristics Of RISC.
Five Design Principles Of RISC.
What Actually RISC Does?
In Real Life Uses Of RISC In Computer Architecture.
Computer Architecture & Organization.
RISC - Reduced Instruction Set ComputingTushar Swami
A detailed presentation about what is RISC and some of the basic differences between RISC and CISC Computers.
Also enlisting some of the major applications of RISC in the field of Technology.
RISC (reduced instruction set computer)LokmanArman
RISC
Reduced Instruction Set Computer
What Is RISC?
History Of RISC.
Characteristics Of RISC.
Five Design Principles Of RISC.
What Actually RISC Does?
In Real Life Uses Of RISC In Computer Architecture.
Computer Architecture & Organization.
The presentation given at MSBTE sponsored content updating program on 'PC Maintenance and Troubleshooting' for Diploma Engineering teachers of Maharashtra. Venue: Government Polytechnic, Nashik Date: 17/01/2011 Session-2: Computer Organization and Architecture.
Very long instruction word or VLIW refers to a processor architecture designed to take advantage of instruction level parallelism
This type of processor architecture is intended to allow higher performance without the inherent complexity of some other approaches.
About Cache Memory
working of cache memory
levels of cache memory
mapping techniques for cache memory
1. direct mapping techniques
2. Fully associative mapping techniques
3. set associative mapping techniques
Cache memroy organization
cache coherency
every thing in detail
Pipelining is an speed up technique where multiple instructions are overlapped in execution on a processor. It is an important topic in Computer Architecture.
This slide try to relate the problem with real life scenario for easily understanding the concept and show the major inner mechanism.
Hypothetical machine and instruction flow scenariosMunaam Munawar
Hypothetical Machine.
Components of hypothetical machine.
Example of hypothetical machine.
Instruction Flow Scenarios.
Data flow fetch cycle.
Data flow indirect cycle.
Data flow interrupt cycle.
Instruction cycle state diagram.
The presentation given at MSBTE sponsored content updating program on 'PC Maintenance and Troubleshooting' for Diploma Engineering teachers of Maharashtra. Venue: Government Polytechnic, Nashik Date: 17/01/2011 Session-2: Computer Organization and Architecture.
Very long instruction word or VLIW refers to a processor architecture designed to take advantage of instruction level parallelism
This type of processor architecture is intended to allow higher performance without the inherent complexity of some other approaches.
About Cache Memory
working of cache memory
levels of cache memory
mapping techniques for cache memory
1. direct mapping techniques
2. Fully associative mapping techniques
3. set associative mapping techniques
Cache memroy organization
cache coherency
every thing in detail
Pipelining is an speed up technique where multiple instructions are overlapped in execution on a processor. It is an important topic in Computer Architecture.
This slide try to relate the problem with real life scenario for easily understanding the concept and show the major inner mechanism.
Hypothetical machine and instruction flow scenariosMunaam Munawar
Hypothetical Machine.
Components of hypothetical machine.
Example of hypothetical machine.
Instruction Flow Scenarios.
Data flow fetch cycle.
Data flow indirect cycle.
Data flow interrupt cycle.
Instruction cycle state diagram.
Computer Architecture – An IntroductionDilum Bandara
Overview on high-level design of internal components of a computer. Cover step-by-step execution of a program through ALU while accessing & updating registers
Business value of business models
Requirements for software development
Requirements provide a description of what a proposed software application should do. Without detailed requirements, application development projects fail. Business models capture this detail in a way that is understandable to both the business users and the software developers. Business users do not need to understand how the system will be created; they need to understand how it will support their need. Business models are a better form of requirements for end users.
What is PL/SQL
Procedural Language – SQL
An extension to SQL with design features of programming languages (procedural and object oriented)
PL/SQL and Java are both supported as internal host languages within Oracle products.
Shift and Rotate Instructions
Shift and Rotate Applications
Multiplication and Division Instructions
Extended Addition and Subtraction
ASCII and Packed Decimal Arithmetic
What is a business model?
A business model is a simple representation of the complex reality of a particular organization.
Business models are useful for understanding how a business is organized, who interacts with whom, what goals and strategies are being pursued, what work the business performs, and how it performs that work.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
Automobile Management System Project Report.pdfKamal Acharya
The proposed project is developed to manage the automobile in the automobile dealer company. The main module in this project is login, automobile management, customer management, sales, complaints and reports. The first module is the login. The automobile showroom owner should login to the project for usage. The username and password are verified and if it is correct, next form opens. If the username and password are not correct, it shows the error message.
When a customer search for a automobile, if the automobile is available, they will be taken to a page that shows the details of the automobile including automobile name, automobile ID, quantity, price etc. “Automobile Management System” is useful for maintaining automobiles, customers effectively and hence helps for establishing good relation between customer and automobile organization. It contains various customized modules for effectively maintaining automobiles and stock information accurately and safely.
When the automobile is sold to the customer, stock will be reduced automatically. When a new purchase is made, stock will be increased automatically. While selecting automobiles for sale, the proposed software will automatically check for total number of available stock of that particular item, if the total stock of that particular item is less than 5, software will notify the user to purchase the particular item.
Also when the user tries to sale items which are not in stock, the system will prompt the user that the stock is not enough. Customers of this system can search for a automobile; can purchase a automobile easily by selecting fast. On the other hand the stock of automobiles can be maintained perfectly by the automobile shop manager overcoming the drawbacks of existing system.
Vaccine management system project report documentation..pdfKamal Acharya
The Division of Vaccine and Immunization is facing increasing difficulty monitoring vaccines and other commodities distribution once they have been distributed from the national stores. With the introduction of new vaccines, more challenges have been anticipated with this additions posing serious threat to the already over strained vaccine supply chain system in Kenya.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
Maintaining high-quality standards in the production of TMT bars is crucial for ensuring structural integrity in construction. Addressing common defects through careful monitoring, standardized processes, and advanced technology can significantly improve the quality of TMT bars. Continuous training and adherence to quality control measures will also play a pivotal role in minimizing these defects.
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
Presented at NUS: Fuzzing and Software Security Summer School 2024
This keynote talks about the democratization of fuzzing at scale, highlighting the collaboration between open source communities, academia, and industry to advance the field of fuzzing. It delves into the history of fuzzing, the development of scalable fuzzing platforms, and the empowerment of community-driven research. The talk will further discuss recent advancements leveraging AI/ML and offer insights into the future evolution of the fuzzing landscape.
2. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
3. WHAT IS ARCHITECTURE?
• Original sense:
– Taking a range of building materials, putting together in desirable ways to achieve a
building suited to its purpose
• In Computer Science:
– Similar: how parts are put together to achieve some overall goal
– Examples: the architecture of a chip, of the Internet, of an enterprise database
system, an email system, a cable TV distribution system
Adapted from David Clark’s, What is “Architecture”?
4. WHY COMPUTER ARCHITECTURE?
Exploit advances in technology
Make things Faster, Smaller, Cheaper, …
Which enables new applications
Shrek 20 years ago?
Make new things possible
Accurate one-month weather forecasts? Cure for cancer? Life-like virtual reality?
The advancement of computer architecture is vital
for the advancement of all other areas of
computing!
5. MOORE’S LAW (1965)
• Transistors per inch square
• Twice as many after ~1.5-2 years
• Related trends
• Processor performance
Twice as fast after ~18 months
• Memory capacity
Twice as much in <2 years
6. GROWTH IN PROCESSOR PERFORMANCE
1
10
100
1000
10000
1978 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2006
Performance(vs.VAX-11/780)
25%/year
52%/year
20%/year
• VAX : 25%/year 1978 to 1986
• RISC + x86: 52%/year 1986 to 2002
• RISC + x86: 20%/year 2002 to present
From Hennessy and Patterson, Computer
Architecture: A Quantitative Approach, 4th
edition, October, 2006
7. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
8. CHANGING FACE OF COMPUTING
In the 1960s mainframes roamed the planet
Very expensive, operators oversaw operations
Applications: business data processing,
large scale scientific computing
In the 1970s, minicomputers emerged
Less expensive, time sharing
In the 1990s, Internet and WWW, handheld devices (PDA),
high-performance consumer electronics for video games
have emerged
Dramatic changes have led to
3 different computing markets
Servers, Desktop computing, Embedded Computers
9. DEPENDS ON THE CLASS OF PROCESSOR
Feature Desktop Server Embedded
Price of
system (USD)
$500-$5K $5K - $5M $10 - $100K
(ex. high-end
network routers)
Price of CPU
(per processor)
$50 - $500 $200 - $10K $0.01 - $100
Critical design
issues
Price-
performance,
graphics
performance
Throughput,
availability,
scalability
Price, power,
application-
specific
performance
10. DESKTOP SYSTEMS
• Examples
– Intel Core 2 Duo
– AMD Opteron
• Applications: everything (general purpose)
– Office, Internet, Multi-media, Video Games…
• Goals
– performance, price/performance
– power affects cost, size
11. SERVERS
Examples
IBM Power
Sun Niagara (T1)
Intel Xeon
Applications
infrastructure: file server, email server, …
business: web, e-commerce, databases
Goals
Throughput (transactions/second)
Availability (reliability, dependability, fault tolerance …)
Cost not a major issue
13. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
14. TASK OF COMPUTER DESIGNER
“Determine what attributes are important for a new machine; then
design a machine to maximize performance while staying within cost,
power, and availability constraints.”
• Aspects of this task
• Instruction set design
• Functional organization
• Logic design and implementation
(IC design, packaging, power, cooling...)
15. WHAT IS COMPUTER ARCHITECTURE?
• Instruction Set Architecture
• the computer visible to the assembly language programmer or
compiler writer (registers, data types, instruction set, instruction
formats, addressing modes)
• Organization
• high level aspects of computer’s design such as the memory system, the
bus structure, and the internal CPU (data path + control) design
• Hardware
• detailed logic design, interconnection and packing technology, external
connections
Computer Architecture covers all three aspects of computer
design
16. INSTRUCTION SET ARCHITECTURE:
CRITICAL INTERFACE
Properties of a good abstraction
Lasts through many generations (portability)
Used in many different ways (generality)
Provides convenient functionality to higher levels
Permits an efficient implementation at lower levels
instruction set
software
hardware
17. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
18. TECHNOLOGY TRENDS
Integrated circuit technology – 55% /year
Transistor density – 35% per year
Die size – 10-20% per year
Semiconductor DRAM
Density – 40-60% per year (4x in 3-4 years)
Cycle time – 33% in 10 years
Bandwidth – 66% in 10 years
Magnetic disk technology
Density – 100% per year
Access time – 33% in 10 years
Network technology (depends on switches and
transmission technology)
10Mb-100Mb (10years)
Bandwidth – doubles every year (for USA)
20. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
21. WHY DO YOU CARE ABOUT PRICES?
• Target market, target prices place a limit on the cost of my processor
– price = what I sell the part for
– cost = what it costs me
• Design decisions affect the cost (and price)
– Ex. adding more cache may improve performance, but increase cost
• Price-performance is often what we’re trying to balance
So what determines
price/cost?
22. COST, PRICE, AND THEIR TRENDS
Price – what you sell a good for
Cost – what you spent to produce it
Understanding cost
Learning curve principle – manufacturing costs
decrease over time (even without major improvements
in implementation technology)
Best measured by change in yield – the percentage of
manufactured devices that survives the testing procedure
Volume (number of products manufactured)
decreases the time needed to get down the learning curve
decreases cost since it increases purchasing and
manufacturing efficiency
Commodities – products sold by multiple vendors in
large volumes which are essentially identical
Competition among suppliers lower cost
25. COST OF AN INTEGRATED CIRCUIT
• CPU (die) size greatly affects cost of all systems (desktop/server/embedded)
– Current CPUs 1-2 cm2
– Embedded much smaller
• cost and footprint really matters in cell phone or iPod
Silicon Wafer
Die
27. YIELD (2)
52 die, 81.25% yield
42.25 working parts / wafer
17 die, 25.0% yield
4.25 working parts / wafer
Assuming $250 per wafer:
$5.92 per die
$58.82 per die
28. COST OF AN INTEGRATED CIRCUIT
Cost of integrated circuit =
(Cost of die + cost of testing die + cost of packaging and final test)
final test yield
29. COST/YIELD EQUATIONS (APPROXIMATIONS)
Cost of Die =
Cost of wafer
Dies per wafer × Die yield
Dies per wafer = p × (Wafer diameter / 2)2 p × Wafer diameter
Die area sqrt(2 × Die area)
Die yield = Wafer yield × (1 +
Defects per unit area × Die area
a )
-a
Number of
completely
bad wafers
Typical: 0.4 defects
per cm2 in 90nm, but
improves with time
Parameter related to
complexity of manufacturing,
typical a = 0.4
30. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
31. DEPENDABILITY: SOME DEFINITIONS
• Computer system dependability is the quality of delivered service
• The service delivered by a system is its observed actual behavior
• Each module has an ideal specified behavior, where a service
specification is an agreed description of the expected behavior
• A failure occurs when the actual behavior deviated from the
specified behavior
• The failure occurred because of an error
• The cause of an error is a fault
32. DEPENDABILITY: MEASURES
• Service accomplishment vs. service interruption
(transitions: failures vs. restorations)
• Module reliability: a measure of the continuous service
accomplishment
• A measure of reliability: MTTF – Mean Time To Failure
(1/[rate of failure]) reported in [failure/1billion hours of operation)
• MTTR – Mean time to repair (a measure for service interruption)
• MTBF – Mean time between failures (MTTF+MTTR)
• Module availability – a measure of the service accomplishment; =
MTTF/(MTTF+MTTR)
33. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
34. COST-PERFORMANCE
Purchasing perspective: from a collection of
machines, choose one which has
best performance?
least cost?
best performance/cost?
Computer designer perspective:
faced with design options, select one which has
best performance improvement?
least cost?
best performance/cost?
Both require: basis for comparison and
metric for evaluation
35. TWO “NOTIONS” OF PERFORMANCE
Which computer has better performance?
User: one which runs a program in less time
Computer centre manager:
one which completes more jobs in a given time
Users are interested in reducing
Response time or Execution time
the time between the start and
the completion of an event
Managers are interested in increasing
Throughput or Bandwidth
total amount of work done in a given time
36. DEFINITION OF PERFORMANCE
We are primarily concerned with Response Time
Performance [things/sec]
“X is n times faster than Y”
As faster means both increased performance and
decreased execution time, to reduce confusion
will use “improve performance” or
“improve execution time”
)(_
1
)(
xtimeExecution
xePerformanc
)(
)(
)(_
)(_
yePerformanc
xePerformanc
xtimeExecution
ytimeExecution
n
37. EXECUTION TIME AND ITS COMPONENTS
Wall-clock time, response time, elapsed time
the latency to complete a task, including disk accesses,
memory accesses, input/output activities,
operating system overhead,...
CPU time
the time the CPU is computing, excluding I/O or
running other programs with multiprogramming
often further divided into user and system CPU times
User CPU time
the CPU time spent in the program
System CPU time
the CPU time spent in the operating system
38. CPU EXECUTION TIME
• Instruction count (IC) = Number of instructions executed
• Clock cycles per instruction (CPI)
timecycleClockprogramaforcyclesclockCPUtimeCPU
rateClock
programaforcyclesclockCPU
CPUtime
IC
programaforcyclesclockCPU
CPI
CPI - one way to compare two machines with same instruction set,
since Instruction Count would be the same
39. CPU EXECUTION TIME (CONT’D)
timecycleClockCPIICtimeCPU
rateClock
CPIIC
timeCPU
IC CPI Clock rate
Program X
Compiler X (X)
ISA X X
Organisation X X
Technology X
Program
Seconds
cycleClock
Seconds
nInstructio
cyclesClock
Program
nsInstructio
timeCPU
40. HOW TO CALCULATE CPI
• First calculate CPI for each individual instruction (add, sub, and,
etc.): CPIi
• Next calculate frequency of each individual instr.: Freqi = ICi/IC
• Finally multiply these two for each instruction and add them up
to get final CPI
2.2
18%
14%
45%
23%
% Time
0.4220%Bran.
0.3310%Store
1.0520%Load
0.5150%ALU
Prod
.
CPIiFreqiOp
i
n
i
i
CPI
IC
IC
CPI
1
41. CHOOSING PROGRAMS TO EVALUATE PER.
• Ideally run typical programs with typical input before
purchase, or before even build machine
– Engineer uses compiler, spreadsheet
– Author uses word processor, drawing program, compression
software
• Workload – mixture of programs and OS commands that
users run on a machine
• Few can do this
– Don’t have access to machine to “benchmark” before purchase
– Don’t know workload in future
42. BENCHMARKS
• Different types of benchmarks
– Real programs (Ex. MSWord, Excel, Photoshop,...)
– Kernels - small pieces from real programs (Linpack,...)
– Toy Benchmarks - short, easy to type and run
(Sieve of Erathosthenes, Quicksort, Puzzle,...)
– Synthetic benchmarks - code that matches frequency
of key instructions and operations to real programs
(Whetstone, Dhrystone)
• Need industry standards so that different
processors can be fairly compared
• Companies exist that create these benchmarks:
“typical” code used to evaluate systems
43. BENCHMARK SUITES
• SPEC - Standard Performance Evaluation Corporation
(www.spec.org)
– originally focusing on CPU performance
SPEC89|92|95, SPEC CPU2000 (11 Int + 13 FP)
– graphics benchmarks: SPECviewperf, SPECapc
– server benchmark: SPECSFS, SPECWEB
• PC benchmarks (Winbench 99, Business Winstone 99,
High-end Winstone 99, CC Winstone 99)
(www.zdnet.com/etestinglabs/filters/benchmarks)
• Transaction processing benchmarks (www.tpc.org)
• Embedded benchmarks (www.eembc.org)
44. COMPARING AND SUMMARISING PER.
• An Example
• What we can learn from these statements?
• We know nothing about
relative performance of computers A, B, C!
• One approach to summarise relative performance:
use total execution times of programs
Program Com. A Com. B Com. C
P1 (sec) 1 10 20
P2 (sec) 1000 100 20
Total (sec) 1001 110 40
– A is 20 times faster than C for
program P1
– C is 50 times faster than A for
program P2
– B is 2 times faster than C for
program P1
– C is 5 times faster than B for
program P2
45. COMPARING AND SUM. PER. (CONT’D)
• Arithmetic mean (AM) or weighted AM to track time
n
i
iTime
n 0
1
n
i
ii Timew
0
Timei – execution time for ith program
wi – frequency of that program in workload
46. OUTLINE
• Introduction
• Classes of Computers
• Computer Architecture
• Trends in Technology
• Trends in Cost
• Dependability
• Measuring, Reporting and Summarizing Performance
• Quantitative Principles of Computer Design
47. QUANTITATIVE PRINCIPLES OF DESIGN
• Where to spend time making improvements?
Make the Common Case Fast
– Most important principle of computer design:
Spend your time on improvements where those
improvements will do the most good
– Example
• Instruction A represents 5% of execution
• Instruction B represents 20% of execution
• Even if you can drive the time for A to 0, the CPU will only
be 5% faster
• Key questions
– What the frequent case is?
– How much performance can be improved by making
that case faster?
48. AMDAHL’S LAW
• Suppose that we make an enhancement to a machine that
will improve its performance; Speedup is ratio:
• Amdahl’s Law states that the performance
improvement that can be gained by a particular
enhancement is limited by the amount of time that
enhancement can be used
tenhancemenusingtaskentireforExTime
tenhancemenwithouttaskentireforExTime
Speedup
tenhancemenwithouttaskentireforePerformanc
tenhancemenusingtaskentireforePerformanc
Speedup
49. COMPUTING SPEEDUP
• Fraction enhanced = fraction of execution time in the original machine that can be
converted to take advantage of enhancement (E.g., 10/30)
• Speedup enhanced = how much faster the enhanced code will run (E.g., 10/2=5)
Execution time of enhanced program will be sum of old execution time of the
unenhanced part of program and new execution time of the enhanced part of
program:
enhanced
enhanced
unenhancednew
Speedup
ExTime
ExTimeExTime
20 10 20 2
50. COMPUTING SPEEDUP (CONT’D)
• Enhanced part of program is Fraction enhanced,
so times are:
• Factor out Time old and divide by Speedup enhanced:
• Overall speedup is ratio of Time old to Time new:
enhancedoldunenhanced FractionExTimeExTime - 1
enhancedoldenhanced FractionExTimeExTime
-
enhanced
enhanced
enhancedoldnew
Speedup
Fraction
FractionExTimeExTime 1
enhanced
enhanced
enhanced
Speedup
Fraction
Fraction
Speedup
-
1
1
51. AN EXAMPLE
• Enhancement runs 10 times faster and it affects 40% of the execution time
• Fractionenhanced = 0.40
• Speedupenhanced = 10
• Speedupoverall = ?
561
640
1
10
40
401
1
.
..
.
-
Speedup