The computer's brain--cpu

Source: Internet
Author: User

when solving a problem with a computer, we must first write a program for it. A program is a sequence of instructions that explicitly tells the computer what to do and where to find the data to manipulate it. Once the program is loaded into memory, the computer component can automatically complete the tasks of finger and finger. The part that is designed to do this is called the CPU. The following is the CPU model diagram, it has three major parts, namely: the operator,cache, controller .

CPU It is extremely important to the operation of the whole computer system, it has four functions mainly:

Command control

Sequence control of the program to ensure that the machine executes the program sequentially.

Operation Control

CPU manages and generates an operational signal for each instruction taken out of memory and sends the operation signal to the specified part for the required action.

Time Control

The timing of the implementation of each operation, to ensure that the computer methodical work.

Data processing

For arithmetic or logical operation of data, raw data is only useful to people when processed. The processing of data is the Basic task of CPU.

for the computer we have been pursuing the goal is very high computational speed, parallel processing technology emerged.

There are three types of computer parallel processing technology: time parallel, space parallel, time parallel + space parallel. Programs and data are stored in main memory, and main memory usually uses multi-body interleaved memory to improve access speed. the cache is a cache buffer that compensates for the difference in speed between main memory and CPU .

Computer pipelining process is similar to the production line in the factory, the task is decomposed into a series of sub-tasks, sub-tasks in the pipeline at all stages of concurrent execution, the task of continuous input pipeline, the pipeline output continues to spit out the results, to achieve sub-task-level concurrency.

Pipeline is generally divided into command lines, arithmetic lines, processing lines. If the pipeline has good performance, it is necessary to ensure that the pipeline flow smoothly, without interruption. However, due to the occurrence of three related conflicts (resource-related, data-related, control-related) to achieve continuous flow of pipeline is difficult .

A good CPU will be the performance of the computer, the future we can create what kind of CPU, our computer can reach what degree, everything seems in the future, but in our hands, only fully understand the CPU, understand the computer we can stand on the shoulders of giants to go higher!

The computer's brain--cpu

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.