Lecture 16 Technology ,Performance,Powerwall
Lecture 16 Technology ,Performance,Powerwall
Vacuum Tubes:
➢ The first electronic computer, ENIAC (Electronic Numerical Integrator and computer)
➢ It was designed and constructed by Eckert and Mauchly.
➢ It was made up of more than 18000 vacuum tubes and 1500 relays.
➢ It was able to perform nearly 5000 additions or subtractions per second.
➢ It was a decimal rather than a binary machine.
➢ Weight-30 tones, area -15000 sq.ft , power consumption -140kW.
➢ Data memory consists of 20 accumulators, each capable of storing a ten digit decimal
number.
Transistors:
Integrated circuit:
ULSI:
Performance:
1. Response time:
➢ How long it takes to do a task.
➢ It is also called execution time.
➢ It includes disk access, memory access, I/O activities.
2. Throughput :
➢ Total amount of work done in a given time.
➢ It is also called bandwidth.
1
Executiontime B
ti
m
e
A
performance A 1 1
= /
performance B Executiontime A Executiontime B
Problem:
If a computer A runs a program in 10 second & B runs the same problem in 15 seconds how
much faster is A than B?
15
= 1.5
10
A is therefore 1.5 times as fast as B
performance A
= 1.5
performance B
performance A
= performance B
1.5
Measuring performance:
CPU time:
➢ It is also called CPU execution time
➢ The actual time the cpu spends for computing a specific task.
➢ CPU time is divided into user cpu time and system cpu time.
Performance metrics:
1. Clock cycle : A clock cycle, or simply a "cycle," is a single electronic pulse of a CPU.
During each cycle, a CPU can perform a basic operation such as fetching an instruction,
accessing memory, or writing data.
2. Clock cycle time :
𝐶𝑃𝑈 𝑒𝑥𝑒𝑐𝑢𝑡𝑖𝑜𝑛 𝑡𝑖𝑚𝑒 𝑓𝑜𝑟 𝑎 𝑝𝑟𝑜𝑔𝑟𝑎𝑚 = 𝑐𝑝𝑢 𝑐𝑙𝑜𝑐𝑘 𝑐𝑦𝑐𝑙𝑒 𝑓𝑜𝑟 𝑎 𝑝𝑟𝑜𝑔𝑟𝑎𝑚 𝑋 𝑐𝑙𝑜𝑐𝑘 𝑐𝑦𝑐𝑙𝑒 𝑡𝑖𝑚𝑒
Alternatively because clock rate and clock cycle time are inverses:
3. Clock rate:
Instruction performance:
CPU clock cycles =instructions for a program * Average clock cycles per instructions.
Average number of clock cycles per instructions for a program or program fragment
Since the clock rate is the inverse of the clock cycle time.
➢ It states that integrated circuit resources (transistors) double every 18–24 months.
➢ The computer designer must predict the rapid change in IC capacity & design it
accordingly.
➢ Moore’s Law graph to represent designing for rapid change.
➢ Make the common case fast to enhance performance better than optimizing the rare
case.
➢ For this idea the common case has to be carefully identified and experimented.
➢ Example: increasing speed level for a sports car is very easier than to a minivan
Hierarchy of Memories :
➢ Memory speed and size often plays a vital role in increasing the performance of the system,
but due to the high cost of memory, the size of problem that can be solved is limited.
➢ To address this demand, hierarchy of memory has to be used.
➢ Memory to be faster, smallest and most expensive memory per bit at the top of the hierarchy
and the slowest, largest and cheapest memory bit at the bottom of the hierarchy.
size speed
1. CPU Performance:
• Clock Speed: The clock speed of the CPU is a crucial factor. It represents the number of
instructions a CPU can execute per second. Higher clock speeds generally result in better
performance.
• Number of Cores and Threads: Multi-core processors can handle multiple tasks
simultaneously, and hyper-threading allows each core to execute multiple tasks. This is particularly
beneficial for multitasking and parallel processing.
2. Memory (RAM) Performance:
• Capacity: The amount of RAM affects the system's ability to handle multiple applications
and large datasets. Inadequate RAM can lead to slow performance, especially when running
memory-intensive applications.
• Speed: The speed of the RAM (measured in MHz) influences how quickly data can be read
from and written to memory. Faster RAM can improve overall system responsiveness.
3. Storage Performance:
• Type of Storage (HDD vs. SSD): Solid State Drives (SSDs) are significantly faster than Hard
Disk Drives (HDDs) because they have no moving parts. Upgrading to an SSD can dramatically
improve system responsiveness and reduce loading times.
• Read/Write Speeds: The read and write speeds of a storage device impact how quickly
data can be retrieved or saved. Faster speeds result in quicker application loading and improved
overall system performance.
4. Motherboard and Chipset:
• The motherboard and chipset play a role in connecting and coordinating communication
between different components. The quality and capabilities of the motherboard can affect the
overall system performance.
5. Graphics Processing Unit (GPU):
• In systems with dedicated GPUs, the graphics card's performance can impact tasks related
to graphics rendering, gaming, and certain computational workloads. Some applications leverage
GPU acceleration for improved performance.
6. Cooling and Thermal Management:
• Overheating can lead to performance throttling, where the CPU reduces its speed to
prevent damage. Efficient cooling solutions are essential for maintaining consistent performance
over extended periods.
7. Software Optimization:
• Well-optimized software can significantly impact system performance. Applications that
make efficient use of hardware resources can enhance overall responsiveness.
8. Operating System Efficiency:
• The efficiency of the operating system in managing resources, handling background
processes, and memory management can affect the overall system performance.
9. Peripheral Devices:
• The performance of input/output devices (e.g., keyboards, mice, and external drives) can
impact user experience, especially in tasks that involve a lot of data transfer.
POWER WALL
Pentium 4 made a dramatic jump in clock Rate and power but less in performance .Due to
thermal problem.
Core 2 has simpler pipeline with lower clock rates and multiple processors per chip.
IC ( Integrated circuit) are called CMOS ( Complementary metal oxide semi conductor)
For CMOS the Primary source of energy consumption is called dynamic energy.