All Topics  
Random-access memory

 

   Email Print
   Bookmark   Link






 

Random-access memory



 
 
Random-Assess Memory Card (usually known by its acronym, RAM) is a form of computer data storage. Today it takes the form of integrated circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
s that allows the stored data
DATA

Debt, AIDS, Trade in Africa is a multinational Non-governmental organization founded in January 2002 in London by U2's Bono along with Robert Sargent Shriver III and activists from the Jubilee 2000 Drop the Debt campaign....
 to be accessed in any order (i.e., at random
Random access

In computer science, random access is the ability to access an arbitrary element of a sequence in equal time. The opposite is sequential access, where a remote element takes longer time to access....
). The word random thus refers to the fact that any piece of data can be returned in a constant time
Constant time

In computational complexity theory, constant time, or Big O notation time, refers to the computation time of a problem when the time needed to solve that problem is bounded by a value that does not depend on the size of the data it is given as input....
, regardless of its physical location and whether or not it is related to the previous piece of data.

This contrasts with storage mechanisms such as tapes
Magnetic tape

Magnetic tape is a medium for magnetic recording generally consisting of a thin magnetizable coating on a long and narrow strip of plastic. Nearly all recording tape is of this type, whether used for recording Audio frequency or video or for computer data storage....
, magnetic discs and optical disc
Optical disc

In computing, sound reproduction, and video, an optical disc is a flat, circular disc wherein Data is stored in the pits in its flat surface ? sequentially on the continuous, spiral track extending from the innermost track to the outermost track, covering the entire disc surface....
s, which rely on the physical movement of the recording medium or a reading head.






Discussion
Ask a question about 'Random-access memory'
Start a new discussion about 'Random-access memory'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Random-Assess Memory Card (usually known by its acronym, RAM) is a form of computer data storage. Today it takes the form of integrated circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
s that allows the stored data
DATA

Debt, AIDS, Trade in Africa is a multinational Non-governmental organization founded in January 2002 in London by U2's Bono along with Robert Sargent Shriver III and activists from the Jubilee 2000 Drop the Debt campaign....
 to be accessed in any order (i.e., at random
Random access

In computer science, random access is the ability to access an arbitrary element of a sequence in equal time. The opposite is sequential access, where a remote element takes longer time to access....
). The word random thus refers to the fact that any piece of data can be returned in a constant time
Constant time

In computational complexity theory, constant time, or Big O notation time, refers to the computation time of a problem when the time needed to solve that problem is bounded by a value that does not depend on the size of the data it is given as input....
, regardless of its physical location and whether or not it is related to the previous piece of data.

This contrasts with storage mechanisms such as tapes
Magnetic tape

Magnetic tape is a medium for magnetic recording generally consisting of a thin magnetizable coating on a long and narrow strip of plastic. Nearly all recording tape is of this type, whether used for recording Audio frequency or video or for computer data storage....
, magnetic discs and optical disc
Optical disc

In computing, sound reproduction, and video, an optical disc is a flat, circular disc wherein Data is stored in the pits in its flat surface ? sequentially on the continuous, spiral track extending from the innermost track to the outermost track, covering the entire disc surface....
s, which rely on the physical movement of the recording medium or a reading head. In these devices, the movement takes longer than the data transfer, and the retrieval time varies depending on the physical location of the next item.

The word RAM is mostly associated with volatile
Volatile memory

Volatile memory, also known as volatile storage or primary storage device, is computer memory that requires power to maintain the stored information, unlike non-volatile memory which does not require a maintained power supply....
 types of memory (such as DRAM
Dram

Dram or DRAM may refer to:* Dram , an imperial unit of mass and volume* Armenian dram, a monetary unit* Dynamic random access memory* Database of Recorded American Music...
 memory modules
DIMM

A DIMM, or dual in-line memory module, comprises a series of dynamic random access memory integrated circuits. These modules are mounted on a printed circuit board and designed for use in personal computers, workstations and Server s....
), where the information is lost after the power is switched off. However, many other types of memory are RAM as well (i.e., Random Access Memory), including most types of ROM and a kind of flash memory
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
 called NOR-Flash
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
.

History

An early type of widespread writable random access memory was the magnetic core memory
Magnetic core memory

