作用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

无忧云:服务器100G高防云服务器,bgpBGP云,洛阳BGP云服务器2核2G仅38.4元/月起

无忧云怎么样?无忧云值不值得购买?无忧云,无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点。目前,四川雅安机房,4...

NameCheap 2021年新年首次活动 域名 域名邮局 SSL证书等

NameCheap商家如今发布促销活动也是有不小套路的,比如会在提前一周+的时间告诉你他们未来的活,比如这次2021年的首次活动就有在一周之前看到,但是这不等到他们中午一点左右的时候才有正式开始,而且我确实是有需要注册域名,等着看看是否有真的折扣,但是实际上.COM域名力度也就一般需要51元左右,其他地方也就55元左右。当然,这次新年的首次活动不管如何肯定是比平时便宜一点点的。有新注册域名、企业域...

香港云服务器 1核 256M 19.9元/月 Mineserver Ltd

Mineserver(ASN142586|UK CompanyNumber 1351696),已经成立一年半。主营香港日本机房的VPS、物理服务器业务。Telegram群组: @mineserver1 | Discord群组: https://discord.gg/MTB8ww9GEA7折循环优惠:JP30(JPCN2宣布产品可以使用)8折循环优惠:CMI20(仅1024M以上套餐可以使用)9折循...

cpu的作用为你推荐
蓝色骨头手机谁有崔健执导的电影《蓝色的骨头》。网站检测请问,对网站进行监控检测的工具有哪些?125xx.com115xx.com是什么意思sesehu.comwww.hu338.com 怎么看不到啊www.kaspersky.com.cn现在网上又有病毒了?www.henhenlu.com有一个两位数,十位数字是个位数字的二分之一,将十位数字与个位数字对调,新的两位数比原来大36,这个两位数www.hyyan.comdota屠夫怎么玩?从初期到后期的装备是什么?555sss.comms真的是500万像素?www.toutoulu.com安装好派克滤芯后要检查其是否漏气19ise.com欲火难耐看什么电影 19部性感至极的佳片
二级域名查询 西部数码vps 什么是域名地址 息壤主机 优惠码 evssl 大容量存储 刀片服务器是什么 gspeed ntfs格式分区 秒杀汇 美国堪萨斯 网通服务器托管 带宽租赁 www789 免费的域名 国外的代理服务器 photobucket 114dns 电信宽带测速软件 更多