The road to soft exam review-composition principle

Source: Internet
Author: User

The basic knowledge of computer systems should be a required course for programmers.

In order to continue to have a deeper understanding of the computer, it is easier to learn and get started. For example

To learn the operating system, the compilation principle is based on the composition principle.

 

The computer system consists of the following parts:


Verification Code

The verification code is used to ensure that the data is correct during transmission.

 

Parity code: Add a parity bit so that the number of 1 in the Code is odd (odd parity) or even (even parity), so that the code distance is changed to 2.

 

Hamming code:


Cyclic Redundancy verification code: modulo Division

 

 

Assembly Line

A pipeline is a quasi-parallel processing technology that allows you to execute redundant commands during execution.

 


Take the finger, analyze, and execute at the same time. This improves the utilization of each component and the average execution speed of commands.

 

 

Cache

The Cache can increase the input/output rate of CPU data and reconcile the huge difference between CPU speed and memory access speed.

 

Cache is the fastest access speed, so it is generally read from the Cache in the computer. If it is not in the Cache, it reads data from the main memory,

Finally, read data from the secondary storage.

 

Cache performance analysis:

Hit rate, the probability of access in the Cache. The number of accesses to the Cache and the number of accesses to the primary memory during the execution of the program

N2

, The Cache hit rate is H = N1/(N1 + N2)


The larger the Cache capacity, the higher the hit rate.

 

Address Image

1) directly connect to the image

The primary address block is mapped to the fixed block of the Cache.

Easy to implement

Low space utilization and high conflict Probability


2) fully connected Images

Any block mapped from the primary address block to the Cache

High space utilization and low conflict Probability

Complicated implementation


 

3) connected Images

It is a combination of address images and full connections.

The primary address block maps to any block in the Cache's fixed group.


 

The above are some basic knowledge of composition principles. The basis of the composition principle is the representation of computer hardware and data in the computer, and the architecture

Is for its basic service, how the computer works and how to improve the CPU utilization. Security and reliability ensure the normal operation of the computer.

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.