Chapter 6-01

原创 2015年11月20日 00:15:02

Please indicate the source:
6.1 Storage Technologies
6.1.1 Random-Access Memory
Random-access memory (RAM) comes in two varieties—static and dynamic. Static RAM (SRAM) is faster and more expensive than Dynamic RAM (DRAM). SRAM is used for cache memories, both on and off the CPU chip. DRAM is used for the main memory plus the frame buffer of a graphics system. Typically, a desktop system will have no more than a few megabytes of SRAM, but hundreds or thousands of megabytes of DRAM.
Static RAM
SRAM stores each bit in a bistable memory cell. Each cell is implemented with a six-transistor circuit. This circuit has the property that it can stay indefinitely in either of two different voltage configurations, or states. Any other state will be unstable—starting from there, the circuit will quickly move toward one of the stable states. Such a memory cell is analogous to the inverted pendulum illustrated in Figure 6.1.

Due to its bistable nature, an SRAM memory cell will retain its value indefinitely, as long as it is kept powered. Even when a disturbance, the circuit will return to the stable value when the disturbance is removed.
Dynamic RAM
DRAM stores each bit as charge on a capacitor which is very small. Unlike SRAM, a DRAM memory cell is very sensitive to any disturbance. When the capacitor voltage is disturbed, it will never recover.
Various sources of leakage current cause a DRAM cell to lose its charge within a time period of around 10 to 100 milliseconds. The memory system must periodically refresh every bit of memory by reading it out and then rewriting it. Some systems also use error-correcting codes, where the computer words are encoded a few more bits (e.g., a 32-bit word might be encoded using 38 bits), such that circuitry can detect and correct any single erroneous bit within a word.

The cells (bits) in a DRAM chip are partitioned into d supercells, each consisting of w DRAM cells. A d × w DRAM stores a total of d*w bits of information. The supercells are organized as a rectangular array with r rows and c columns, where r*c = d. Each supercell has an address of the form (i, j), where i denotes the row, and j denotes the column.
Information flows in and out of the chip via external connectors called pins. Each pin carries a 1-bit signal.

Figure 6.3 shows two of these sets of pins: eight data pins that can transfer 1 byte in or out of the chip, and two addr pins that carry two-bit row and column supercell addresses. Other pins that carry control information are not shown.
Each DRAM chip is connected to some circuitry, known as the memory controller, that can transfer w bits at a time to and from each DRAM chip. To read the contents of supercell (i, j), the memory controller sends the row address i and the column address j to the DRAM. The DRAM responds by sending the contents of supercell (i, j ) back to the controller. The row address i is called a RAS (Row Access Strobe) request. The column address j is called a CAS (Column Access Strobe) request. Notice that the RAS and CAS requests share the same DRAM address pins.

For example, to read supercell (2, 1) from the 16 × 8 DRAM in Figure 6.3, the memory controller sends row address 2, as shown in Figure 6.4(a). The DRAM responds by copying the entire contents of row 2 into an internal row buffer. Next, the memory controller sends column address 1, as shown in Figure 6.4(b). The DRAM responds by copying the 8 bits in supercell (2, 1) from the row buffer and sending them to the memory controller.
DRAM chips are packaged in memory modules that plug into expansion slots on the main system board (motherboard). Common packages include the 168 pin dual inline memory module (DIMM), which transfers data to and from the memory controller in 64-bit chunks, and the 72-pin single inline memory module (SIMM), which transfers data in 32-bit chunks.

