search
HomeCommon ProblemWhat is the main difference between main memory and external memory?

The main difference between main memory and external memory is: main memory is used to store programs and data that are to be used immediately. The access speed is fast, but the capacity is small and the price is expensive; external memory is used to store programs that are not used temporarily. And data, large capacity, low price, but slow access speed.

What is the main difference between main memory and external memory?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

Memory is a memory component used to store programs and various data information. Memory can be divided into two categories: main memory (referred to as main memory or memory) and auxiliary memory (referred to as auxiliary memory or external memory). It is the main memory that directly exchanges information with the CPU.

Main memory is an important component of computer hardware. Its function is to store instructions and data, and can be directly accessed randomly by the central processing unit (CPU). Modern computers often adopt multi-level storage systems in order to improve performance while maintaining reasonable costs. That is, a cache memory with small storage capacity and high access speed, and a main memory with moderate storage capacity and access speed are essential. Main memory stores information according to address, and the access speed generally has nothing to do with the address. A 32-bit (bit) address can express a maximum memory address of 4GB. This is sufficient for most applications, but it is not enough for some extremely computationally intensive applications and extremely large databases, which requires a 64-bit structure.

External memory refers to storage other than computer memory and CPU cache. This type of storage can generally still save data after power is turned off. Common external memories include hard disks, floppy disks, optical disks, U disks, etc.

The difference between main memory and external memory

The most prominent feature of main memory is fast access speed, but small capacity and expensive price; the characteristic of external memory is capacity Large, low price, but slow access speed.

Main memory is used to store programs and data that are needed immediately; external memory is used to store programs and data that are not used temporarily. Information is frequently exchanged between internal memory and external memory.

If you want to read more related articles, please visit PHP Chinese website! !

The above is the detailed content of What is the main difference between main memory and external memory?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools