
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































Fall 2023
CPU and Memory
CPU cores have to communicate with each other through channels and this consumes some of the extra speed.
§ It is measured in megahertz (MHz) or gigahertz (gHz) and corresponds with how many instruction cycles the CPU can deal with in a second. § A 2 gHz CPU performs two billion cycles a second. A faster CPU uses more energy and creates more heat. § A computer will normally have a maximum clock speed set by default, but it is possible to change this speed in the computer BIOS. § Some people increase a CPU clock speed to try to make their computer run faster - this is called overclocking.
the CPU is likely to reuse. § The CPU control unit automatically checks cache for instructions before requesting data from RAM. § Transfers to and from cache take less time than transfers to and from RAM. § The more cache there is, the more data can be stored closer to the CPU.
Cache is graded as Level 1 (L1), Level 2 (L2) and Level 3 (L3): § L1 is usually part of the CPU chip itself and is both the smallest and the fastest to access. Its size is often restricted to between 8 KB and 64 KB. § L2 and L3 caches are bigger than L1. They are extra caches built between the CPU and the RAM. Sometimes L2 is built into the CPU with L1. L2 and L3 caches take slightly longer to access than L1. § There is more space for RAM, which is usually larger and less expensive. § Each CPU core has its own L1 cache, but may share L2 and L caches.
§ Instructions - RISC has fewer instructions than CISC. § To do complex tasks, RISC CPUs must combine simple operations from their reduced instruction set. § Physical size - in order to handle all those instructions CISC CPUs are larger and require more silicon to make. § Speed - RISC CPUs run at a lower clock speed than CISC CPUs. They can perform simpler tasks more quickly than CISC, but more intensive tasks will be better on a CISC CPU.
§ Energy consumption - because CISC CPUs are larger, they use more electricity. § RISC CPUs can go into 'sleep mode' when not actively processing a program. § Design: § smartphones and tablets combine their processing architecture into a system on a chip (SOC). § CISC CPUs are usually built into a system which has a heat sink and fan to cool them down. Smartphones or tablets do not have space for heat sinks or fans. § Cost - RISC CPUs use less power and are cheaper to make.
8 - 19 Limitations of CISC Architecture § Complex instructions are infrequently used by programmers and compilers § Memory references, loads and stores are slow § Procedure and function calls are a major bottleneck (delay traffic)
8 - 20 VLIW (very long instruction word) Architecture
§ 4 32-bit atoms (atom = instruction) § Parallel processing of 4 instructions