UPGRADING and REPAIRING Pcs

Total Page:16

File Type:pdf, Size:1020Kb

UPGRADING and REPAIRING Pcs UPGRADING AND REPAIRING PCs, 20th Edition Scott Mueller Que 800 East 96th Street Indianapolis, Indiana 46240 Dual Independent Bus Architecture hS Contents HT Technology 66 Multicore Technology 67 Introduction 1 Processor Manufacturing 68 Processor 72 Book Objectives 1 Re-Marking PGA 72 The 20th Edition DVD-ROM 2 Chip Packaging Contact and My Website: informit.com/upgrading 2 Single Edge Single Edge Processor 73 A Personal Note 2 Packaging Processor Socket and Slot Types 74 1 Development of the PC 5 Socket 478 76 Socket LGA775 77 Computer History: Before Personal Socket LGA1156 78 Computers 5 Socket LGA1366 79 Timeline 5 Socket LGA1155 80 Electronic Computers 10 Socket 939 and 940 80 Modern Computers 11 Socket AM2/AM2+/AM3/AM3+ 81 From Tubes to Transistors 11 Socket F (1207FX) 83 Integrated Circuits 13 CPU Operating Voltages 83 History of the PC 13 Math Coprocessors {Floating-Point Units) Hi Birth of the Personal Computer 13 Processor Bugs and Steppings 84 The IBM Personal Computer 15 Processor Code Names 85 The PC Industry 30 Years Later 16 PI (086) Processors 85 2 PC Components, Features, and P2 (286) Processors 86 System Design 19 P3 (386) Processors 87 P4 (486) Processors 88 What Is a PC? 19 P5 (586) Processors 90 Who Controls PC Software? 20 AMD-K5 92 Who Controls PC Hardware? 23 Intel P6 (686) Processors 92 White-Box 25 Systems Pentium Pro Processors 93 PC Guides 26 Design Pentium II Processors 93 27 System Types Pentium III 95 28 System Components Celeron 97 Intel Pentium 4 Processors 97 3 Processor and Types Pentium 4 Extreme Edition 100 Specifications 31 Intel Pentium D and Pentium Extreme- Microprocessor History 31 Edition 102 The First Microprocessor 31 Intel Core Processors 104 PC Processor Evolution 34 Intel Core 2 Family 104 16-Bit to 64-Bit Architecture Evolution Intel (Nehalem) Core i Processors 10(t 36 AMD K6 Processors 110 Processor Specifications 37 NexGenNx586 110 Data I/O Bus 42 AMD-K6 Series 110 Address Bus 43 AMD K7 Processors 111 Internal Registers (Internal Data Bus) 44 AMD Athlon 1 11 Processor Modes 45 AMD Duron 113 Processor Benchmarks 49 AMD Athlon XP 113 Comparing Processor Performance 49 Athlon MP 114 Cache Memory 54 AMD K8 Processors 115 Processor Features 60 AMD Athlon 64 and 64 FX 115 System Management Mode (SMM) 60 AMDSempron 118 Superscalar Execution 61 AMD Athlon X2, 64 X2, and 64 FX 11" MMX Technology 62 Dynamic Execution 64 AMD K10 Processors (Phenom, Phenom II, ATI Chipsets 203 Athlon II, Athlon X2, Sempron) 120 VIA Chipsets 204 AMD Fusion Processors 122 NVIDIA Chipsets for Intel Processors 204 Processor Upgrades 122 Chipsets for AMD Processors 204 Overclocking 124 AMD Athlon Chipsets 205 Quartz Crystals 124 AMD Athlon 64 Chipsets 206 Modern PC Clocks 126 AMD 8000 (8151) Chipset 206 Overclocking Tips 128 AMD (Formerly ATI) Chipsets for Athlon Unlocking Cores 129 64, Sempron, Phenom 207 Bus Speeds and Multipliers 130 Third-Party Chipsets for AMD Processor Cooling 132 Processors 213 Heatsinks 133 VIA Chipsets 213 Liquid Cooling 138 SiS Chipsets 213 Thermally Advantaged Chassis 138 NVIDIA Chipsets 213 Processor Troubleshooting Techniques 141 Super I/O Chips 214 Motherboard Connectors 214 4 Motherboards and Buses 143 System Bus Types, Functions, and Motherboard Form Factors 143 Features 223 229 Obsolete Form Factors 144 The Processor Bus (FSB) ATX and Other Modern Form Factors 155 Types of I/O Buses 229 Processor Sockets/Slots 167 The ISA Bus 230 Chipsets 169 The Micro Channel Bus 230 Chipset Evolution 169 The EISA Bus 230 Intel Chipsets 171 Local Buses (VESA, PCI, PCI Express, Intel Chipset Model Numbers 172 AGP) 231 Intel Integrated Graphics System Resources 238 Architecture 173 Interrupts 238 AMD Integrated Graphics DMA Channels 243 Architecture 173 I/O Port Addresses 243 Traditional North/South Bridge Resolving Resource Conflicts 246 Architecture 174 PnP 247 Hub Architecture 175 Motherboard Selection Criteria (Knowing Third-Party North-South Bridge What to Look For) 249 Connections 177 Chipset Documentation 250 HyperTransport 178 5 BIOS 251 Intel's Early 386/486 Chipsets 178 Fifth-Generation (P5 Pentium Class) BIOS Basics 251 Chipsets 179 Motherboard ROM BIOS 255 Sixth-Generation (P6 Pentium Pro/II/HI Class) ROM Hardware 256 Chipsets 181 ROM Shadowing 257 Seventh/Eighth-Generation (Pentium 4/D, ROM Chip Types 258 Core 2, and Core i) Chipsets 185 ROM BIOS Manufacturers 262 Intel 915 Family 192 BIOS Hardware/Software 264 Intel 92SX Family 193 Upgrading the BIOS 265 Intel 945 Express Family 193 Where to Get Your BIOS Update 266 Intel 955X and 975X Family 194 Determining Your BIOS Version 266 Intel 96x Series 194 Checking the BIOS Date 266 Intel 3x and 4x Series Chipsets 195 Backing Up Your BIOS 267 Intel 5x Series Chipsets 198 Backing Up Your BIOS Setup (CMOS RAM) Intel 6x Series Chipsets 201 Settings 267 Third-Party Chipsets for Intel Processors 203 Upgrading a Flash BIOS 268 SiS Chipsets 203 Motherboard CMOS RAM Addresses 276 ULi Electronics Chipsets 203 Year 2000 BIOS Issues 278 Preboot Environment 278 RAM Upgrades 350 Unified Extensible Firmware Interface Upgrade Options and Strategies 351 (UEFI) 280 Purchasing Memory 353 UEFI and BIOS Limitations 280 Replacing Modules with Higher-Capai iK UEFI Support 282 Versions 355 CMOS Setup 282 Installing Memory Modules 355 358 Running or Accessing the CMOS Setup Troubleshooting Memory Program 282 Memory Defect Isolation Procedures 3d 1 BIOS Setup Menus 283 The System Logical Memory Layout 363 Maintenance Menu 283 7 The interface 367 Main Menu 285 ATA/IDE Advanced Menus 286 An Overview of the IDE Interface 367 Security Menu 300 Precursors to IDE 367 Power Menu 301 IDE Origins 368 Boot Menu (Boot Sequence, Order) 303 Origins of ATA 369 Exit Menu 305 ATA Standards 370 Additional BIOS Setup Features 305 ATA-1 (ATA Interface for Disk PnP BIOS 306 Drives) 372 PnP Device IDs 307 ATA-2 (ATA Interface with ACPI 307 Extensions-2) 372 BIOS/MBR Error Messages 308 ATA-3 (ATA Interface-3) 373 BIOS Boot Error Messages 309 ATA/ATAPI-4 (ATA with Packet MBR Boot Error Messages 312 Interface Extension-4) 373 ATA/ATAPI-5 (ATA with Packet 6 Memory 315 Interface-5) 374 Memory Basics 315 ATA/ATAPI-6 (ATA with Packet ROM 317 Interface-6) 375 DRAM 317 ATA/ATAPI-7 (ATA with Packet Cache Memory: SRAM 319 Interface-7) 376 Memory Standards 321 ATA/ATAPI-8 376 Speed and Performance 322 PATA 377 Fast Page Mode DRAM 324 PATA I/O Connector 377 Extended Data Out RAM 325 PATA I/O Cable 380 SDRAM 326 Longer or Rounded Cables 382 DDR SDRAM 328 PATA Signals 382 DDR2 SDRAM 330 PATA Dual-Drive Configurations 383 DDR3 SDRAM 332 PATA PIO Transfer Modes 385 RDRAM 333 PATA DMA Transfer Modes 386 Memory Modules 333 SATA 387 Registered Modules 338 SATA Cables and Connectors 389 SIMM Details 340 SATA Configuration 391 SDR DIMM Details 340 Advanced Host Controller Interface DDR DIMM Details 340 (AHCI) 392 DDR2 DIMM Details 341 SATA Transfer Modes 393 DDR3 DIMM Details 341 ATA Features 394 Determining a Memory Module's Size and ATA Commands 394 Features 341 ATA Security Mode 395 Memory Banks 343 Host Protected Area 396 Memory Module Speed 344 ATAPI 397 Parity and ECC 345 ATA Drive Capacity Limitations 397 Parity Checking 347 Prefixes for Decimal and Binary How Parity Checking Works 347 Multiples 398 ECC 350 BIOS Limitations 399 CHS Versus LBA 400 CHS/LBA and LBA/CHS Conversions 401 Basic HDD Components 465 BIOS Commands Versus ATA Hard Disk Platters (Disks) 466 Commands 402 Recording Media 467 CHS Limitations (the 528MB Barrier) 403 Read/Write Heads 469 CHS Translation (Breaking the 528MB Head Actuator Mechanisms 470 Barrier) 404 Air Filters 477 The 2.1GB and 4.2GB Barriers 406 Hard Disk Temperature Acclimation 479 LBA-Assist Translation 408 Spindle Motors 479 The 8.4GB Barrier 411 Logic Boards 480 The 137GB Barrier and Beyond 412 Cables and Connectors 481 Operating System and Other Software Configuration Items 481 Limitations 413 Hard Disk Features 482 GPT and the 2.2TB Barrier 415 Capacity 482 PATA/SATA RAID 417 Performance 484 Reliability 488 8 Magnetic Storage Principles 421 10 Flash and Removable 493 Magnetic Storage 421 Storage History of Magnetic Storage 421 Alternative Storage Devices 493 How Magnetic Fields Are Used to Store Flash Memory Devices 493 Data 422 CompactFlash 495 Read/Write Head Designs 425 SmartMedia 496 Ferrite 426 MultiMediaCard 496 Metal-In-Gap 426 SecureDigital 496 Thin-Film 427 Sony Memory Stick 496 Magneto-Resistive Heads 427 ATA Flash PC Card 497 Giant Magneto-Resistive Heads 429 xD-Picture Card 497 Head Sliders 430 SSD (Solid-State Drive) 498 Data-Encoding Schemes 432 Virtual SSD (RAMdisk) 498 Frequency Modulation Encoding 434 Flash-Based SSDs 498 Modified FM Encoding 434 USB Flash Drives 501 Run Length Limited Encoding 434 Comparing Flash Memory Devices 502 Encoding Scheme Comparisons 436 Flash Card Readers 504 Partial-Response, Maximum-Likelihood Card Readers 504 Decoders 437 Type II PC Card Adapters 505 Capacity Measurements 437 High-Capacity Removable Magnetic Storage Areal Density 438 Devices 505 PMR 441 Floppy Disk Drives 506 1.44MB 3 1/2-Inch Drives 507 9 Hard Disk 445 Storage Floppy Drive Interfaces 507 Definition of a Hard Disk 445 Drive Components 508 Hard Drive Advancements 446 Read/Write Heads 508 Form Factors 447 The Floppy Controller 509 5 1/4-Inch Drive 448 Power and Data Connectors 510 3 1/2-lnch Drive 449 The Floppy Disk Controller Cable 510 2 1/2-Inch Drive 449 How the OS Uses a Floppy Disk 512 1.8-inch Drive 449 Disk Change 513 1-Inch Drives 450 Floppy Disk Media Types and HDD Operation 450 Specifications 514 The Ultimate HDD Analogy 452
Recommended publications
  • Memorandum in Opposition to Hewlett-Packard Company's Motion to Quash Intel's Subpoena Duces Tecum
    ORIGINAL UNITED STATES OF AMERICA BEFORE THE FEDERAL TRADE COMMISSION ) In the Matter of ) ) DOCKET NO. 9341 INTEL. CORPORATION, ) a corporation ) PUBLIC ) .' ) MEMORANDUM IN OPPOSITION TO HEWLETT -PACKARD COMPANY'S MOTION TO QUASH INTEL'S SUBPOENA DUCES TECUM Intel Corporation ("Intel") submits this memorandum in opposition to Hewlett-Packard Company's ("HP") motion to quash Intel's subpoena duces tecum issued on March 11,2010 ("Subpoena"). HP's motion should be denied, and it should be ordered to comply with Intel's Subpoena, as narrowed by Intel's April 19,2010 letter. Intel's Subpoena seeks documents necessary to defend against Complaint Counsel's broad allegations and claimed relief. The Complaint alleges that Intel engaged in unfair business practices that maintained its monopoly over central processing units ("CPUs") and threatened to give it a monopoly over graphics processing units ("GPUs"). See CompI. iiii 2-28. Complaint Counsel's Interrogatory Answers state that it views HP, the world's largest manufacturer of personal computers, as a centerpiece of its case. See, e.g., Complaint Counsel's Resp. and Obj. to Respondent's First Set ofInterrogatories Nos. 7-8 (attached as Exhibit A). Complaint Counsel intends to call eight HP witnesses at trial on topics crossing virtually all of HP' s business lines, including its purchases ofCPUs for its commercial desktop, commercial notebook, and server businesses. See Complaint Counsel's May 5, 2010 Revised Preliminary Witness List (attached as Exhibit B). Complaint Counsel may also call HP witnesses on other topics, including its PUBLIC FTC Docket No. 9341 Memorandum in Opposition to Hewlett-Packard Company's Motion to Quash Intel's Subpoena Duces Tecum USIDOCS 7544743\'1 assessment and purchases of GPUs and chipsets and evaluation of compilers, benchmarks, interface standards, and standard-setting bodies.
    [Show full text]
  • Reverse Engineering X86 Processor Microcode
    Reverse Engineering x86 Processor Microcode Philipp Koppe, Benjamin Kollenda, Marc Fyrbiak, Christian Kison, Robert Gawlik, Christof Paar, and Thorsten Holz, Ruhr-University Bochum https://www.usenix.org/conference/usenixsecurity17/technical-sessions/presentation/koppe This paper is included in the Proceedings of the 26th USENIX Security Symposium August 16–18, 2017 • Vancouver, BC, Canada ISBN 978-1-931971-40-9 Open access to the Proceedings of the 26th USENIX Security Symposium is sponsored by USENIX Reverse Engineering x86 Processor Microcode Philipp Koppe, Benjamin Kollenda, Marc Fyrbiak, Christian Kison, Robert Gawlik, Christof Paar, and Thorsten Holz Ruhr-Universitat¨ Bochum Abstract hardware modifications [48]. Dedicated hardware units to counter bugs are imperfect [36, 49] and involve non- Microcode is an abstraction layer on top of the phys- negligible hardware costs [8]. The infamous Pentium fdiv ical components of a CPU and present in most general- bug [62] illustrated a clear economic need for field up- purpose CPUs today. In addition to facilitate complex and dates after deployment in order to turn off defective parts vast instruction sets, it also provides an update mechanism and patch erroneous behavior. Note that the implementa- that allows CPUs to be patched in-place without requiring tion of a modern processor involves millions of lines of any special hardware. While it is well-known that CPUs HDL code [55] and verification of functional correctness are regularly updated with this mechanism, very little is for such processors is still an unsolved problem [4, 29]. known about its inner workings given that microcode and the update mechanism are proprietary and have not been Since the 1970s, x86 processor manufacturers have throughly analyzed yet.
    [Show full text]
  • AMD's Early Processor Lines, up to the Hammer Family (Families K8
    AMD’s early processor lines, up to the Hammer Family (Families K8 - K10.5h) Dezső Sima October 2018 (Ver. 1.1) Sima Dezső, 2018 AMD’s early processor lines, up to the Hammer Family (Families K8 - K10.5h) • 1. Introduction to AMD’s processor families • 2. AMD’s 32-bit x86 families • 3. Migration of 32-bit ISAs and microarchitectures to 64-bit • 4. Overview of AMD’s K8 – K10.5 (Hammer-based) families • 5. The K8 (Hammer) family • 6. The K10 Barcelona family • 7. The K10.5 Shanghai family • 8. The K10.5 Istambul family • 9. The K10.5-based Magny-Course/Lisbon family • 10. References 1. Introduction to AMD’s processor families 1. Introduction to AMD’s processor families (1) 1. Introduction to AMD’s processor families AMD’s early x86 processor history [1] AMD’s own processors Second sourced processors 1. Introduction to AMD’s processor families (2) Evolution of AMD’s early processors [2] 1. Introduction to AMD’s processor families (3) Historical remarks 1) Beyond x86 processors AMD also designed and marketed two embedded processor families; • the 2900 family of bipolar, 4-bit slice microprocessors (1975-?) used in a number of processors, such as particular DEC 11 family models, and • the 29000 family (29K family) of CMOS, 32-bit embedded microcontrollers (1987-95). In late 1995 AMD cancelled their 29K family development and transferred the related design team to the firm’s K5 effort, in order to focus on x86 processors [3]. 2) Initially, AMD designed the Am386/486 processors that were clones of Intel’s processors.
    [Show full text]
  • The X86 Is Dead. Long Live the X86!
    the x86 is dead. long live the x86! CC3.0 share-alike attribution copyright c 2013 nick black with diagrams by david kanter of http://realworldtech.com “Upon first looking into Intel’s x86” that upon which we gaze is mankind’s triumph, and we are its stewards. use it well. georgia tech ◦ summer 2013 ◦ cs4803uws ◦ nick black The x86 is dead. Long live the x86! Why study the x86? Used in a majority of servers, workstations, and laptops Receives the most focus in the kernel/toolchain Very complex processor, thus large optimization space Excellent documentation and literature Fascinating, revealing, lengthy history Do not think that x86 is all that’s gone on over the past 30 years1. That said, those who’ve chased peak on x86 can chase it anywhere. 1Commonly expressed as “All the world’s an x86.” georgia tech ◦ summer 2013 ◦ cs4803uws ◦ nick black The x86 is dead. Long live the x86! In the grim future of computing there are 10,000 ISAs Alpha + BWX/FIX/CIX/MVI SPARC V9 + VIS3a AVR32 + JVM JVMb CMS PTX/SASSc PA-RISC + MAX-2 TILE-Gxd SuperH ARM + NEONe i960 Blackfin IA64 (Itanium) PowerISA + AltiVec/VSXf MIPS + MDMX/MIPS-3D MMIX IBMHLA (s390 + z) a Most recently the “Oracle SPARC Architecture 2011”. b m68k Most recently the Java SE 7 spec, 2013-02-28. c Most recently the PTX ISA 3.1 spec, 2012-09-13. VAX + VAXVA d TILE-Gx ISA 1.2, 2013-02-26. e z80 / MOS6502 ARMv8: A64, A32, and T32, 2011-10-27. f MIX PowerISA v.2.06B, 2010-11-03.
    [Show full text]
  • The Microarchitecture of Intel and AMD Cpus
    3. The microarchitecture of Intel, AMD and VIA CPUs An optimization guide for assembly programmers and compiler makers By Agner Fog. Copenhagen University College of Engineering. Copyright © 1996 - 2012. Last updated 2012-02-29. Contents 1 Introduction ....................................................................................................................... 4 1.1 About this manual ....................................................................................................... 4 1.2 Microprocessor versions covered by this manual........................................................ 6 2 Out-of-order execution (All processors except P1, PMMX)................................................ 8 2.1 Instructions are split into µops..................................................................................... 8 2.2 Register renaming ...................................................................................................... 9 3 Branch prediction (all processors) ................................................................................... 11 3.1 Prediction methods for conditional jumps.................................................................. 11 3.2 Branch prediction in P1............................................................................................. 16 3.3 Branch prediction in PMMX, PPro, P2, and P3 ......................................................... 20 3.4 Branch prediction in P4 and P4E .............................................................................. 21
    [Show full text]
  • “架构+工艺”,Cpu 业务拉动业绩持续成长 ( )投资价值分析报告| Amd Amd.O 2019.10.10
    2: “架构+工艺”,CPU 业务拉动业绩持续成长 ( )投资价值分析报告| AMD AMD.O 2019.10.10 中信证券研究部 核心观点 AMD CPU 芯片新品架构设计进步迅速,作为纯芯片设计公司,所采用台积电 先进代工工艺历史上第一次阶段性领先竞争对手英特尔。随着有竞争力的新品 持续发布,在 PC 和服务器芯片领域,公司未来三年有望凭借 7nm、7nm+及 5nm 高性价比产品持续抢占份额、扩增营收,服务器 CPU 芯片市场份额有望 创历史新高,公司作为 CPU 和 GPU 双领域全球龙头公司,有望实现持续高速 成长,值得长期重点关注。 徐涛 ▍唯一兼具 CPU+独立 GPU 芯片厂商。公司成立至今经历了英特尔第二供货商、 首席电子分析师 IDM、Fabless+GlobalFoundries、Fabless+TSMC 四个阶段。历史上 2003 年 前后产品性能一度超越英特尔, 年收购 设计厂商 ,成为唯一兼 S1010517080003 2006 GPU ATI 具 CPU 与独立 GPU 设计能力的厂商。我们估测 2018 年公司 PC CPU 收入 22.93 亿美元(营收占比 36%,市场份额 13%);GPU 收入 18.32 亿美元(营收占比 28%,市场份额 18%);服务器收入 3.31 亿美元(营收占比 5%,市场份额 3.2%); 嵌入式与半定制等业务收入 20.19 亿美元(营收占比 31%)。 ▍高壁垒 640 亿美元 CPU+GPU 市场,市场第二名。公司各细分市场中,PC 端 CPU 市场 322 亿美元,服务器端 CPU 市场 166 亿美元,GPU 市场约 120 亿美 元,另有以游戏主机芯片为主的半定制芯片市场,约 34 亿美元。总体市场空间 郑泽科 巨大,公司在 CPU 与 GPU 市场长期为市场第二名,主要竞争对手是英特尔与 电子分析师 英伟达,AMD 在游戏主机芯片市场占据绝大部分份额。凭借近年来架构设计能 S1010517100002 力提升+拥抱台积电先进代工工艺,AMD 有望通过优势新品持续扩大市场份额。 ▍“架构+工艺”,CPU 业务拉动业绩成长。我们认为公司未来两年有望在 CPU 市 场率先提升份额,拉动公司成长。回顾历史,我们发现具有竞争力的新品发布 是市场份额变化重要因素;从设计角度,公司最新发布的 Zen2 架构通过务实创 新设计已实现对英特尔的反超;从制造角度,公司将采用业界顶尖的台积电 7nm,在制程上领先英特尔,后续还将采用 7nm+及 5nm;从时间角度,AMD 将具备领先英特尔至少半年上市的市场机遇期。公司采用灵活的 Fabless 模式, 胡叶倩雯 相较于英特尔 IDM 模式更加适应未来市场趋势,且合作伙伴台积电已将高性能 电子分析师 计算列为重要战略方向。公司 CEO 苏姿丰对产品与技术把握清晰,有望引领公 S1010517100004 司快速发展。 ▍风险因素:PC、服务器市场景气度低于预期;台积电先进制程受不确定性因素 影响演进及产能;公司核心管理层出现重大变化;英特尔先进工艺芯片超预期。 ▍投资建议:我们预计未来两年公司 CPU 业务将随新品发布持续提升份额,拉动 营收并提高毛利率,GPU 业务总体保持平稳增长。基于该假设,我们预测公司 2019/2020/2021 年 EPS 分别为 0.65/1.00/1.54 美元,按照 2020 年 35 倍 PE, 给予目标价 35 美元,首次覆盖,给予“买入”评级。 项目/年度 2017 2018 2019E 2020E 2021E 营业收入 百万美元 ( ) 5,381.00 6,475.00 7,022.85 9,540.25
    [Show full text]
  • AMD K8 Processor Architecture
    Excerpt from MindShare’s Upcoming Book: AMD K8 Processor Architecture Joe Winkles MindShare, Inc. [email protected] November 2005 For training on this topic, visit www.mindshare.com or call 1-800-633-1440 MindShare_K8_Breaking_Tradition.fm Page 1 Tuesday, November 22, 2005 12:38 AM 1 K8 Processors: Breaking Tradition Notice This material is copyrighted and is not to be reproduced without permission from MindShare, Inc. It is offered as a courtesy to MindShare subscribers. Copyright © 2005 by MindShare, Inc. All rights reserved. AMD, AMD Opteron, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Introduction The following is an excerpt from the upcoming MindShare textbook on AMD K8 Processor Architecture. MindShare currently offers a course on AMD based processors which can be found at www.mindshare.com. The K8 Microarchitecture The terms “K8” and “Hammer” are AMD’s internal names for the processor microarchitecture that will be described in detail throughout this book. AMD uses the K8 microarchitecture for several lines of processors such as: —AMD OpteronTM —AMD AthlonTM 64 —AMD AthlonTM 64 FX —AMD TurionTM —AMD SempronTM (a subset of this processor line uses the K8 microar- chitecture, the early Semprons were based on the K7 microarchitecture) Visit MindShare Training at www.mindshare.com 1 MindShare_K8_Breaking_Tradition.fm Page 2 Tuesday, November 22, 2005 12:38 AM The K8 Architecture All of these processors use the same basic internal microarchitecture however they are targeting different markets and thus have different feature sets. A brief description of each processor line’s characteristics can be found later in the chapter.
    [Show full text]
  • Instruction Latencies and Throughput for AMD and Intel X86 Processors
    Instruction latencies and throughput for AMD and Intel x86 processors Torbj¨ornGranlund 2014-07-20 Copyright Torbj¨ornGranlund 2005{2014. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. [This report is work-in-progress. A newer version might be available here: http://gmplib.org/~tege/x86-timing.pdf] In this short report we present latency and throughput data for various x86 processors. We only present data on integer operations. The data on integer MMX and SSE2 instructions is currently limited. We might present more complete data in the future, if there is enough interest. There are several reasons for presenting this report: 1. Intel's published data were in the past incomplete and full of errors. 2. Intel did not publish any data for 64-bit operations. 3. To allow straightforward comparison of AMD and Intel pipelines. The here presented data is the result of extensive timing tests. While we have made an effort to make sure the data is accurate, the reader is cautioned that some errors might have crept in. 1 Nomenclature and notation LNN means latency for NN-bit operation.TNN means throughput for NN-bit operation. The term throughput is used to mean number of instructions per cycle of this type that can be sustained. That implies that more throughput is better, which is consistent with how most people understand the term. Intel use that same term in the exact opposite meaning in their manuals. The notation "P6 0-E", "P4 F0", etc, are used to save table header space.
    [Show full text]
  • The Microarchitecture of Intel, AMD and VIA Cpus: an Optimization Guide for Assembly Programmers and Compiler Makers
    3. The microarchitecture of Intel, AMD, and VIA CPUs An optimization guide for assembly programmers and compiler makers By Agner Fog. Technical University of Denmark. Copyright © 1996 - 2021. Last updated 2021-08-17. Contents 1 Introduction ....................................................................................................................... 7 1.1 About this manual ....................................................................................................... 7 1.2 Microprocessor versions covered by this manual ........................................................ 8 2 Out-of-order execution (All processors except P1, PMMX) .............................................. 10 2.1 Instructions are split into µops ................................................................................... 10 2.2 Register renaming .................................................................................................... 11 3 Branch prediction (all processors) ................................................................................... 12 3.1 Prediction methods for conditional jumps .................................................................. 12 3.2 Branch prediction in P1 ............................................................................................. 18 3.3 Branch prediction in PMMX, PPro, P2, and P3 ......................................................... 21 3.4 Branch prediction in P4 and P4E .............................................................................. 23 3.5 Branch
    [Show full text]
  • Welcome to Anandtech.Com [ Article: Intel Core Versus AMD's K
    Welcome to AnandTech.com [ Article: Intel Core versus AMD's K8 ar... http://www.anandtech.com/printarticle.aspx?i=2748 print this page Intel Core versus AMD's K8 architecture Date: May 1, 2006 Type: CPU & Chipset Manufacturer: Intel Author: Johan De Gelas Page 1 Introduction Wide Dynamic Execution, Advanced Digital Media Boost, Smart Memory Access and Advanced Smart Cache; those are the technologies that according to the marketing people at Intel enable Intel to build the high performance, low energy CPUs using the new Core architecture. Of course, as an AnandTech Reader, you couldn't care less about which Hyper Super Advanced Label the marketing folks glue on their CPUs. "Extend the digital lifestyle by combining robust performance with low power consumption" could have been another marketing claim for the new Core architecture, but VIA already cornered that sentence for its C7 CPUs. The marketing slogans for Intel's Core and VIA's C7 are almost the same; the architectures are however vastly different. No, let us find out what is really behind all this marketing hyper-talk, and preferably compare it with the AMD "K8" (Athlon 64, Opteron) architecture of Intel's NetBurst and Pentium M processors. That is what this article is all about. We talked to Jack Doweck, the engineer who designed the completely new Memory Reorder Buffer and Memory disambiguation system. Jack Doweck is one of the Intel Israel Development Center (IDC) architects. The Intel "P8" Intel marketing states that Core is a blend of P-M techniques and NetBurst architecture. However, Core is clearly a descendant of the Pentium Pro, or the P6 architecture.
    [Show full text]
  • An Exploratory Analysis of Microcode As a Building Block for System Defenses
    An Exploratory Analysis of Microcode as a Building Block for System Defenses Benjamin Kollenda, Philipp Koppe, Marc Fyrbiak Christian Kison, Christof Paar, Thorsten Holz Ruhr-Universität Bochum [email protected] ABSTRACT 1 INTRODUCTION Microcode is an abstraction layer used by modern x86 processors New vulnerabilities, design flaws, and attack techniques with devas- that interprets user-visible CISC instructions to hardware-internal tating consequences for the security and safety of computer systems RISC instructions. The capability to update x86 microcode enables a are announced on a regular basis [20]. The underlying faults range vendor to modify CPU behavior in-field, and thus patch erroneous from critical memory safety violations [22] or input validation [21] microarchitectural processes or even implement new features. Most in software to race conditions or side-channel attacks in the under- prominently, the recent Spectre and Meltdown vulnerabilities lying hardware [3, 27, 37, 39, 40, 45, 53]. To cope with erroneous were mitigated by Intel via microcode updates. Unfortunately, mi- behavior and to reduce the attack surface, various defenses have crocode is proprietary and closed source, and there is little publicly been developed and integrated in software and hardware over the available information on its inner workings. last decades [75, 78]. In this paper, we present new reverse engineering results that Generally speaking, defenses implemented in software can be cat- extend and complement the public knowledge of proprietary mi- egorized in either compiler-assisted defenses [5, 9, 19, 54, 60, 65, 70] crocode. Based on these novel insights, we show how modern or binary defenses [1, 25, 32, 64, 80].
    [Show full text]
  • The Microarchitecture of Intel and AMD Cpus
    3. The microarchitecture of Intel, AMD and VIA CPUs An optimization guide for assembly programmers and compiler makers By Agner Fog. Technical University of Denmark. Copyright © 1996 - 2015. Last updated 2015-12-23. Contents 1 Introduction ....................................................................................................................... 5 1.1 About this manual ....................................................................................................... 5 1.2 Microprocessor versions covered by this manual ........................................................ 6 2 Out-of-order execution (All processors except P1, PMMX) ................................................ 9 2.1 Instructions are split into µops ..................................................................................... 9 2.2 Register renaming .................................................................................................... 10 3 Branch prediction (all processors) ................................................................................... 12 3.1 Prediction methods for conditional jumps .................................................................. 12 3.2 Branch prediction in P1 ............................................................................................. 18 3.3 Branch prediction in PMMX, PPro, P2, and P3 ......................................................... 21 3.4 Branch prediction in P4 and P4E .............................................................................. 23 3.5 Branch
    [Show full text]