Random-access memory
Random-access memory (RAM) is a form of computer memory that can be read and changed in any order, typically used to store working data and machine code. A random-access memory device allows data items to be read or written in almost the same amount of time irrespective of the physical location of data inside the memory. In contrast, with other direct-access data storage media such as hard drives, CD-RWs, DVD-RWs and the older magnetic tapes and drum memory, the time required to read and write data items varies significantly depending on their physical locations on the recording medium, due to mechanical limitations such as media rotation speeds and arm movement.
Types of RAM[edit | edit source]
There are two main types of RAM: Dynamic random-access memory (DRAM) and Static random-access memory (SRAM). DRAM is the more common type, used in most personal computers, because it is cheaper and has a higher density, allowing more data to be stored in a smaller physical space. However, DRAM needs to be refreshed thousands of times per second to retain data, making it slower than SRAM. SRAM does not need to be refreshed, which makes it faster but also more expensive. It is typically used in small amounts as cache memory inside the CPU.
Dynamic Random-Access Memory (DRAM)[edit | edit source]
DRAM stores each bit of data in a separate capacitor within an integrated circuit. The capacitor can either be charged or discharged; these two states are taken to represent the two values of a bit, conventionally called 0 and 1. The electric charge on the capacitors slowly leaks away, so without intervention, the data on the chip would soon be lost. To prevent this, DRAM requires an external memory controller to periodically refresh the data stored in the capacitor, by reading the charge and then writing it back.
Static Random-Access Memory (SRAM)[edit | edit source]
SRAM stores a bit of data on four transistors that form two cross-coupled inverters. This design allows SRAM to be faster than DRAM; however, it is also more expensive to produce. SRAM is used where speed is crucial, such as in the cache memory of processors.
Uses of RAM[edit | edit source]
RAM is a critical component in all computing devices, from microcontrollers to the largest supercomputers. It serves as a computer's "working memory," providing space for the computer to read and write data to be accessed by the CPU quickly. In most computers, RAM is volatile, meaning it only retains data while powered on. This is why computers lose the contents of RAM when they are turned off, unlike non-volatile storage devices like hard drives and solid-state drives (SSDs) that retain data when powered off.
History[edit | edit source]
The concept of random-access memory dates back to the 1940s, with the first practical form of RAM being the Williams tube, a type of cathode ray tube, used in the earliest computers. Since then, RAM technology has evolved significantly, from magnetic-core memory used in the 1950s and 1960s, to the semiconductor-based RAM used in modern computers.
Future of RAM[edit | edit source]
The future of RAM includes developments in both technology and application. Newer types of RAM, such as Magnetoresistive Random-Access Memory (MRAM) and Resistive Random-Access Memory (ReRAM), promise the speed of SRAM with the non-volatility of flash memory, potentially revolutionizing memory storage. Additionally, as computing devices become increasingly integrated into everyday life, the demand for faster, more efficient, and higher-capacity RAM continues to grow.
Random-access memory Resources | |
---|---|
|
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD