Components of the processor. From sand to processor. Processor characteristics: process type

Hello dear readers. Today we will show you what a processor consists of from the inside. Many users, of course, have had experience installing a processor on a motherboard, but not many know what it looks like from the inside. We will try to explain to you sufficiently in simple language, so that it would be clear, but at the same time without omitting details. Before we start talking about components processor, you can get acquainted with the very interesting Russian prototype Elbrus.

Depending on the processor, a failed branch prediction could mean discarding a dozen pipeline instructions or more - and wasting many cycles. There is another problem with the pipeline model as we described it above. In our examples, we assumed that fetching instructions and data from system memory could be completed in a single clock cycle.

To get around this, modern processors use two approaches. In addition to caching, processors can also implement out-of-order execution. A buffering system is used to ensure that instructions take effect in the correct order, even if they are executed out of sequence.

Many users believe that the processor looks exactly as shown in the picture.


However, this is the entire assembly, which consists of smaller and vital parts. Let's take a look at what the processor consists of from the inside. The processor includes:

This allows them to iterate over multiple instructions at once, which in turn means you can run more programs at the same time. Availability multi-core processor usually doesn't speed things up individual programs. This is because most programs are designed in a strict linear fashion, so the second command, for example, must be executed after the first has completed, rather than at the same time.

However, some types of tasks can be split into multiple threads. In this way, the total encoding time can be quartered. In fact, the core can only process one instruction at a time, but has two sets of registers, allowing it to switch its attention back and forth between the two threads to make the most of its processing power.


The figure above, number 1, shows a protective cover that provides mechanical protection from dust and other small particles. The cover is made of a material that has a high thermal conductivity coefficient, which allows you to remove excess heat from the crystal, thereby ensuring the normal temperature range of the processor.

As expected, the advantage is smaller than you might see on two physical cores. This means they can handle huge numbers at full speed with excellent accuracy. Implementing these special instructions involves significant engineering work during the design phase, but once the feature is there, it can greatly enhance tasks such as video processing and data compression.

Another type of extension that is usually found in modern processors, is hardware virtualization. Typically virtualization software acts as a middle man between virtual environment and real hardware resources, which can significantly slow down the work. Virtualization extensions allow you to run on virtual machine code running directly on the processor, at full speed - but instructions that cannot be executed natively are automatically captured so they can be processed software virtualization.

Number 2 shows the “brain” of the processor and the computer as a whole - this is a crystal. It is he who is considered the most “smart” element of the processor, which performs all the tasks assigned to it. You can see that a thin layer of microcircuit is applied to the crystal, which ensures the specified functioning of the processor. Most often, processor crystals are made of silicon: this is due to the fact that this element has quite complex molecular bonds that are used in the formation of internal currents, which ensures the creation of multi-threaded information processing.

Extensions can also be used for security purposes. In fact, it is a miracle of technology. But within a given family, it is likely that most models will use the same basic design. Physical arrangement of transistors inside different models functionally identical. This approach makes commercial sense because creating a photolithographic process is not cheap. But this means that if any bugs find their way into the process, they will affect the entire processor family.

In such cases, the only thing to do is to revise the design and introduce the so-called new "stepping". Even when there is no problem with the chip, it is common for processors to have multiple steppings over the course of their life. When the processor is taxed, the speed immediately increases again. This allows the computer to deliver full performance when the user wants it, while consuming less heat and consuming less power when the user is doing something passive, such as reading a web page.

Number 3 shows the textolite platform to which everything else was attached: the crystal and the lid. This platform also acts as a good conductor, which ensures good electrical contact with the crystal. On the back side of the platform, in order to increase electrical conductivity, there are many points made of precious metal (sometimes even gold is used).

When only one or two cores were used, it was possible to automatically increase the speed of those cores while staying within the overall heat and power budget. The ability of a computer to process multiple tasks simultaneously is called multiprocessing. A multiprocessing operating system is capable of running many programs simultaneously, and most modern network operating systems support multiprocessing.

The main reason why multiprocessing is more difficult than single processing is that it OS are responsible for allocating resources to competing processes in a controlled environment. With the rise of commercial networking, the practice of using multiple processors on embedded motherboards has become almost universal. Not long ago, customers or network administrators designed most multiprocessing configurations at the board or system level.

Here's what electrically conductive points look like using an Intel processor as an example.


The shape of the contacts depends on which socket is on motherboard. It also happens that instead of the dots on the back of the platform, you can see pins that perform the same role. Typically, for Intel family of processors, the pins are located on the motherboard itself. In this case, points will be located on the substrate (aka platform). For the family AMD processors the pins are located directly on the substrate itself. Such processors look like this:

Today there are motherboards with multiple microprocessors on a single chip. A multiprocessor system uses more than one processor to process any given workload, increasing the performance of the system's application environment beyond that of a single processor. This allows you to tune the server's network performance to provide the required functionality. As described in Chapter 2, “Server Availability,” this feature is known as scalability and is the most important aspect of a multiprocessor system architecture.


Now let's look at the method of attaching all the parts. In order for the lid to be firmly held on the substrate, it is “seated” using a special glue-sealant that is resistant to high temperatures. This allows the structure to be in permanent connection without violating its integrity.

The scalable system architecture allows network administrators to tune the server's network performance based on the number of processing nodes required. Collections of processors arranged in a loosely coupled configuration and communicating with each other over a communication channel have been the most common multiprocessor architecture.

This communication channel may not necessarily consist of a conventional serial or parallel device. Instead, it may consist of shared memory shared by processors on the same board or even across a backplane. These communicating processors operate as independent nodes using their own memory subsystems.

To ensure that the crystal does not overheat, a special gasket 1 is applied to it, on top of which, in turn, thermal paste 2 is applied, which ensures effective heat removal to the lid. The lid is also “lubricated” on the inside with thermal paste.


Recently, the space of built-in server boards was organized to house tightly coupled processors, either as a pair or as an array. These processors share a common bus and address memory. The switch connects them, and interprocessor communication is carried out through message passing. In an overall system configuration, the processors operate as a single node and appear as a single processing element. Additional loosely coupled processing nodes increase the overall processing power of the system.

As more tightly coupled processors are added, the total processing power of a single node increases. These processors have gone through many stages of improvement in recent years. Dual processor systems are intended for use exclusively with dual processor motherboards with one or two sockets. Multiprocessor systems typically have board space for four or more processors, although there are no minimum requirements.

Let's now see what a dual-core processor looks like. The core is a separate, functionally independent crystal, which is installed in parallel on the substrate. It looks like this.


Thus, 2 cores installed side by side increase the total processor power. However, if you see 2 crystals standing next to each other, this will not always mean that you have a dual-core processor. On some sockets, 2 crystals are installed, one of which is responsible for the arithmetic-logical part, and the other for graphics processing (a certain built-in GPU). This comes in handy in cases where you have a built-in video card that is not powerful enough to handle, for example, some game. In these cases, the lion's share of calculations is taken over by the graphical part central processor. This is what a processor with a graphics core looks like.

Dual processors were designed to operate at higher clock speeds than multiprocessors, making them more efficient at processing high-speed mathematical calculations. Multiprocessors are designed for collaboration with large databases and business transactions.

It is possible to identify different categories of multiprocessor systems. General access Shared drives Shared memory cluster Shared memory. . Although such systems have the advantages of good scalability and high availability, they have the disadvantage of using an unusual message passing programming model.


So, friends, we figured out what the processor consists of. It has now become clear that all devices included in the processor play an important and indispensable role for high-quality work. Don’t forget to comment on articles on our site, subscribe to our newsletter and learn a lot of interesting things. Your opinion is important to us!

How the processor core works

Again, communication between processors is accomplished through message passing. The advantages of shared disks are that disk data is addressable and consistent, whereas high availability more easily obtained than in systems with shared memory. The disadvantage is that there may be limited scalability due to physical and logical access bottlenecks to shared data.

However, the processors are tightly coupled through a switch, and communication between processors is done through shared memory. In strictly distributed memory, all processors are tightly coupled via a high-speed bus on the same motherboard. The explosion of bandwidth for network servers has placed unreasonable demands on single-processor systems that cannot handle the workload! Its high performance is due to the fact that a multi-processor motherboard can handle multiple data processing paths, whereas a single-processor motherboard can only utilize the capabilities of a single processor.

The processor is the main chip of a computer. Typically, it is also one of the most high-tech and expensive PC components. Despite the fact that the processor is a separate device, it has a large number of components in its structure that are responsible for a specific function. What are their specifics?

Processor: device functions and history

The PC component, which is now commonly called the central processor, is characterized by quite interesting story origin. Therefore, in order to understand its specifics, it will be useful to examine some key facts about the evolution of its development. The device that modern users know as a central processing unit is the result of many years of improvement in computing chip production technologies.

Hardware performance can be easily and inexpensively improved by placing more than one processor on the motherboard. One approach is called asymmetric multiprocessing, where specific jobs are assigned to specific processors. The second approach is one that is often mentioned in this book, called symmetric multiprocessing, where all the processors work in parallel, doing the same job.

Programming for these types of situations requires special protection. Often, process programming was typically run on only one processor at a time, ensuring the process was safe from intrusion. However, the program core was still subject to challenge by different codes running on different processors. Although the system was protected from competing processors, it performed inefficiently.

Over time, engineers' vision of the processor structure changed. In computers of the first and second generations, the corresponding components consisted of a large number of separate blocks, very different in the tasks they solved. Beginning with the third generation of computers, processor functions began to be considered in a narrower context. Computer design engineers determined that this should be the recognition and interpretation of machine commands, entering them into registers, as well as controlling other PC hardware components. All these functions began to be combined in one device.

Symmetric multiprocessor environments

Know that the main idea behind symmetric multiprocessing is the use of multiple threads. Otherwise, program execution cannot be switched between processors. The four boxes represent four separate processors, each with its own on-chip Level 1 cache. Data is transferred between the processor's Level 1 cache and into a separate Level 2 cache that is assigned to that processor.

What is a processor

Memory coherence and shared memory are a big challenge for designers of multiprocessor architectures, which is further complicated by the presence of on-chip high-speed cache memory. In a system that does not use a high-speed cache, the processor reads these memory locations repeatedly during program execution. This reduces system bus leakage and improves performance.

Microprocessors

As the computer equipment Devices called “microprocessors” began to be introduced into the structure of the PC. One of the first devices of this type was the Intel 4004, released by an American corporation in 1971. Microprocessors on the scale of a single chip combine in their structure the functions that we defined above. Modern devices, in principle, work based on the same concept. Thus, the central processor of a laptop, PC, tablet contains in its structure: a logical device, registers, as well as a control module responsible for specific functions. However, in practice, the components of modern microcircuits are most often presented in a more complex set. Let's study this feature more details.

Structure of modern processors

The central processor of a modern PC, laptop or tablet is represented by a core - it is now considered the norm that there are several of them, cache memory at various levels, as well as controllers: RAM, system bus. The performance of a given chip type is determined by its key characteristics. In what totality can they be presented?


The most significant characteristics of the central processor on modern PCs are: the type of microarchitecture (usually indicated in nanometers), clock frequency(in gigahertz), the amount of cache memory at each level (in megabytes), power consumption (in watts), and the presence or absence of a graphics module.

Let's study the specifics of the operation of some key modules of the central processor in more detail. Let's start with the core.

CPU core

The central processor of a modern PC always has a core. It contains the key functional blocks of the microcircuit, through which it performs the necessary logical and arithmetic functions. As a rule, they are presented in some set of elements. Thus, the design of the central processor most often involves the presence of blocks that are responsible for solving the following tasks:

Instruction fetching and decoding;

Data sampling;

Follow instructions;

Saving calculation results;

Working with interruptions.


Also, the structure of microcircuits of the corresponding type is supplemented by a control unit, a storage device, a program counter, and a set of registers. Let us consider the specifics of the operation of the corresponding components in more detail.

Processor core: components

Among the key blocks in the central processor core is the one that is responsible for reading instructions that are written in the address recorded in the program counter. As a rule, several operations of the corresponding type are performed at once during one clock cycle. The total number of instructions to be read is predetermined by the indicator in the decoding blocks. The main principle here is that at each clock cycle the marked components are loaded as much as possible. In order to ensure compliance with this criterion, auxiliary hardware elements may be present in the processor structure.

The decoding block processes instructions that determine the algorithm for the operation of the microcircuit in solving certain problems. Ensuring their functioning is a difficult task, as many IT specialists believe. This is due, in part, to the fact that the length of the instruction is not always clearly defined. Modern processors usually include 2 or 4 blocks in which the corresponding decoding is carried out.

Regarding the components responsible for data retrieval, their main task is to ensure the receipt of commands from cache memory or RAM, which are necessary to ensure the execution of instructions. The cores of modern processors usually contain several blocks of the corresponding type.

The control components present in the chip are also based on decoded instructions. They are designed to control the work of the blocks that are responsible for executing instructions, as well as distribute tasks between them, and monitor their timely implementation. Control components belong to the category of the most important in the structure of microprocessors.

The cores of microcircuits of the corresponding type also contain blocks responsible for the correct execution of instructions. Their structure contains elements such as an arithmetic and logical unit, as well as a component responsible for floating point calculations.

There are blocks in the processor cores that control the processing of extension sets that are installed for instructions. These algorithms complement basic commands, are used to increase the intensity of data processing, to carry out file encryption or decryption procedures. Solving such problems requires introducing additional registers, as well as sets of instructions, into the structure of the microcircuit core. Modern processors usually include the following extensions: MMX (designed for encoding audio and video files), SSE (used for parallelizing calculations), ATA (used to speed up programs and reduce PC power consumption), 3DNow (expanding the multimedia capabilities of a computer), AES (data encryption), as well as many other standards.

The structure of processor cores usually also contains blocks responsible for storing results in RAM in accordance with the address contained in the instructions.

An important component of the kernel is the one that controls the interrupt operation of the chip. This function allows the processor to ensure the stability of programs under multitasking conditions.

The work of the central processor also involves the use of registers. These components are analogous to RAM, but access to them is several times faster. The volume of the corresponding resource is small - as a rule, it does not exceed a kilobyte. Registers are classified into several types. These can be general-purpose components that are used when performing arithmetic or logical calculations. There are registers special purpose, which may include system data used by the processor during operation.


The structure of the processor core also contains various auxiliary components. Which for example? This could be a sensor that monitors how current temperature central processor. If its performance is higher than the established standards, then the microcircuit can send a signal to the modules responsible for the operation of the fans - and they will begin to rotate faster. There is a transition predictor in the kernel structure - a component that is designed to determine which commands will be executed after the completion of certain cycles of operations performed by the chip. An example of another important component is the program counter. This module records the address of the corresponding algorithm, which is transmitted to the microcircuit at the moment it begins to execute a particular cycle.

This is the structure of the core that is part of the computer's central processor. Let us now study in more detail some of the key characteristics of microcircuits of the corresponding type. Namely: technical process, clock frequency, cache memory, and power consumption.

Processor characteristics: process type

The development of computer technology is usually associated with the emergence of new generations of computers as computing technologies improve. At the same time, not counting performance indicators, one of the criteria for classifying a computer as a particular generation can be its absolute size. The very first computers were comparable in size to a multi-story building. Second-generation computers were comparable in size to, for example, a sofa or a piano. Computers of the next level were already very close to those that are familiar to us now. In turn, modern PCs are fourth generation computers.


Actually, what is all this for? The fact is that during the evolution of computers, an unofficial rule was formed: the more technologically advanced the device, the smaller its dimensions with the same performance, or even greater, it has. It fully applies to the characteristics of the central processor under consideration, namely, the technical process of its manufacture. In this case, the distance between individual silicon crystals that form the structure of the microcircuit matters. The smaller it is, the greater the density of the corresponding elements that the central processor board places on itself. Accordingly, it can be considered more productive. Modern processors are manufactured using the 90-14 nm process technology. This indicator tends to gradually decrease.

Clock frequency

The clock speed of the central processor is one of the key indicators of its performance. It determines how many operations per second the chip can perform. The more of them, the more productive the processor and the computer as a whole. It may be noted that this parameter characterizes, first of all, the core as an independent module of the central processor. That is, if there are several corresponding components on the chip, then each of them will operate at a separate frequency. Some IT specialists consider it acceptable to summarize these characteristics for all cores. What does it mean? If, for example, the processor has 4 cores with a frequency of 1 GHz, then the total performance of the PC, if you follow this methodology, will be 4 GHz.

Frequency components

The indicator under consideration is formed from two components. First is the frequency system bus— it is usually measured in hundreds of megahertz. Secondly, this is the coefficient by which the corresponding indicator is multiplied. In some cases, processor manufacturers give users the ability to adjust both parameters. At the same time, if you set sufficiently high values ​​for the system bus and multiplier, you can significantly increase the performance of the chip. This is how the processor is overclocked. True, it must be used carefully.

The fact is that overclocking can significantly increase the temperature of the central processor. If the PC does not have an appropriate cooling system installed, this may lead to failure of the chip.

Cache size

Modern processors are equipped with cache memory modules. Their main purpose is to temporarily store data, usually represented by a set of special commands and algorithms - those that are most often used in the operation of the microcircuit. What does this mean in practice? First of all, the CPU load can be reduced due to the fact that those same commands and algorithms will be available online. The microcircuit, having received ready-made instructions from the cache memory, does not waste time developing them from scratch. As a result, the work computer is coming faster.

The main characteristic of cache memory is its size. The larger it is, the more capacious this module is, accordingly, in terms of the location of the very instructions and algorithms used by the processor. The more likely it is that the microcircuit will always find the ones it needs among them and work faster. Cache memory on modern processors is most often divided into three levels. The first one works on the basis of the fastest and most high-tech microcircuits, the rest are slower. The volume of first-level cache on modern processors is about 128-256 KB, second - 1-8 MB, third - can exceed 20 MB.

Energy consumption

Another significant parameter of the microcircuit is power consumption. Powering the CPU may require significant power consumption. Modern microcircuit models consume about 40-50 W. In some cases, this parameter has economic importance- for example, if we are talking about equipping large enterprises with several hundred or thousands of computers. But an equally significant factor is power consumption in terms of adapting processors to use on mobile devices- laptops, tablets, smartphones. The lower the corresponding indicator, the longer it will be autonomous operation device.

2024 wisemotors.ru. How it works. Iron. Mining. Cryptocurrency.
Authors of the article: Gvindzhiliya Grigory and Pashchenko Sergey