Magnetic core memory, or ferrite-core memory, is an early form of random access computer memory. It uses small magnetic ceramic rings, the cores, through which wires are threaded to store information via the Polarity of the magnetic field they contain....
, developed from 1949 to 1952, and subsequently used in most computers up until the development of the static and dynamic integrated RAM circuits in the late 1960s and early 1970s. Before this, computers used relay
Relay

A relay is an electrical switch that opens and closes under the control of another electrical circuit. In the original form, the switch is operated by an magnet to open or close one or many sets of contacts....
s, delay line memory
Delay line

The term delay line has multiple meanings:* In electronics and derivative fields such as telecommunications, a delay line is a device where the input signal reaches the output of the device after a known period of time has elapsed....
 or various kinds of vacuum tube
Vacuum tube

In electronics, a vacuum tube, electron tube , thermionic valve, or just valve is a device used to amplifier, switch, otherwise modify, or create an Electricity signal by controlling the movement of electrons in a low-pressure space....
 arrangements to implement "main" memory functions (i.e., hundreds or thousands of bits), some of which were random access, some not. Latch
Latch

The word latch can refer to:* Latch , a type of door or window fastener* In electronics:** An electronic circuit used to Latch ** A Relay#Types of relay...
es built out of vacuum tube triodes, and later, out of discrete transistor
Transistor

In electronics, a transistor is a semiconductor device commonly used to Electronic amplifier or switch Electronics signals. A transistor is made of a solid piece of a semiconductor material, with at least three terminals for connection to an external circuit....
s, were used for smaller and faster memories such as registers and (random access) register banks. Prior to the development of integrated ROM circuits, permanent (or read-only) random access memory was often constructed using semiconductor diode matrices driven by address decoder
Address decoder

In digital electronics, an Address decoder is a circuit that has two or more bits of an address bus as inputs and that has one or more device selection lines as outputs....
s.

Overview


Types of RAM

in 1989]] Modern types of writable RAM generally store a bit of data
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
 in either the state of a flip-flop
Flip-flop (electronics)

In digital circuits, a flip-flop is a term referring to an electronic circuit that has two stable states and thereby is capable of serving as one bit of computer storage....
, as in SRAM
Static random access memory

Static random access memory is a type of semiconductor memory where the word static indicates that, unlike dynamic random access memory, it does not need to be periodically memory refresh, as SRAM uses bistable latch to store each bit....
 (static RAM), or as a charge
Electric charge

Electric charge is a fundamental conserved property of some subatomic particles, which determines their electromagnetic interaction. Electrically charged matter is influenced by, and produces, electromagnetic fields....
 in a capacitor
Capacitor

A capacitor or condenser is a Passive component electronic component consisting of a pair of electrical conductor separated by a dielectric....
 (or transistor
Transistor

In electronics, a transistor is a semiconductor device commonly used to Electronic amplifier or switch Electronics signals. A transistor is made of a solid piece of a semiconductor material, with at least three terminals for connection to an external circuit....
 gate), as in DRAM
Dynamic random access memory

Dynamic random access memory is a type of random access memory that stores each bit of data in a separate capacitor within an integrated circuit....
 (dynamic RAM), EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
, EEPROM
EEPROM

EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration....
 and Flash
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
. Some types have circuitry to detect and/or correct random faults called memory errors in the stored data, using parity bit
Parity bit

A parity bit is a bit that is added to ensure that the number of bits with value of 1 in a given set of bits is always even number or odd number....
s or error correction codes
Error detection and correction

In mathematics, computer science, telecommunication, and information theory, error detection and correction has great practical importance in maintaining data integrity across noisy channels and less-than-reliable storage media....
. RAM of the read-only type, ROM, instead uses a metal mask to permanently enable/disable selected transistors, instead of storing a charge in them.

As both SRAM and DRAM are volatile, other forms of computer storage, such as disks
Disk storage

Disk storage is a general category of a computer storage mechanisms, in which data is recorded on planar, round and rotating surfaces . A disk drive is a peripheral device used to record and retrieve information....
 and magnetic tapes
Magnetic tape data storage

Magnetic tape has been used for data storage for over 50 years. In this time, many advances in tape formulation, packaging, and data density have been made....
, have been used as persistent storage
Persistence (computer science)

Persistence in computer science refers to the characteristic of data that outlives the execution of the program that created it. Without this capability, data only exists in RAM, and will be lost when the memory loses power, such as on computer shutdown....
 in traditional computers. Many newer products instead rely on flash memory
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
 to maintain data when not in use, such as PDA
PDA

