Joke Collection Website - Cold jokes - What's the difference between memory and CPU? I am computer illiterate. Don't laugh at me ~

What's the difference between memory and CPU? I am computer illiterate. Don't laugh at me ~

The concept of memory

Memory (physical memory) is the main memory and the internal storage component of the computer. It is a random dynamic memory, which is a channel connecting CPU and other devices. It is used to store temporary data and program instructions processed by CPU, and plays the role of buffering and data exchange. All running programs and processed data in the computer need to be read into memory from external storage devices such as hard disk, floppy disk, CD-ROM drive and U disk. Before the CPU can execute programs and process data, the data processed by the CPU should generally be stored in memory first. After the computer is turned off, all the data in the memory will disappear.

cpu

CPU is the heart of computer system. The rapid development of computers, especially microcomputers, is essentially a simple and one-way complex development process of CPU from low level to high level.

First, the concept of CPU

CPU (Central Processing Unit) is also called Central Processing Unit. Its main function is to perform arithmetic and logical operations. Its internal structure can be roughly divided into control unit, arithmetic logic unit and storage unit. According to the word length of information, it can be divided into eight-bit microprocessor, sixteen-bit microprocessor, thirty-two-bit microprocessor and sixty-four-bit microprocessor.

Second, the main performance indicators of CPU

Main frequency: that is, the clock frequency of the internal core of CPU, generally in megahertz (MHz). This is a parameter that we are most concerned about whether we use a computer or buy a computer. We usually call it 133,166,450, etc. For the same kind of CPU, the higher the main frequency, the faster the CPU speed and the higher the performance of the whole machine.

External frequency and frequency multiplier: External frequency is the external clock frequency of CPU. The external frequency is provided by the computer motherboard, and the relationship between CPU main frequency and external frequency is: CPU main frequency = external frequency × frequency doubling.

Internal cache: made of SRAM with extremely high speed, it is used to temporarily store some recent instructions and data during CPU operation. The access speed is the same as the main frequency of CPU, and the internal cache capacity is generally in KB. When working at full speed, the larger its capacity, the easier it is for the most commonly used data and results to enter the CPU for operation as soon as possible. When CPU is working, the less times it exchanges data with external cache and memory with slow access speed, the faster the operation can be compared with the computer.

Address bus width: the address bus width determines the physical address space that the CPU can access, which is simply how much memory the CPU can use.

Multimedia Extended Instruction Set (MMX) technology: MMX is a new technology adopted by Intel Corporation to enhance the application of Pentium CPU in audio, video, graphics and communication. This technology adds 57 new MMX instructions to CPU. Compared with ordinary CPU, the multimedia processing ability of CPU with MMX instruction is improved by about 60%. Even if the program without MMX instruction is used, the performance can be improved by about 15%.

Microprocessors have changed our lives in many ways. What we take for granted now was unimaginable in the past. In the 1960s, computers were big enough to fill the whole room, and only a few people could use them. The invention of integrated circuits in the mid-1960s enabled the miniaturization of circuits to be realized on a single silicon chip, which laid the foundation for the development of microprocessors. In the foreseeable future, the processing power of CPU will continue to grow at a high speed, miniaturization and integration will always be the development trend, and products of different levels, including special processors, will be formed.