Figure 6.5 shows the basic idea of a memory module. The example module stores a total of 64 MB (megabytes) using eight 64-Mbit 8M × 8 DRAM chips, numbered 0 to 7. Each supercell stores 1 byte of main memory, and each 64 bit doubleword at byte address A in main memory is represented by the eight supercells whose corresponding supercell address is (i, j ). In the example in Figure 6.5, DRAM 0 stores the first (lower-order) byte, DRAM 1 stores the next byte, and so on.
To retrieve a 64-bit doubleword at memory address A, the memory controller converts A to a supercell address (i, j ) and sends it to the memory module, which then broadcasts i and j to each DRAM. In response, each DRAM outputs the 8 bit contents of its (i, j ) supercell. Circuitry in the module collects these outputs and forms them into a 64-bit doubleword, which it returns to the memory controller.
Main memory can be aggregated by connecting multiple memory modules to the memory controller. In this case, when the controller receives an address A, the controller selects the module k that contains A, converts A to its (i, j ) form, and sends (i, j ) to module k.
DRAMs and SRAMs are volatile that they lose their information if the supply voltage is turned off. Nonvolatile memories retain their information even when they are powered off. Nonvolatile memories are referred to as read-only memories (ROMs), even though some types of ROMs can be written to as well as read. ROMs are distinguished by the number of times they can be reprogrammed (written to) and by the mechanism for reprogramming them.
Flash memory is a type of nonvolatile memory. Flash memories are everywhere, providing fast and durable nonvolatile storage for many electronic devices.
Programs stored in ROM devices are often referred to as firmware. When a computer system is powered up, it runs firmware stored in a ROM. Some systems provide a small set of primitive input and output functions in firmware, for example, a PC’s BIOS (basic input/output system) routines.
Data flows back and forth between the processor and the DRAM main memory over shared electrical conduits called buses. Each transfer of data between the CPU and memory is accomplished with a series of steps called a bus transaction. A read transaction transfers data from the main memory to the CPU. A write transaction transfers data from the CPU to the main memory.
A bus is a collection of parallel wires that carry address, data, and control signals. Depending on the particular bus design, data and address signals can share the same set of wires, or they can use different sets. Also, more than two devices can share the same bus. The control wires carry signals that synchronize the transaction and identify what kind of transaction is currently being performed.

The I/O bridge translates the electrical signals of the system bus into the electrical signals of the memory bus. The I/O bridge also connects the system bus and memory bus to an I/O bus that is shared by I/O devices such as disks and graphics cards.
6.1.2 Disk Storage
6.1.3 Solid State Disks
6.1.4 Storage Technology Trends
Please indicate the source:

版权声明:Please indicate the source if you want to reprint this article:


一,spring好处(为什么要用spring) 1.方便解偶,简化开发 spring就是一个大工厂,可以将所有对象的创建和依赖关系维护,交给spring管理 2.AOP编程的支持 spring提供面向...
  • a102615350
  • a102615350
  • 2017年09月01日 13:50
  • 47

Android studio导入项目报错Please refer to the user guide chapter on the daemon at

做一个小项目,通过android studio打开,可打开后的项目报如下错误: Error:Unable to start the daemon process.  This problem mi...
  • jinhui157
  • jinhui157
  • 2017年04月20日 10:10
  • 1835


人工智能机器学习与深度学习机器学习 深度学习 人工智能 深度学习工具介绍和对比 主流的深度学习开源工具总结表 主流的深度学习框架介绍 TensorFlow Caffe Theano Torch Ten...
  • u011974639
  • u011974639
  • 2017年06月14日 16:56
  • 2151

beginning python summary chapter 3 - 使用字符串

0、字符串是不可变的。1、基本字符串操作:索引、切片、复制、成员、长度、最大和最小。2、字符串格式化:用格式化操作符百分号%实现,eg:>>> format = "Hello, %s. %s enou...
  • xiaoxie59
  • xiaoxie59
  • 2010年01月25日 14:54
  • 505

Chapter 6 CPU Scheduling

  • Peter_Ouyang
  • Peter_Ouyang
  • 2016年12月31日 10:50
  • 88

Chapter 13. Web框架Spring

Chapter 13. Web框架13.1. 介绍Spring的web框架是围绕DispatcherServlet来进行设计的。DispatcherServlet的作用是将请求分发到不同的处理器。Sp...
  • yao_2008
  • yao_2008
  • 2009年05月31日 17:00
  • 3173

PRML Notes- Chapter2 Probability Distribution(2.1,2.2)

第二章 概率分布第二章 概率分布 一些概念 主要分布从第一章中我们了解了机器学习的一些概念、定义等,并知道了ML中最重要的三个部分概率论、信息论和决策论,并简单介绍了贝叶斯学派的思想。这一章中会更加详...
  • shiyanwei1989
  • shiyanwei1989
  • 2017年09月24日 14:10
  • 104

Latex 中文章节

\usepackage{titlesec} \renewcommand{\chaptername}{第\CJKnumber{\thechapter}章} \newcommand{\sectionnam...
  • virhuiai
  • virhuiai
  • 2012年07月28日 19:07
  • 8769

逐步适应 DocBook XML 方言

David Mertz,博士档案保管专家,Gnosis Software, Inc.2000 年 10 月 内容: ...
  • snaill
  • snaill
  • 2005年02月12日 02:25
  • 1602

Coursera课程Python for everyone:chapter7

Chapter 7 Quiz 10 试题 1.  Given the architecture and terminology we introduced in Cha...
  • GarfieldEr007
  • GarfieldEr007
  • 2016年02月17日 11:13
  • 1588
您举报文章:Chapter 6-01