作用cpu与gpu的作用和位置分析(Role and position analysis of CPU and GPU)

cpu的作用  时间:2021-03-16  阅读:()

cpu与gpu的作用和位置分析Role and position analysis of CPUand GPU

The effect of CPU: CPU as the core of a computer, it proved tobe irreplaceable, this is the past, today is still such, thefuture should be like this, but may be increased and endowedwith more complex function. Why is CPU able to control the coreof a computer and manage a complex and sophisticated computersystem with ease? Why can CPU be properly termed "brain" ofcomputers rather than other components?This is because CPU isdesigned primarily for the execution of operating systems,system software, scheduling and running a wide variety ofapplications, and for coordinating and controlling the entirecomputer system. CPU has a universal characteristic, which is"man" or "generalist", what should be, but this doesn't meanthat CPU each task has a top level.

The integration of millions, tens of millions or even hundredsof millions of transistors, CPU chip, in addition to computingpower circuit and structure, also has a central controller andthe other hardware circuit with the circuit structure andmodern CPU also has more thinking ability, such as logic,speculative execution, prediction of execution and so on. Onlywith these qualities will CPU be able to work as a "brain" forc omputers.

So what does CPU rely on for thought, command, and control?Theanswer is the instruction set. Instruction set is the set ofall CPU instruction processing, no instruction set chip couldnot be called CPU, but that is the CPU instruction set thinkinglanguage, CPU is the "smart", it is also a basic attribute

different from other chips. Similar to the human brain,involved in the thinking process of any man' s language, Chinesewith Chinese thinking, Americans English thinking, if used tospeak dialect, dialect people even think, people in thesubconscious instinct or conditions are most familiar withtheir own language thinking. The instruction set is the brainCPU language of the computer, and the CPU uses the instructionset to "think"".

The familiar x86 instruction set is the language of CPU thatmost of us use today, and the x86 instruction set was invented,developed, and continuously improved by Intel. All Intelarchitectures of CPU and CPU are compatible with the x86instruction set. Any program, written in any high-levelprogramming language, needs to be translated into x86instructions by a high-level language compiler or interpreterbefore it can be executed by CPU.

Such as C language, C++ language, Pascal language, advancedprogramming language is for programmers to use, people canexpress their thoughts and instruction through the high-levelprogramming language, can understand the instructions by thecompiler or interpreter into CPU, CPU can follow people"thinking and instruction" implementation of hundred-percent,strict in demands. In fact, compilers and interpreters areexecuted by CPU.

With the instruction system, CPU can control, command,coordinate and schedule the subsystems of the whole computersystem, so that they can cooperate with each other andaccomplish all kinds of tasks in an orderly way.

The role of GPU: in addition to CPU (central processing unit,also known as the central processing unit) , the computer systemalso has many PU - processing units, collectively referred toas xPU. Since they do not have the versatility of CPU, they areproprietary, and are customarily called controllers or chips.Such as memory controller, interrupt controller, Ethernet chip,USB controller and so on, although the term is not common, butwe can still put them into Memory PU, also called: InterruptPU memory processing unit -interrupt processing unit EthernetPU - USB-PU - USB Ethernet processing unit processing unitSo it' s no wonder that graphics chips, which are more graphiccomputing power, are called GPU, or graphics processing units.GPU has the characteristics of specificity and is good atgraphic calculation and processing.

The predecessor of GPU is the main chip of display card. Displaycards and displays, etc. , form a graphics subsystem in acomputer system.

The earliest display card function is relatively simple, soalso called display adapter card (referred to as video card) ,it is connected to the host and display interface card. Now thegraphics cards are 3D graphics acceleration card, the main chiphas also been dubbed GPU' s new name.

Today, there is no fundamental change in the main function ofthe video card, and its role is to transfer the outputinformation and instructions of CPU to characters, graphics andcolors, which are transmitted to the display. However, today' s

graphics cards are more capable of executing and computinggraphics when performing graphical instructions from CPU. Nowlet me explain to you.

Early graphics graphics processing ability is very weak,basically just to play the role of transfer CPU, if you wantto draw a simple graphics in graphic mode such as square, parkline graph, both need to position, each consisting of graphicsto display the size, color are all told graphics, graphics andfollow the prescribed order drawn on the display.

With the operating system and the application of complex andhigh quality graphics have become increasingly demanding,full-time CPU to do the graphics processing work hard, also lowefficiency but also The loss outweighs the gain. , cause CPU.Because CPU is designed to handle system tasks and programscheduling, not for graphics processing optimization.As a result, graphics acceleration has been given to newgraphics cards (now the main chip can be called GPU) , andgraphics cards that support 2D graphics acceleration haveemerged, greatly reducing the graphics processing pressure ofCPU. A 2D accelerated graphics card, CPU if you want to drawtwo-dimensional graphics, now only need to send a command tothe graphics card, such as "in the coordinates (x, y) to drawa length and width is a*B size of the rectangle, the graphicsgraphics accelerator (GPU) can draw with the size of theposition the graphics quickly on the display, after drawing GPUCPU notice, " I have finished, and then wait for the nextinstruction from CPU graphics.

In addition to the 2D graphics acceleration feature, the GPUnow has the capability to continuously accelerate 3D graphicsacceleration. Similarly, GPU is also the complicated 3Dgraphics processing work share from CPU over the CPU now as acommand, such as "draw a ball", to GPU, GPU to completethree-dimensional graphics rendering, and then notify the CPUfinish, waiting for the next instruction.

