Why is the grain filter so slow?

The "Add Grain" filter performs so poorly that I'm wondering if it was written in the 90s and never touched again. On a very short composition with a few other adjustment layers, doing a RAM preview takes about 20 seconds. If I enable the adjustment layer that has the grain filter, each frame takes like 3 or 4 seconds and the whole composition takes about 3 minutes to render. This is on an i7 3930k with 32 GB of RAM which flies on anything else. Looking at the task manager, when it's rendering it doesn't even get to 10% CPU, so I'm guessing it's a very poorly coded filter, unless it's using only the GPU, but when anything uses the GPU I can feel its fan revving up, and it's not the case here. This is with CS6 by the way.

How hard can it be to optimize the same filter to utilize all the CPU power, or at least most of it?
It would take a complete rewriting of the underlying operation of AE. AE processes a pixel at a time and performs mathematical calculations on each pixel in the frame and combines those calculations with each pixel in the frame of the next layer. It does this a frame at a time.
If you have a 2K frame with 10 layers then that's 20K of data that needs to be processed. If it's temporal effects that are looking a frame a head and a frame back then you're stuck with 20 K of data calculations a frame at a time added to the additional 20 K of data from the next or last frame. That's not very much work for 16 CPU's to do. It's why AE doesn't run at 100% when some 3D apps can. Totally different math threads.
The third party solutions for grain that work better still have these limitations, but they have just come up with faster or better ways to make the same calculations that are more efficient.
Asking AE to use 100% of the processor power and 100% of the memory is like asking a 10 inch water main to stay completely full when you've only got a gallon of water in the system and you can only access it through a 1/2 inch pipe.
I'm not making excuses, just trying to explain how AE works. Can Adobe make it better? Sure, for the most part they have with every release that I"ve used in the last 20 years. If you have a good knowledge of how AE processes the pixels then it will help you make workflow and production decisions that make your work more efficient and profitable. It's all part of being a pro.
BTW, Flame, Inferno, all of the other big compositing apps have the same limitation. Only when rendering something more than pixel math does the system start to max out... Try AE with a particle system like Particular and 20,000,000 particles and you'll see CPU and Memory use go up.

Similar Messages

  • Why is the itunes download so slow

    why is the itunes download so slow - I am trying to download itunes update to recognize my new ipod touch 5th generation and my pc will not even show it in itunes, in trying to download the update the speeds are so slow that it is estimating download time in days.  I have stopped and started the apple in services, but it is still unrecognized.

    you know very well it has nothing to do with itunes or the modem/router.  apple servers are very very slow and its an absolute disgrace.
    you can download from third party servers at twice the speeds (at your own risk)
    Apple is the second largest company in the world and they treat customners in this way

  • Why is the wi-fi so slow??

    Why is the wi-fi so slow on the time capsule??? Brand new bought last week? help? running about 13 devices on more than one network. Help please..

    Is it slow compared to other devices.. ??
    Give numbers.. cannot operate from general comments.
    Is this 2.4ghz.. are you splitting the load over 2.4ghz and 5ghz??
    Have you tried using SMB names.. short no spaces pure alphanumeric, with different name for 5ghz.
    Lock the wireless channel for 2.4ghz and test 1, 6, 11 in turn.
    Using WPA2 personal security only.. with 8-12 character passkey.. pure alphanumeric of course.

  • Why is the On Demand so slow to respond

    Title says it all
    Why is the On Demand so slow to respond?
    You have very fast Internet but extremely On Demand Programming Why is that?
    Fix it or ill have to go back to Road Runner. My wife runs a Preschool/Daycare and needs Fast On Demand programming because she's very busy with the kids.
    She allows them to watch some of the children's programming if they did well in the class work but she doesn't have time to wait for the EXTREMELY SLOW Response.

    Memory leakage causes it to run slow. One way to easily fix this is to reboot the box. It will automatically reallocate memory. To reboot, simply unplug power cord for 1 min then plug back in.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Why is the new firefox so slow hate it ?

    Why is the new Firefox so slow really hate i wish they would fix it ?

    Try Google Chrome. That one is really fast.

  • Why is the sound browser so slow during playback?

    Why is the sound browser so slow during playback? This problem seems to have no solution. This problem even occurs on my Mac Pro With 8 Cores... This problem is in its 3rd Generation since version 8... Even AU Plugins with built-in sound browsers trigger sounds in real time. Whats up Apple? I would love to find a solution after 5 yrs of using this program... U-Jean

    This Problem has been occurring before 2011 according to the link below....... *** Apple!!!
    http://www.logicprohelp.com/forum/viewtopic.php?t=70175

  • Why does the videos looks so slow

    why does the videos looks so slow only in the internet

    Many reasons, like what format they are, for instance Flash Videos will be slower.
    Any links to the slow ones?
    Which exact Mac do you have?

  • Why is the selection filter not remembered each time i start Ultiboard 10

    Why is the selection filter not remembered each time i start Ultiboard 10 the filter is differend from the last time i closed Ultiboard.
    Solved!
    Go to Solution.

    Hi there,
    Thanks for posting this. We've identified the root cause of this issue and have fixed this. This problem is fixed and should be available with our next maintenance release.
    Yi
    Software Developer
    National Instruments - Electronics Workbench Group

  • Using Windows 7 and LR 5  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showi

    Using Windows 7 and LR 5,  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showing pictures that do not match the query

    Dan,
    Here's what's going on in the catalog you sent me, "Joel & Caitlin's Wedding".  There is the keyword "gwenn", which is explicitly assigned to 7 pics. But keyword "schwartz" has a number of synonyms, including "gwenn", and it is assigned to 25 pics.  There is no overlap between the two sets of pics. 
    I discovered these two occurrences by doing Metadata > Export Keywords, opening the exported file in an editor, and then searching for "gwenn".  I found two occurrences of "gwenn":
    gwenn
    schwartz
        {gwenn}
    From this, you can see that the keyword "schwartz" has 9 synonyms, of which "gwenn" is one.
    The filter criterion "Keywords Contain gwenn" will match the 7 pics that are explicitly assigned the keyword "gwenn", and it will also match the 25 pics assigned the keyword "schwartz", because that keyword has a synonym "gwenn".
    This illustrates the behavior I mentioned above: The criterion "Keywords contains x" will match against any of a pic's assigned keywords, any of those keywords' ancestor keywords, and any of the synonyms of the assigned keywords and their ancestors.
    So LR is operating correctly here, if not in a way that's easy to understand. 
    It appears that you are using the synonyms of "schwartz" to represent individual members of the Schwartz family.  A better way of representing family relationships is to have a parent keyword "Schwartz", with subkeywords for each family member, e.g. "Gwenn Schwartz", "Joe Schwartz", "Jane Schwartz", etc.  Repeating the family name in the subkeywords has a couple of advantages. LR usually only displays the "leaf" name of a keyword, so instead of showing you just "Joe", it will show you "Joe Schwartz", helpful when there are a number of different people whose first name is "Joe".  Also, if you ever export your pics to other software, it may not understand the LR hierarchy and won't show the parent keywords, so again it's more informative to see a keyword named "Joe Schwartz" rather than "Joe".

  • Why doesnt the smart filter mask move with the smart object?

    OMG Why doesnt the smart filter mask move with the smart object?  Yikes Way PITA

    If you look at the other tread about transform Again and smart Object layers you will find I found there seems to be two flavors of Transform and some bazar behaviors when it come to smart object layers. http://forums.adobe.com/message/4611500#4611500
    However for this problem here I think I can not show you how to do it.
    First target the smart filters Mask.  In fact so you can see what is happening Alt+Click on it so Photoshop displays the mask rather then the the composit image.  Then  use Ctrl+T free transform then just for a test hold down the Ctrl and the Alt keys and drag in a cornor to constrain and srink the Mask thee release the keys and press enter to commit the transform.
    Next target the smart object layer then use the short cut Ctrl+Shift+T (Transform Again) on a PC the smart object layer will be transformed to match the filter mask transform.

  • Why has the download/buffering speed slowed down for videos?

    Why has the download/buffering speed slowed down for videos?
    What can be done about it?
    TIA,
    R. Ober

    The problem is with your router, your internet service provider or you have a marginal connection with your router.
    Locate your iPad close to your wifi router and see if the problem persists.
     Cheers, Tom

  • Why is the write speed so slow to my NAS

    Hi, I am trying to improve the write speed from my MBP to the NAS.  I am using the Thunderbolt ethernet adapter connected to an Airport Extreme 7.6.1 using a wired connection. I have a Synology DS213 with a wired connection to the Airport Extreme as well. I am using CAT6 cables.
    In testing my performance, I noticed writing files from my MBP to the NAS was very slow; whereas my read performance was much better.  Please see the tests below to explain this further.
    Using the Blackmagicdesign Disk Speed Test Utility using a 5Gb test file written to the NAS, I see the following:
    Write speed is 7 to 8MB/s  This write speed is what concerns me.
    Read speed is between 60 MB/s and 75 MB/s
    Using 2 finder windows (drag a file from one window(MBP) to the other(NAS)) and watch the disk activity on the Activity Monitor with a 1Gb file
    When writing a file to the NAS from the MBP:
    Write speed will burst to 19 to 23 MB/s but it will drop to below 10 MB/s at times.
    When writing a file to the MBP from the NAS
    Write speed is: 46 to 60 MB/s
    Why would the write speed from my MBP to the NAS be so slow ; whereas, the write speed from the NAS to the MBP is very fast.
    Synology has 2 WB 'green' disks configured as raid 1.   I understand that part of the influence of writing from the NAS to the MBP is utilzing the advantage of writing to a SSD ; whereas, writing to the NAS it is writing to a slower drive.  
    Is 19 to 23 MB/s burst with dips below 10 MB/s during a copy typical?   The other thing is I dont understand why the Disk Speed Utility never records write speeds to the NAS over 10 MB/s whereas the Activity Monitor will show the bursts at times of 19 to 23 MB/s
    If 7 to 8 MB/s write speeds is too slow, what can I look at to improve this?  Since writing the file in the other direction is pretty fast considering, how could the issue be a network one?

    I was transferring my iPhoto library from an older MBP to a new retina and having the same issue - transfers almost immediately slowing to less than 100k/sec over my beautiful Time Warner-provided WiFi router using regular OSX folder sharing.  I couldn't find any software updates as some other similar threads suggested.
    I put my iPhoto library in a .tar.gz archive and that immediately transfered at about 7mb/sec, much much faster!  So, without having diagnosed the issue, perhaps I've uncovered evidence that one or both of my machines doesn't like transferring big file trees.  I bet a zip or any other archive would do the trick.

  • Why is the Space Constant so slow?

    Obviously I'm asking comparatively since they are faster then the blink of an eye.
    When trying to optimize some of my functions I've noticed that this one constant is really slow.
    Here's my test VI: I simply am measuring the time it takes to append a character to a string. If the string doesn't exist, don't add anything. This also prevents the compiler from optimizing out the for loop.
    Most cases I've averaged about 250 ms. However, if I used the space constant instead of putting a space character in a string constant. It nearly 10-fold the time it takes to nearly 2.1 seconds.
    So I question why is this the case? I don't see why all the other constants (I checked) run at full speed, but the space constant (which I can see it's block diagram) takes significantly longer. Is this a bug?
    Attachments:
    Space Timing.vi ‏14 KB

    bsvare wrote:
    As for being flawed. I wanted it to be. I don't want my for loop to be folded away. This simple test VI is so simple that it takes literally 10 million runs to have reasonible run time for compairison. If you fold it away to a single run, you can't see the effects.
    Well, it is flawed in the wrong way, because most likely the presence of a subVI will cause more complicated debugging code and the effect might be secondary. You could e.g. eliminate folding by e.g. doing a comparison of "[i] != 0" or "[i] AND 1" for the case decision. Now all variantions seem to be about the same speed (with or without debugging, resp., where debugging poses a large penalty).
    LabVIEW Champion . Do more with less code and in less time .

  • Why is the SMS app so slow to load?

    Is it just me or is the SMS app really slow to load?
    7 seconds seems a lot to me.
    How is it for u?
    How can I improve the loading time?
    Thank you

    I don't know why Apple doesn't fix this problem or even acknowledge it. I have had this problem since 1.1.2. Upgrading through 1.1.3, 1.1.4 and on the 2.1 has not helped. My SMS loading time varies between 3 and 10 seconds. I maintain all my SMS messages deleted (which I should not have to do). Due to lack of support from Apple I purchased a Nokia phone for my son. At least basic phone features work like they should.

  • Why is the IPad 4 so slow to charge and fast to discharge ??

    Why does the IPad 4 discharge so fast and be so slow to recharge

    Hello, willismom. 
    Thank you for visiting Apple Support Communities. 
    Battery life can be difficult to troubleshoot as multiple factors contribute to how long a charge can last.  Graphic intensive applications, display brightness and data connectivity are just a few of the items that can cause the battery life to decrease rapidly.  I would need to know a little more information about your usage patterns to give you and idea on how to maximize battery life.  However, here are some tips on how to adjust settings and charge the device that may help. 
    iPad: Charging the battery
    http://support.apple.com/kb/ht4060
    About Batteries
    About iPad Batteries
    If you feel that you need assistance with the battery concern, you can always reach out to us via the link below. 
    Contact Apple
    Cheers,
    Jason H. 

Maybe you are looking for

  • Can't Find Files

    Hi, I'm working on Flash 8 Proffesional and Flash Remoting, but suddenly my flash application can't find the libraries for the Remoting Service... Is there some way to know the classpath or librarypath that is using Flash? because I'm looking on the

  • Exp problem in Oracle 10gR2

    Hi, I'm having issues when I try to use exp utility to dump the database as a normal. Here is the error: Message 206 not found; No message file for product=RDBMS, facility=EXP: Release 10.2.0.1.0 - Production on Wed Feb 22 14:54:08 2006 Copyright (c)

  • How do I delete a app from app purchased?

    I want to delete from App Store purchased history I can't how do I do it?

  • Why do I get a message 'connection failed' when trying to download an app?

    Connection failed. when trying to download an app

  • Create message in Process Chain

    I know we can create messages for each Process Type in a process chain. But is it possible to create one message somewhere to tell us when any of process type failed? Thanks!