PDA may refer to:...
s or small music players. Certain personal computer
Personal computer

A personal computer is any general-purpose computer whose original sales price, size, and capabilities make it useful for individuals, and which is intended to be operated directly by an end user, with no intervening computer operator....
s, such as many rugged computers and netbooks, have also replaced magnetic disks with flash drives. With flash memory, only the NOR type
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
 is capable of true random access, allowing direct code execution, and is therefore often used instead of ROM; the lower cost NAND type
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
 is commonly used for bulk storage in memory cards and solid-state drives.

Memory hierarchy

Many computer systems have a memory hierarchy consisting of CPU registers, on-die SRAM
Static random access memory

Static random access memory is a type of semiconductor memory where the word static indicates that, unlike dynamic random access memory, it does not need to be periodically memory refresh, as SRAM uses bistable latch to store each bit....
 caches, external cache
Cache

In computer science, a cache is a collection of data duplicating original values stored elsewhere or computed earlier, where the original data is expensive to fetch or to compute, compared to the cost of reading the cache....
s, DRAM
Dram

Dram or DRAM may refer to:* Dram , an imperial unit of mass and volume* Armenian dram, a monetary unit* Dynamic random access memory* Database of Recorded American Music...
, paging
Paging

In computer operating systems that have their main memory divided into page , paging is a transfer of pages between main memory and an auxiliary store, such as hard disk drive....
 systems, and virtual memory
Virtual memory

Virtual memory is a computer system technique which gives an application program the impression that it has contiguous working memory , while in fact it may be physically fragmented and may even overflow on to disk storage....
 or swap space on a hard drive. This entire pool of memory may be referred to as "RAM" by many developers, even though the various subsystems can have very different access time
Access time

Access time is the time delay or Latency between a request to an electronic system, and the access being completed or the requested data returned....
s, violating the original concept behind the random access term in RAM. Even within a hierarchy level such as DRAM, the specific row, column, bank, rank, channel, or interleave organization of the components make the access time variable, although not to the extent that rotating storage media or a tape is variable. The overall goal of using a memory hierarchy is to obtain the higher possible average access performance while minimizing the total cost of entire memory system. (Generally, the memory hierarchy follows the access time with the fast CPU registers at the top and the slow hard drive at the bottom.)

In many modern personal computers, the RAM comes in an easily upgraded form of modules called memory module
DIMM

A DIMM, or dual in-line memory module, comprises a series of dynamic random access memory integrated circuits. These modules are mounted on a printed circuit board and designed for use in personal computers, workstations and Server s....
s
or DRAM module
DIMM

A DIMM, or dual in-line memory module, comprises a series of dynamic random access memory integrated circuits. These modules are mounted on a printed circuit board and designed for use in personal computers, workstations and Server s....
s
about the size of a few sticks of chewing gum. These can quickly be replaced should they become damaged or too small for current purposes. As suggested above, smaller amounts of RAM (mostly SRAM) are also integrated in the CPU and other ICs on the motherboard
Motherboard

A motherboard is the central printed circuit board in some complex electronic systems, such as modern personal computers. The motherboard is sometimes alternatively known as the mainboard, system board, or, on Apple Inc....
, as well as in hard-drives, CD-ROM
CD-ROM

CD-ROM is a pre-pressed Compact Disc that contains Computer data storage accessible to, but not writable by, a computer. While the Compact Disc format was originally designed for music storage and playback, the 1985 Yellow Book standard developed by Sony and Philips adapted the format to hold any form of Binary file....
s, and several other parts of the computer system.

Swapping
If a computer becomes low on RAM during intensive application cycles, the computer can perform an operation known as "swapping
Paging

In computer operating systems that have their main memory divided into page , paging is a transfer of pages between main memory and an auxiliary store, such as hard disk drive....
". When this occurs, the computer temporarily uses hard drive space as additional memory. Constantly relying on this type of backup memory is called thrashing
Thrash (computer science)

In computer science, thrash , is the term used to describe a degenerate situation on a computer where increasing resources are used to do a decreasing amount of work....
, which is generally undesirable because it lowers overall system performance.

Other uses of the "RAM" term

Other physical devices with read–write capability can have "RAM" in their names: for example, DVD-RAM
DVD-RAM

