Server
Recently, with Intel's official release of its dual-core Xeon processor and the active follow-up of several domestic and foreign manufacturers, there seems to be a great interest in the dual-core technology, which has already cooled down.
What is dual-core technology, I believe most people can understand, but why use dual core? What benefits can it bring to us? How to use to play the true power of dual-core? These questions still lack a more definitive answer. In fact, several professional media in China have also published some technical articles to discuss this topic, but a little DIY to analyze the taste of dual-core. We feel that the dual-core processor on the personal computer application value and popularization speed should be far behind this technology for the server domain, so today I am completely in the position of server application, combined with some of their views, to talk about dual-core technology:
What is dual-core technology?
Adopt a more receptive version of the argument, a dual-core processor is a processor core that has two functions on one processor based on a single semiconductor, but it's hard to explain essentially why a dual-core is born, and if you want to pursue the origins of the two cores, you have to start with some basic knowledge of physics and electronics:
Unable to overcome power and calorific value
Now the chips are made on a single crystal wafer, large area of the wafer itself will inevitably exist some defects, the process of production sometimes will also bring defects in silicon crystals. In addition, although the factory cleanliness is very high, but in the production process or unavoidable to bring some impurities, interconnect layer in the manufacturing will also introduce their own defect form. Such a large scale chip is hard to guarantee that there is no defect at all. Now that the semiconductor is in the process of 90 nm, the effect of defects and impurities is more common, the size of the transistor has been and some defects or impurities in the size of a magnitude, even smaller transistor size. In general, non-fatal defects can lead to reduced circuit performance, in order to compensate for the loss caused by the defects, it is necessary to give the circuit higher voltage and greater current, many defects in reducing the transistor performance while also increasing the power of the transistor, the previous CMOS digital circuit is the main power consumption is the dynamic power consumption, But after the 90nm process, the situation has changed a lot, many of the original basic negligible power consumption factors now occupy a larger proportion, such as circuit interconnection loss, leakage loss. Among them, the impact of leakage loss has increased dramatically. That's why after using the 0.09 micron process, the heat and power consumption of various processors is the reason for the rising trend, High-frequency Prescott processor power consumption will be nearly 100W, you know, a solder can quickly melt the soldering iron is about 50W, therefore, high power consumption and the frightening calorific value of the CPU continues to the high frequency A major obstacle, many people predicted that after the birth of the 4GHz processor, everyone would be able to boil the eggs through the CPU heatsink.
Solutions outside of high frequency
Since it is not possible to achieve higher frequencies by continuing to increase the frequency, how should the user's need for product performance improvement be met?
The first approach, of course, is to use 64-bit technology, why the 64-bit operation is more powerful than the 32-bit performance, this is a good understanding, for example, you use 32-bit CPU, to export a 64-bit data, you need to consume two time pulse, but if you use a 64-bit CPU, as long as one time pulse is done.
Another approach is to use the multipath symmetry technique, the basic theory of course is to use two processors to do a processor, like disk array technology, RAID 0 is the use of two hard drives to access a file at the same time, each access half, so spend half the time, if the use of 4 hard disk, That is, each block access 1/4, the time required is naturally shorter; the CPU's multipath symmetry is also the case, therefore, the high-end server many use 4-way, 8-way equipped, is to improve product performance.
The difficulty of multi-path symmetry
It is not difficult to achieve high-performance array storage with 2 or even 4 hard drives, because the RAID controller automatically controls how the hard drives work, and the programmer or CPU simply tells the RAID controller what data to read or write, and how to split the data. Several hard drives how to allocate read and write problems do not need computer users, programmers to consider, so the original operating system and software do not need to make changes, but the CPU's multipath symmetry work is different, because all the computer instructions are CPU to execute, If the programmer only orders the CPU to execute what instructions and not tell the computer which CPU to execute the instruction, then there will be chaos, and if it is two CPUs, the command scheduling allocation is also better design, if it is 4-8, then the situation is very complex, like two elevators of the joint control program easy to write, But the joint control procedures for 4 elevators are very difficult to write, because they are 2 of 2 times and 4 of 2 times the relationship.
In addition, because multi-core chips integrate two or more independent CPU cores into a single wafer, some people suspect that their fatal weakness is data movement between these CPU cores, and there are some performance bottlenecks when multi-core systems run different applications competing for the same I/O path. But so far, the impact of these bottlenecks has been small.
How to use a lot of road symmetry
The multiple symmetric mode of work requires programmers to design the software itself can support a number of CPU command scheduling, so that all the CPU is the most reasonable and most efficient scheduling to work together. Because most of the application software is the use of a large number of API functions developed, so as a command-machine interaction role of the operating system is the fundamental and key to the development of multiple symmetric, a set of operating systems can be a good coordination between the working relationship between multiple CPUs, is a multi-channel model can successfully play its performance key
Microsoft's server-level operating system supports multipath mode, and the latest 2003 server also improves the multipath-symmetric command-scheduling design, enabling the server to perform better in multiple-channel mode. In addition, the design of the application itself is also a determining factor in the effectiveness of the multiple-symmetric work, for example, the 3D games are now based on single-threaded development, which means that the game does not invoke the operating system's multithreaded functions, so that even with a multiple-symmetric operating system, the application can not be improved , therefore, you can note that so far the multi-channel design is only in the server, workstations and other high-end areas, because from the cost and effectiveness of the use of personal consumption in the area of multiple design is not wise.
Dual-Core Advantages:
The difficulty of dual-core
The idea of dual-core technology is the same as the multiple-path symmetry, but the way it does not need two CPU and two CPU slots, but the same as ordinary single configuration, a CPU with two cores, that is 1 die 2 cores, on a single crystal silicon Integrated 2 cores, of course, This is very difficult to make, because the dual-core design means that the number of transistors will multiply, so the production process is not much improved under the premise that the yield will be reduced.
In addition, dual core since the need for more transistors, it means that its calorific value will be greater, how to solve the CPU heat dissipation problem is very much to the processor manufacturers headache, as you can see, the current market of dual-core processors are not afraid to produce high-frequency version, one of the important factors is calorific value of the problem Only when the manufacturer improves the production process and reduces the power loss and electrical leakage caused by defects inside the CPU, it is possible to develop the high frequency version.
There is also a problem, as with the multipath symmetry, dual-core also requires the operating system and application software support to play its performance, although the current server operating system can provide a good dual-core support, many distributed applications in the dual-core model has achieved satisfactory results, but, For dual-core software billing has become a headache, some database systems and application software vendors for multiple-server multiple processors are designed for additional license fees, three of the largest software manufacturers have adopted a different licensing method: IBM will be based on different circumstances to make licensing decisions, Oracle calculates the dual-core chip as two chips, while Microsoft plans to treat the dual-core chip as a single chip.
The advantages of dual-core
Since the promotion of dual-core technology is so difficult, what is the advantage of dual-core technology?
First of all, dual-core can provide the same as the two-way excellent scientific computing performance and multithreading capabilities, which is why we have been emphasizing that multi-core processors should be promoted in the server domain, rather than first in the field of personal consumption, after all, scientific computing in the development of multi-threaded software is still very much.
In addition, both AMD and Intel's dual cores can be compatible with the current platform architecture, their dual-core processors can work on the respective monolithic motherboards, which means that the cost of upgrading to two-and multiple-way users can be greatly saved, Because a two-way motherboard is priced more expensive than a single 80-100% motherboard, with a dual-core processor, the user can use a single board to achieve dual performance, while the cost of a lot of savings, which for those who need high-performance multi-channel products for users is undoubtedly a great boon.