With a graphics accelerator, CPU is freed from the task ofgraphical processing, and can perform other more system tasks,thus improving the overall performance of the computer.However, not all 3D and graphics related operations at GPU isover, "task" transition is also gradually, for the calculationof GPU can not be achieved or not yet implemented or "work" tocomplete CPU. For example, the geometric coordinates of thegraph changes and the computation of the illumination model(T&L) are implemented in the mainstream GPU, which waspreviously done by CPU. For some of the current GPU integratedin the chipset, if there is no T&L acceleration, the T&Lcalculation is still implemented in software -- CPU. Inaddition, the coloring calculation of 3D graphics is graduallyshifted from CPU to GPU, such as vertex coloring and pixelcoloring (Vertex Shader & Pixel Shader) .

From the brief introduction of the above we can see that thefocus of the work of CPU and GPU are not the same, CPUresponsibility is much larger, with the whole computer system,to take care of all aspects, in addition to guarantee thehigh-speed operation of the whole system, but also to ensurethe stable operation of the system. Any mistake can be fatal,

so it' s hard for CPU to focus". It will often be interrupted,stop the work at hand, deal with normal or abnormal emergencytasks, otherwise the system will crash. Compared to CPU, GPU' sresponsibility to be lighter and more, if the graphicalcalculation is wrong, and run the program itself does not affectthe most, is displayed on the screen or the color graphicsdislocation chaos and so on, and is not responsible for GPUgraphics program results.

There is no GPU acceleration 2D and 3D' s, CPU swept and computergraphics all living and accelerated the "live" is not easy,today many of these jobs are GPU to do, CPU was liberated theCPU operation and control of valuable resources for more up thecore task execution system and the application of other non GPUclass. GPU is equivalent to a senior assistant at CPU withgraphics computing and processing expertise.

For non graphical tasks, CPU requires a high-level assistantfor other specialties. GPU' s contribution to the computersystem today is mainly the three-dimensional graphics ofhigh-end 3D games, and it is powerless for other broaderapplications. Such as system security encryption anddecryption, processing and processing of multimedia digitalcontent, virtual system, artificial intelligence and so on toonumerous to mention in the game.

In the future, I' ll detail some aspects of "CPU" and "GPU" aregood and not good at it".

This article is from BLOG @ Intel China. For more information,please click here

Brief introduction of the author

Zhao Jun graduated from the Department of computer science ofPeking University in June 1995 with a master' s degree incomputer science. He later taught at the Peking University' sDepartment of information management until June 1997.Zhao Jun joined Intel in July 1997 as a computer platformtechnical engineer. From 2000 to 2003, he served as a seniortechnical engineer in Intel China' s OEM division, and won theIntel achievement award in 2001".

Since October 2003 October ~2006, Zhao Jun has been in theleading technology sales division of the Intel marketing group,serving as engineering and technical manager and technicalmarketing manager. Since November 2006, he has been a seniorArchitecture Manager at the advanced technology support andservices division.

Company informat ion:

Intel Intel

CloudCone:$17.99/年KVM-1GB/50GB/1TB/洛杉矶MC机房

CloudCone在月初发了个邮件,表示上新了一个系列VPS主机,采用SSD缓存磁盘,支持下单购买额外的CPU、内存和硬盘资源,最低年付17.99美元起。CloudCone成立于2017年,提供VPS和独立服务器租用,深耕洛杉矶MC机房,最初提供按小时计费随时退回,给自己弄回一大堆中国不能访问的IP,现在已经取消了随时删除了,不过他的VPS主机价格不贵,支持购买额外IP,还支持购买高防IP。下面列...

华纳云,3折低至优惠云服务器,独立服务器/高防御服务器低至6折,免备案香港云服务器CN2 GIA三网直连线路月付18元起,10Mbps带宽不限流量

近日华纳云发布了最新的618返场优惠活动,主要针对旗下的免备案香港云服务器、香港独立服务器、香港高防御服务器等产品,月付6折优惠起,高防御服务器可提供20G DDOS防御,采用E5处理器V4CPU性能,10Mbps独享CN2 GIA高速优质带宽,有需要免备案香港服务器、香港云服务器、香港独立服务器、香港高防御服务器、香港物理服务器的朋友可以尝试一下。华纳云好不好?华纳云怎么样?华纳云服务器怎么样?...

Stablehost 美国主机商黑五虚拟主机四折

如今我们网友可能较多的会选择云服务器、VPS主机,对于虚拟主机的话可能很多人不会选择。但是我们有些外贸业务用途的建站项目还是会有选择虚拟主机的。今天看到的Stablehost 商家虚拟主机在黑五期间也有四折优惠,对于这个服务商而言不是特别的喜欢,虽然他们商家和我们熟悉的老鹰主机商有些类似,且在后来老鹰主机改版和方案后,Stablehost 商家也会跟随改版,但是性价比认为不如老鹰主机。这次黑色星期...

cpu的作用为你推荐
站酷zcool有什么很好的平面设计如ZCOOL这种的好网站?lunwenjiancewritecheck论文检测准吗?冯媛甑冯媛甄详细资料www.zjs.com.cn中国快递公司排名www.javmoo.comJAV编程怎么做?www.585ccc.com手机ccc认证查询,求网址sesehu.comwww.hu338.com 怎么看不到啊kb123.net股市里的STAQ、NET市场是什么?ww.66bobo.com谁知道11qqq com被换成哪个网站66smsm.comffff66com手机可以观看视频吗?
美国vps服务器 域名主机 php空间租用 花生壳域名贝锐 simcentric arvixe wavecom mobaxterm 抢票工具 directadmin 空间服务商 免费ftp空间申请 e蜗 世界测速 免费智能解析 购买国外空间 备案空间 云营销系统 登陆qq空间 腾讯数据库 更多