


























Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!



























EC14-15 Chapter 1.1 (^) Dept. of Comp. Arch., UMA, 2014
[Adapted from Mary Jane Irwin’s slides (PSU) based on Computer Organization and Design, 4th^ Edition , Patterson & Hennessy, © 2009, MK]
EC14-15 Chapter 1.3 (^) Dept. of Comp. Arch., UMA, 2014 Classes of Computers ! Desktop computers
! Servers
! Supercomputers
! Embedded computers (processors)
The Processor Market embedded growth >> desktop growth ! Where else are embedded processors found?
EC14-15 Chapter 1.7 (^) Dept. of Comp. Arch., UMA, 2014 The Processor Market embedded growth >> desktop growth Embedded Processor Characteristics The largest class of computers spanning the widest range of applications and performance ! Often have minimum performance requirements. Example? ! Often have stringent limitations on cost. Example? ! Often have stringent limitations on power consumption. Example? ! Often have low tolerance for failure. Example?
EC14-15 Chapter 1.9 (^) Dept. of Comp. Arch., UMA, 2014 Servers and supercomputers ! Servers and supercomputing market
EC14-15 Chapter 1.13 (^) Dept. of Comp. Arch., UMA, 2014 Below the Program ! System software
Written in high-level language Below the Program, Con’t ! High-level language program (in C) swap (int v[], int k) (int temp; temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; ) ! Assembly language program (for MIPS) swap: sll $2, $5, 2 add $2, $4, $ lw $15, 0($2) lw $16, 4($2) sw $16, 0($2) sw $15, 4($2) jr $ ! Machine (object, binary) code (for MIPS) 000000 00000 00101 0001000010000000 000000 00100 00010 0001000000100000
... C compiler assembler one-to-many one-to-one
EC14-15 Chapter 1.15 (^) Dept. of Comp. Arch., UMA, 2014 Advantages of Higher-Level Languages? ! Higher-level languages ! As a result, very little programming is done today at the assembler level
Under the Covers ! Same components for all kinds of computer
! datapath + control = processor (CPU) ! Input/output includes
EC14-15 Chapter 1.19 (^) Dept. of Comp. Arch., UMA, 2014 Processors for desktops and laptops
http://techguru3d.com/4th-gen-intel-haswell-processors- http://www.techspot.com/photos/article/770-amd-a8-7600-kaveri/ architecture-and-lineup/ Intel Haswell AMD APU Kaveri ! Haxwell (22 nm)
! Kaveri (28 nm)
A Safe Place for Data ! Volatile main memory
! Non-volatile secondary memory
EC14-15 Chapter 1.21 (^) Dept. of Comp. Arch., UMA, 2014 Networks ! Communication and resource sharing ! Local area network (LAN): Ethernet
! Wide area network (WAN): the Internet ! Wireless network: WiFi, Bluetooth Communicating to the Outside World: Cluster Networking This online section describes the networking hardware and soft ware used to connect the nodes of cluster together. As there are whole books and courses just on networking, this section only introduces the main terms and concepts. While our example is networking, the techniques we describe apply to storage controllers and other I/O devices as well. Ethernet has dominated local area networks for decades, so it is not surprising that clusters primarily rely on Ethernet as the cluster interconnect. It became commercially popular at 10 Megabits per second link speed in the 1980s, but today 1 Gigabit per second Ethernet is standard and 10 Gigabit per second is being deployed in datacenters. Figure 6.9.1 shows a network interface card (NIC) for 10 Gigabit Ethernet. Computers offer high-speed links to plug in fast I/O devices like this NIC. While there used to be separate chips to connect the microprocessor to the memory and high-speed I/O devices, thanks to Moore’s Law these functions have been absorbed into the main chip in recent offerings like Intel’s Sandy Bridge. A popular high- speed link today is PCIe , which stands for Peripheral Component Interconnect Express. It is called a link in that the basic building block, called a serial lane, consists of just four wires: two for receiving data and two for transmitting data. This small number contrasts with an earlier version of PCI that consisted of 64
FIGURE 6.9.1 The NetFPGA 10-Gigabit Ethernet card (see http://netfpga.org/), which connects up to four 10-Gigabit/sec Ethernet links. It is an FPGA-based open platform for network research and classroom experimentation. The DMA engine and the four “MAC chips” in Figure 6.9.2 are just portions of the Xilinx Virtex FPGA in the middle of the board. The four PHY chips in Figure 6.9.2 are the four black squares just to the right of the four white rectangles on the left edge of the board, which is where the Ethernet cables are plugged in. NetFPGA 10 Gigabit Ethernet card Abstractions ! Abstraction helps us deal with complexity
! Instruction set architecture (ISA)
! Application binary interface
! Implementation
The BIG Picture
EC14-15 Chapter 1.25 (^) Dept. of Comp. Arch., UMA, 2014 Courtesy, Intel ® 2014: Quad Core Haswell with 1.4B transistors Moore’s Law feature size & die size ! In 1965, Intel’s Gordon Moore predicted that the number of transistors that can be integrated on single chip would double about every two years Technology Scaling Road Map (ITRS) Year 2006 2008 2010 2012 2014 Feature size (nm) 65 45 32 22 14 Intg. Capacity (BT) 4 6 16 32 50 ! Fun facts about 45nm transistors
EC14-15 Chapter 1.27 (^) Dept. of Comp. Arch., UMA, 2014 Another Example of Moore’s Law Impact 16K
DRAM capacity growth over 3 decades But What Happened to Clock Rates and Why? Power&(Was)&* ! Clock rates hit a “power wall”
EC14-15 Chapter 1.31 (^) Dept. of Comp. Arch., UMA, 2014 The Sea Change: multiprocessors
● Since 2002 the rate of improvement in the response time of programs on desktop computers has slowed from a factor of 1.5 per year to less than a factor of 1.2 per year
Product AMD Kaveri Intel Haswell Samsung Exynos Octa Qualcomm Snapdragon Cores per chip
Clock rate ~4 GHz ~3.0 GHz 1.3-1.8 GHz 2.3 GHz Power ~100 W ~15-100W < 10 W < 10 W
The sea change: multiprocessors ! Multicore microprocessors
! Requires explicitly parallel programming
EC14-15 Chapter 1.33 (^) Dept. of Comp. Arch., UMA, 2014 Performance Metrics ! Purchasing perspective
! Our goal is to understand what factors in the architecture contribute to overall system performance and the relative importance (and cost) of these factors Throughput versus Response Time ! Response time (execution time) – the time between the start and the completion of a task
! Throughput (bandwidth) – the total amount of work done in a given unit time
! Will need different performance metrics as well as a different set of applications to benchmark embedded and desktop computers, which are more focused on response time, versus servers, which are more focused on throughput ! How are response time and throughput affected by
Well focus on response time for now…
EC14-15 Chapter 1.37 (^) Dept. of Comp. Arch., UMA, 2014 Relative Performance Example ! If computer A runs a program in 10 seconds and computer B runs the same program in 15 seconds, how much faster is A than B? We know that A is n times faster than B if performanceA execution_timeB -------------------- = --------------------- = n performanceB execution_timeA 15 ------ = 1. 10 The performance ratio is So A is 1.5 times faster than B Measuring Execution Time ! Elapsed time
! Productivity
EC14-15 Chapter 1.39 (^) Dept. of Comp. Arch., UMA, 2014 Measuring Execution Time ! CPU time
! Example: ‘time’ in Unix: 90.7u 12.9s 2:39 65% ! Our goal: user CPU time + system CPU time user CPU time system CPU time Elapsed time (^) CPU utiliz.: (90.7 + 12.9) / (2*60 + 39) I/O and other processes Review: Machine Clock Rate ! Clock rate (clock cycles per second in MHz or GHz) is inverse of clock cycle time (clock period) CC = 1 / CR one clock period 10 nsec clock cycle => 100 MHz clock rate 5 nsec clock cycle => 200 MHz clock rate 2 nsec clock cycle => 500 MHz clock rate 1 nsec (10-9) clock cycle => 1 GHz (10^9 ) clock rate 500 psec clock cycle => 2 GHz clock rate 250 psec clock cycle => 4 GHz clock rate 200 psec clock cycle => 5 GHz clock rate