Memory
Memory
Memory
• Computer memory is any physical device capable of storing information temporarily, like RAM (random
access memory), or permanently, like ROM (read-only memory). Memory devices utilize integrated circuits
and are used by operating systems, software, and hardware.
• Volatile memory loses its contents when the computer or hardware device loses power. Computer RAM is
an example of volatile memory. It is why if your computer freezes or reboots when working on a program,
you lose anything that wasn't saved.
• Non-volatile memory, sometimes abbreviated as NVRAM, keeps its contents even if the power is lost.
EPROM is an example of non-volatile memory.
• Some memory devices can store and accessing information faster than others. When buying RAM, for
example, you can easily compare different options by looking at the DDR (double data rate) version. DDR4
RAM is about two times faster than DDR3 RAM. For a more specific indicator, RAM has a megahertz (MHz)
number next to it, indicating its exact speed, the higher the MHz, the faster the RAM speed.
• While the capacity of RAM determines the amount of information your device can handle at one time, the
speed at which the information is stored and accessed also varies between memory devices.
• As mentioned above, because RAM is volatile memory, when the computer loses power, anything stored in
RAM is lost. For example, while working on a document, it is stored in RAM. If its data was not previously
saved to non-volatile memory (e.g., the hard drive), the data would be lost when the computer loses power.
• It is common for new computer users to be confused by what parts in the computer are memory. Although
both the hard drive and RAM are memory, it's more appropriate to refer to RAM as "memory" or "primary
memory" and a hard drive as "storage" or "secondary storage."
• When someone asks how much memory is in your computer, it is often between 1 GB and 16 GB of RAM
and several hundred gigabytes, or even a terabyte, of hard disk drive storage. In other words, you always have
more hard drive space than RAM.
• Each device in a computer operates at different speeds, and computer memory gives your computer a place
to access data quickly. If the CPU had to wait for a secondary storage device, like a hard disk drive, a computer
would be much slower.
RAM
• RAM allows your computer to perform many of its everyday tasks, such as loading applications, browsing
the internet, editing a spreadsheet, or experiencing the latest game. Memory also allows you to switch
quickly among these tasks, remembering where you are in one task when you switch to another task. As
a rule, the more memory you have, the better.
• When you turn on your computer and open a spreadsheet to edit it, but first check your email, you’ll have
used memory in several different ways. Memory is used to load and run applications, such as your
spreadsheet program, respond to commands, such as any edits you made in the spreadsheet, or toggle
between multiple programs, such as when you left the spreadsheet to check email. Memory is almost
always being actively used by your computer. If your system is slow or unresponsive, you may need a
memory upgrade. If you think you may need more memory, it’s easy to upgrade your desktop or laptop
RAM yourself.
• In a way, memory is like your desk. It allows you to work on a variety of projects, and the larger your desk,
the more papers, folders, and tasks you can have out at one time. You can quickly and easily access the
information without going to a filing cabinet (your storage drive). When you’re finished with a project, or
leaving for the day, you can put some or all the projects in the filing cabinet for safekeeping. Your storage
drive (hard drive or solid-state drive) is the filing cabinet that works with your desk to track your projects.
ROM
• ROM stands for Read Only Memory. The memory from which we can only read but cannot write on it. This
type of memory is non-volatile. The information is stored permanently in such memories during manufacture.
A ROM stores such instructions that are required to start a computer. This operation is referred to as
bootstrap. ROM chips are not only used in the computer but also in other electronic items like washing
machine and microwave oven.
• The advantages of ROM are as follows –
o Non-volatile in nature
o Cannot be accidentally changed
o Cheaper than RAMs
o Easy to test
o More reliable than RAMs
o Static and do not require refreshing
o Contents are always known and can be verified
TYPES OF MEMORY
• Cache memory. This temporary storage area, known as a cache, is more readily available to the processor
than the computer's main memory source. It is also called CPU memory because it is typically integrated
directly into the CPU chip or placed on a separate chip with a bus interconnect with the CPU.
• RAM. The term is based on the fact that any storage location can be accessed directly by the processor.
• Dynamic RAM. DRAM is a type of semiconductor memory that is typically used by the data or program
code needed by a computer processor to function.
• Static RAM. SRAM retains data bits in its memory for as long as power is supplied to it. Unlike DRAM,
which stores bits in cells consisting of a capacitor and a transistor, SRAM does not have to be periodically
refreshed.
• Double Data Rate SDRAM. DDR SRAM is SDRAM that can theoretically improve memory clock speed
to at least 200 MHz.
• Double Data Rate 4 Synchronous Dynamic RAM. DDR4 RAM is a type of DRAM that has a high-
bandwidth interface and is the successor to its previous DDR2 and DDR3 versions. DDR4 RAM allows for
lower voltage requirements and higher module density. It is coupled with higher data rate transfer speeds and
allows for dual in-line memory modules (DIMMS) up to 64 GB.
• Rambus Dynamic RAM. DRDRAM is a memory subsystem that promised to transfer up to 1.6 billion bytes
per second. The subsystem consists of RAM, the RAM controller, the bus that connects RAM to the
microprocessor and devices in the computer that use it.
• Read-only memory. ROM is a type of computer storage containing nonvolatile, permanent data that,
normally, can only be read and not written to. ROM contains the programming that enables a computer to
start up or regenerate each time it is turned on.
• Programmable ROM. PROM is ROM that can be modified once by a user. It enables a user to tailor a
microcode program using a special machine called a PROM programmer.
• Erasable PROM. EPROM is programmable read-only memory PROM that can be erased and re-used.
Erasure is caused by shining an intense ultraviolet light through a window designed into the memory chip.
• Electrically erasable PROM. EEPROM is a user-modifiable ROM that can be erased and reprogrammed
repeatedly through the application of higher than normal electrical voltage. Unlike EPROM chips, EEPROMs
do not need to be removed from the computer to be modified. However, an EEPROM chip must be erased
and reprogrammed in its entirety, not selectively.
• Virtual memory. A memory management technique where secondary memory can be used as if it were a part
of the main memory. Virtual memory uses hardware and software to enable a computer to compensate for
physical memory shortages by temporarily transferring data from RAM to disk storage.
HISTORY OF MEMORY
• In the early 1940s, memory was only available up to a few bytes of space. One of the more significant
signs of progress during this time was the invention of acoustic delay line memory. This technology
enabled delay lines to store bits as sound waves in mercury, and quartz crystals to act as transducers to
read and write bits. This process could store a few hundred thousand bits. In the late 1940s, nonvolatile
memory began to be researched, and magnetic-core memory -- which enabled the recall of memory after
a loss of power -- was created. By the 1950s, this technology had been improved and commercialized and
led to the invention of PROM in 1956. Magnetic-core memory became so widespread that it was the main
form of memory until the 1960s.
• Metal-oxide-semiconductor field-effect transistors, also known as MOS semiconductor memory, was
invented in 1959. This enabled the use of MOS transistors as elements for memory cell storage. MOS
memory was cheaper and needed less power compared to magnetic-core memory. Bipolar memory, which
used bipolar transistors, started being used in the early 1960s.
• In 1961, Bob Norman proposed the concept of solid-state memory being used on an integrated circuit
(IC) chip. IBM brought memory into the mainstream in 1965. However, users found solid-state memory
to be too expensive to use at the time compared to other memory types. Other advancements during the
early to mid-1960s were the invention of bipolar SRAM, Toshiba's introduction of DRAM in 1965 and
the commercial use of SRAM in 1965. The single-transistor DRAM cell was developed in 1966, followed
by a MOS semiconductor device used to create ROM in 1967. From 1968 to the early 1970s, N-type MOS
(NMOS) memory also started to become popularized.
• By the early 1970s, MOS-based memory started becoming much more widely used as a form of memory.
In 1970, Intel had the first commercial DRAM IC chip. One year later, erasable PROM was developed
and EEPROM was invented in 1972.