DVD-RAM is a disc specification presented in 1996 by the DVD Forum, which specifies rewritable DVD-RAM media and the appropriate DVD writers. DVD-RAM media have been used in computers as well as camcorders and personal video recorders since 1998....
. "Random access" is also the name of an indexing method: hence, disk storage is often called "random access" because the reading head can move relatively quickly from one piece of data to another, and does not have to read all the data in between. However the final "M" is crucial: "RAM" (provided there is no additional term as in "DVD-RAM") always refers to a solid-state device.

RAM disks
Software can "partition" a portion of a computer's RAM, allowing it to act as a much faster hard drive that is called a RAM disk
RAM disk

A RAM disk is a software layer that enables applications to transparently use RAM, often a segment of main memory, as if it were a hard disk or other secondary storage....
. Unless the memory used is non-volatile, a RAM disk loses the stored data when the computer is shut down. However, volatile memory can retain its data when the computer is shut down if it has a separate power source, usually a battery
Battery (electricity)

In electronics, a battery or voltaic cell is a combination of one or more electrochemical cell Galvanic cells which store chemical energy that can be converted into electric potential energy, creating electricity....
.

Shadow RAM
Sometimes, the contents of a ROM chip are copied to SRAM or DRAM to allow for shorter access times (as ROM may be slower). The ROM chip is then disabled while the initialized memory locations are switched in on the same block of addresses (often write-protected). This process, sometimes called shadowing, is fairly common in both computers and embedded systems.

As a common example, the BIOS
BIOS

In computing, the Basic Input/Output System , also known as the System BIOS, is a de facto standard defining a firmware interface for IBM PC Compatible computers....
 in typical personal computers often has an option called “use shadow BIOS” or similar. When enabled, functions relying on data from the BIOS’s ROM will instead use DRAM locations (most can also toggle shadowing of video card ROM or other ROM sections). Depending on the system, this may or may not result in increased performance. On some systems the benefit may be hypothetical because the BIOS is not used after booting in favor of direct hardware access. Of course, somewhat less free memory is available when shadowing is enabled.

Recent developments

Several new types of non-volatile RAM
NVRAM

Non-volatile random access memory is the general name used to describe any type of random access memory which does not lose its information when power is turned off....
, which will preserve data while powered down, are under development. The technologies used include carbon nanotube
Carbon nanotube

Carbon nanotubes are allotropes of carbon with a nanostructure that can have a length-to-diameter ratio of up to 28,000,000:1, which is significantly larger than any other material....
s and the magnetic tunnel effect. In summer 2003, a 128 KB
Kilobyte

Kilobyte is a unit of Computer data storage equal to either 1,024 bytes or 1,000 bytes , depending on context.It is abbreviated in a number of ways: KB, kB, K and Kbyte....
 (128 × 210 bytes) magnetic RAM
MRAM

Magnetoresistive Random Access Memory is a non-volatile memory Computer storage technology, which has been under development since the 1990s. Continued increases in density of existing memory technologies – notably Flash RAM and DRAM – kept it in a niche role in the market, but its proponents believe that the advantages are so ov...
 (MRAM) chip was manufactured with 0.18 µm technology. In June 2004, Infineon Technologies
Infineon Technologies

Infineon Technologies Aktiengesellschaft was founded in April 1999 when the semiconductor operations of parent company, Siemens AG, were spun off to form a separate legal entity....
 unveiled a 16 MB
Megabyte

Megabyte is a SI prefix-multiple of the unit byte for digital information computer storage or transmission and is equal to 106 bytes....
 (16 × 220 bytes) prototype again based on 0.18 µm technology. Nantero
Nantero

Nantero is a technology company based in Woburn, Massachusetts dedicated to developing a new form of NVRAM, which they call Nano-RAM. It was founded in 2000 by Greg Schmergel, Thomas Rueckes, and Brent M. Segal....
 built a functioning carbon nanotube memory prototype 10 GB
Gigabyte

Gigabyte is an SI prefix-multiple of the unit byte for Computer data storage. Since the giga- prefix means 109, gigabyte means 1,000,000,000 bytes ....
 (10 × 230 bytes) array in 2004. Whether some of these technologies will be able to eventually take a significant market share from either DRAM, SRAM, or flash-memory technology, however, remains to be seen.

Since 2006, "Solid-state drive
Solid-state drive

