The difference between hardware processing and software processing in Linux system

  

The various operations and processing in Linux system can be divided into two categories, one is hardware processing, and the other is software processing. The principle of hardware processing and software processing is similar. of. But there must be some differences. This article will introduce the difference between Linux system hardware processing and software processing.

Let's look at a variety of computer algorithms, what they are doing and how to do. Obviously, summing up one sentence is a sequence of actions that reasonably arrange what to do first and then what to do. These sequences occur in the passage of one-dimensional time. Although there are many parallel algorithms, it seems that time has become a plane, but as long as these algorithms are implemented by the CPU, when they cannot be decomposed, The algorithm still does what to do first, and then makes decisions between what to do. Two-point search, quick sort, aren't these examples? Carefully analyze the bubble sorting, what to do first, what to do, and then what to do. . . Finally, the results were obtained. An action is directly part of the problem. This is completely in line with our human thinking, because when we do anything, we are constantly making decisions and doing what we do first. This is the mathematics of mathematics.

The efficient equivalent of hardware implementation works in a completely different way, and it is more like the workings of neural networks inside our human brain. Since the explanation of how this brain works is beyond my ability, even if I really understand it, I can't expect to explain it in a short article that will end in the weekend, so I will just say hardware directly.

The hardware works more like the spontaneous release of potential energy. The effect of this release is determined in advance and is completely automatic. To give an example, when flooding occurs, water flows along the gully to wash the earth. The effect depends on where the height is, where it is low, and because of this difference, there are some combined effects, such as first-class split into two streams. Combine again in a low-lying area, which doubles the impact of the water flow and thus passes higher. You can think of this as a panacea. In a large irrigation system, the pipeline is connected in advance, the ditches are dug, and then the water is discharged from the water source. Everything is done automatically and completely unattended. If you follow the CPU, you must prepare some sequences in advance - be careful not to dig trenches, and then execute these sequences in turn, such as watering zone A first, then water zone B, because D zone is closer to zone B, so next watering Zone D instead of Zone C. . . Of course, at a lower level, such as a specific watering process, things are performed in a hardware manner. Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved