{"id":379,"date":"2016-03-14T03:17:49","date_gmt":"2016-03-14T03:17:49","guid":{"rendered":"http:\/\/www.editspecialists.com\/blog\/?p=379"},"modified":"2016-03-20T23:56:42","modified_gmt":"2016-03-20T23:56:42","slug":"gpu-vs-cpu","status":"publish","type":"post","link":"https:\/\/www.editspecialists.com\/blog\/index.php\/gpu-vs-cpu\/","title":{"rendered":"GPU vs CPU how do they divide the work?"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-top-right\"><a href=\"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/379?print=pdf\" class=\"pdfprnt-button pdfprnt-button-pdf\" target=\"_blank\" ><img decoding=\"async\" src=\"https:\/\/www.editspecialists.com\/blog\/wp-content\/plugins\/pdf-print\/images\/pdf.png\" alt=\"image_pdf\" title=\"View PDF\" \/><\/a><a href=\"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/379?print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\" ><img decoding=\"async\" src=\"https:\/\/www.editspecialists.com\/blog\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div><p>The basic components of an NLE are:<\/p>\n<p>1. Media files stored on an external HD<br \/>\n-Media access speed is determined by: <a href=\"http:\/\/www.tomshardware.com\/charts\/hard-drives,3.html\" target=\"_blank\">HD speed<\/a>, <a href=\"https:\/\/forums.adobe.com\/thread\/525263\" target=\"_blank\">Raid level<\/a> and <a href=\"http:\/\/kb.promise.com\/thread\/vess-r2600-pro-performance-and-configuration\/\" target=\"_blank\">connection speed to workstation.<\/a><br \/>\n2. CPU&gt; decode, encode and calculate\u00a0non-accelerated effects.<br \/>\n3. <a href=\"https:\/\/helpx.adobe.com\/premiere-pro\/using\/effects.html\" target=\"_blank\">GPU&gt;accelerates:<\/a><br \/>\nAlpha Adjust, Basic 3D, Black &amp; White, Brightness &amp; Contrast<br \/>\nColor Balance (RGB), Color Pass (Windows only)<br \/>\nColor Replace, Crop Drop Shadow, Edge Feather, Eight&amp;Four-Point Garbage Matte<br \/>\nExtract, Fast Color Corrector, Gamma Correction, Garbage Matte (4, 8, 16)<br \/>\nGaussian Blur, Horizontal Flip, Levels, Luma Corrector, Luma Curve, Noise<br \/>\nProc Amp, RGB Curves, RGB Color Corrector,\u00a0Sharpen<br \/>\nSixteen-Point Garbage Matte, Three-way Color Corrector, Timecode<br \/>\nTint, Track Matte Key, Ultra Keyer, Video Limiter, Vertical Flip<br \/>\nCross Dissolve, Dip to Black, Dip to White, Directional Blur, Fast Blur, Invert, Additive Dissolve, Film Dissolve, Warp Stabilizer<\/p>\n<p><strong>7\u00a0steps to render\/playback a frame:<\/strong><br \/>\n1. Frame\u00a0is fetched from disk.<br \/>\n2. CPU decodes the frame (<a href=\"http:\/\/www.fallenempiredigital.com\/blog\/2013\/02\/08\/a-guide-to-common-video-formats-containers-compression-and-codecs\/\" target=\"_blank\">CODEC has to be properly installed<\/a>)<br \/>\n3. Frame\u00a0is modified to an intermediate format and put into memory.<br \/>\n4. If GPU\u00a0acceleration can be used, the intermediate format is uploaded to the video card for processing.<br \/>\n5. The intermediate results are then downloaded from the video card back into memory.<br \/>\n6. The CPU starts encoding to the final delivery format.<br \/>\n7. The final results are written to disk or played on screen.<\/p>\n<div data-canvas-width=\"423.98699999999985\">A video file\u00a0gets decoded on the CPU.\u00a0Performance is determined by how well\u00a0it is optimized and if it can offload tasks to GPU or not.\u00a0A lot of codecs on PC call the <a href=\"http:\/\/www.philiphodgetts.com\/2013\/11\/quicktime-is-deprecated-what-does-that-mean-in-practice\/\" target=\"_blank\">QT32 process which runs in a 4GB memory space.<br \/>\n<\/a>ProRes playback is not GPU accelerated. More\u00a0cores are more\u00a0important than multiple\u00a0GPUs, as not all instructions have been written to run outside<\/div>\n<div data-canvas-width=\"420.6045\">the CPU. It\u2019s a common misconception that adding a GPU will<\/div>\n<div data-canvas-width=\"406.92900000000003\">automatically take and run all the regular instructions from<\/div>\n<div data-canvas-width=\"381.7979999999999\">the CPU. Software engineers must write applications to<\/div>\n<div data-canvas-width=\"390.2909999999999\">send instructions to a specific processor before they can<\/div>\n<div data-canvas-width=\"203.29199999999997\">expect speed improvements.<\/div>\n<div data-canvas-width=\"421.9664999999999\">A\u00a0typical system with eight cores\u00a0needs 3 GB per core, which equals 24 GB of RAM required\u00a0by After Effects to run multiprocessing properly.<br \/>\nAlthough\u00a0that fits into a 32 GB computer, After Effects may still hold as<\/div>\n<div data-canvas-width=\"418.04850000000005\">much as 6 GB of RAM for other applications, bringing the full<\/div>\n<div data-canvas-width=\"404.4089999999998\">amount of RAM left for After Effects to 24, which is already<\/div>\n<div data-canvas-width=\"400.8554999999999\">\n<p>close to the limit.<\/p>\n<\/div>\n<p>This applies to Windows\/PC only:<br \/>\nBelow Playback the way it should be: Low CPU load\u00a0and\u00a0Disk I\/O at the bit rate of the codec. Note the files on the timeline being read in the Disk I\/O list.<br \/>\n<a href=\"http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/1AVID_AVID-MXF_PLAY_NO_FILTER.png\" rel=\"attachment wp-att-371\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignleft wp-image-371 size-full\" src=\"http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/1AVID_AVID-MXF_PLAY_NO_FILTER.png\" sizes=\"(max-width: 696px) 100vw, 696px\" srcset=\"http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/1AVID_AVID-MXF_PLAY_NO_FILTER-300x274.png 300w, http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/1AVID_AVID-MXF_PLAY_NO_FILTER.png 696w\" alt=\"1AVID_AVID-MXF_PLAY_NO_FILTER\" width=\"696\" height=\"635\" \/><\/a><br \/>\nNow look\u00a0what happens when playing back a ProRes\u00a0QuickTime in Premiere on a PC<br \/>\n1. CPU cycles taken up by Premiere<br \/>\n2. CPU cycles taken up by the QT32 process<br \/>\n3-8 The files on disk being read by the QT32 process including:<br \/>\n9 pagefile.sys the Page File it has to keep writing and reading off the drive to compensate for the 4GB memory limit.<a href=\"http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/PR_PRO_PLAY_NO_FILTER_pagefile.png\" rel=\"attachment wp-att-373\"><br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-373\" src=\"http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/PR_PRO_PLAY_NO_FILTER_pagefile.png\" sizes=\"(max-width: 696px) 100vw, 696px\" srcset=\"http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/PR_PRO_PLAY_NO_FILTER_pagefile-300x229.png 300w, http:\/\/www.editspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/PR_PRO_PLAY_NO_FILTER_pagefile.png 696w\" alt=\"PR_PRO_PLAY_NO_FILTER_pagefile\" width=\"696\" height=\"532\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The basic components of an NLE are: 1. Media files stored on an external HD -Media access speed is determined by: HD speed, Raid level and connection speed to workstation. 2. CPU&gt; decode, encode and calculate\u00a0non-accelerated effects. 3. GPU&gt;accelerates: Alpha Adjust, Basic 3D, Black &amp; White, Brightness &amp; Contrast Color Balance (RGB), Color Pass (Windows &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.editspecialists.com\/blog\/index.php\/gpu-vs-cpu\/\" class=\"more-link\">Read more<span class=\"screen-reader-text\"> &#8220;GPU vs CPU how do they divide the work?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,6,7],"tags":[],"class_list":["post-379","post","type-post","status-publish","format-standard","hentry","category-mikes-tips","category-for-producers","category-technical-premiere-info"],"_links":{"self":[{"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":3,"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":529,"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/379\/revisions\/529"}],"wp:attachment":[{"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.editspecialists.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}