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

麻花云-香港CN2云服务器,安徽BGP线路,安徽移动大带宽!全系6折!

一、麻花云官网点击直达麻花云官方网站二、活动方案优惠码:专属优惠码:F1B07B 享受85折优惠。点击访问活动链接最新活动 :五一狂欢 惠战到底 香港云主机 1.9折起香港特价体验云主机CN2 云服务器最新上线KVM架构,,默认40G SSD,+10G自带一个IPv4,免费10Gbps防御,CPU内存带宽价格购买1核1G1M19元首月链接2核2G 2M92元/3个月链接2核4G3M112元/3个月...

ZoeCloud:香港BGP云服务器,1GB内存/20GB SSD空间/2TB流量/500Mbps/KVM,32元/月

zoecloud怎么样?zoecloud是一家国人商家,5月成立,暂时主要提供香港BGP KVM VPS,线路为AS41378,并有首发永久8折优惠:HKBGP20OFF。目前,解锁香港区 Netflix、Youtube Premium ,但不保证一直解锁,谢绝以不是原生 IP 理由退款。不保证中国大陆连接速度,建议移动中转使用,配合广州移动食用效果更佳。点击进入:zoecloud官方网站地址zo...

创梦网络-四川一手资源高防大带宽云服务器,物理机租用,机柜资源,自建防火墙,雅安最高单机700G防护,四川联通1G大带宽8.3W/年,无视UDP攻击,免费防CC

? ? ? ?创梦网络怎么样,创梦网络公司位于四川省达州市,属于四川本地企业,资质齐全,IDC/ISP均有,从创梦网络这边租的服务器均可以****,属于一手资源,高防机柜、大带宽、高防IP业务,另外创梦网络近期还会上线四川联通大带宽,四川联通高防IP,一手整CIP段,四川电信,联通高防机柜,CN2专线相关业务。成都优化线路,机柜租用、服务器云服务器租用,适合建站做游戏,不须要在套CDN,全国访问快...

cpu的作用为你推荐
存储备份备份在sd卡的怎么恢复www.hao360.cn搜狗360导航网址是什么777k7.com怎么在这几个网站上下载图片啊www.777mu.com www.gangguan23.comhaole10.com空人电影网改网址了?www.10yyy.cn是空人电影网么www.javmoo.comjavimdb怎么看www.6vhao.com有哪些电影网站sesehu.comwww.hu338.com 怎么看不到啊ww.66bobo.com这个WWW ̄7222hh ̄com是不是真的不太易开了,换了吗?baqizi.cc汉字的故事100字baqizi.cc徐悲鸿到其中一张很美的女人体画
免费域名注册 ip查域名 免费vps 免费申请网站域名 动态域名解析软件 lamp edgecast stablehost 牛人与腾讯客服对话 什么是服务器托管 supercache 购买空间 创速 汤博乐 zcloud ddos攻击器下载 国内免备案cdn 新浪轻博客 个人web服务器 **tp服务器是什么 更多