A solid-state drive is a data storage device that uses Solid-state Computer storage to store persistent data. An SSD emulates a hard disk drive interface, thus easily replacing it in most applications....
s" (based on flash memory) with capacities exceeding 642 gigabytes and performance far exceeding traditional disks have become available. This development has started to blur the definition between traditional random access memory and "disks", dramatically reducing the difference in performance. Also in development is research being done in the field of plastic magnets, which switch magnetic polarities based on light
Light

Light, or visible light, is electromagnetic radiation of a wavelength that is Visible spectrum to the human eye , or up to 380?750 nm. In the broader field of physics, light is sometimes used to refer to electromagnetic radiation of all wavelengths, whether visible or not....
.

Memory wall

The "memory wall" is the growing disparity of speed between CPU and memory outside the CPU chip. An important reason for this disparity is the limited communication bandwidth beyond chip boundaries. From 1986 to 2000, CPU
Central processing unit

A central processing unit is an electronic circuit that can execute computer programs. This broad definition can easily be applied to many early computers that existed long before the term "CPU" ever came into widespread usage....
 speed improved at an annual rate of 55% while memory speed only improved at 10%. Given these trends, it was expected that memory latency would become an overwhelming bottleneck in computer performance.

Currently, CPU speed improvements have slowed significantly partly due to major physical barriers and partly because current CPU designs have already hit the memory wall in some sense. Intel summarized these causes in their
“First of all, as chip geometries shrink and clock frequencies rise, the transistor leakage current increases, leading to excess power consumption and heat (more on power consumption below). Secondly, the advantages of higher clock speeds are in part negated by memory latency, since memory access times have not been able to keep pace with increasing clock frequencies. Third, for certain applications, traditional serial architectures are becoming less efficient as processors get faster (due to the so-called Von Neumann bottleneck
Von Neumann architecture

The von Neumann architecture is a design model for a stored-program digital computer that uses a central processing unit and a single separate computer storage structure to hold both instructions and data ....
), further undercutting any gains that frequency increases might otherwise buy. In addition, partly due to limitations in the means of producing inductance within solid state devices, resistance-capacitance (RC) delays in signal transmission are growing as feature sizes shrink, imposing an additional bottleneck that frequency increases don't address.”


The RC delays in signal transmission were also noted in which projects a maximum of 12.5% average annual CPU performance improvement between 2000 and 2014. The data on clearly shows a slowdown in performance improvements in recent processors. However, Intel's new processors, Core 2 Duo (codenamed Conroe) show a significant improvement over previous Pentium 4
Pentium 4

The Pentium 4 brand refers to Intel's line of single-core mainstream Desktop computer and laptop central processing units introduced on November 20, 2000 ....
 processors; due to a more efficient architecture, performance increased while clock rate actually decreased.

Security concerns

Contrary to simple models (and perhaps common belief), the contents of modern SDRAM modules are not lost immediately when the computer is shut down; instead, the contents fade away, a process that takes only seconds at room temperatures, but which can be extended to minutes at low temperatures. It is therefore possible to get hold of an encryption key if it were stored in ordinary working memory (i.e. the SDRAM modules). This is sometimes referred to as a cold boot attack
Cold boot attack

In cryptography, a cold boot attack, platform reset attack, cold ghosting attack or iceman attack is a type of side channel attack in which an attacker with physical access to a computer is able to retrieve encryption key from a running operating system after using a Booting#Hard_reboot to restart the machine from a complet...
.

See also

  • CAS latency
    CAS Latency

    CAS RAM latency is the delay time which elapses between the moment a memory controller tells the memory module to access a particular column in a selected row, and the moment the data from the given array location is available on the module's output pins....
     (CL)
  • Dual-channel architecture
    Dual-channel architecture

    Dual-channel architecture describes a technology that theoretically doubles data throughput from the memory to the memory controller. Dual-channel-enabled memory controllers utilize two 64-bit data channels, resulting in a 128-bit data path....
  • ECC
    Error detection and correction

    In mathematics, computer science, telecommunication, and information theory, error detection and correction has great practical importance in maintaining data integrity across noisy channels and less-than-reliable storage media....
     (Error-correcting code)
  • Registered/buffered memory
    Registered memory

    Registered memory module have a Hardware register between the Dynamic_random_access_memory modules and the system's memory controller. They place less electrical load on the memory controller and allow single systems to remain stable with more memory modules than they would have otherwise....
  • RAM parity
    RAM parity

    RAM parity determines whether a random access memory unit stores a parity bit for error detection purposes. Non-parity RAM does not include a parity bit, and parity RAM does....


External links