4 Replies Latest reply on Oct 19, 2010 8:20 AM by pilotguy737

    CPU spikes and editing lag

    Jeff Pannone

      Hello everyone,


      I've been having issues of lag in LR when doing heavy editing.


      Lightroom version


      My machine specs are:

        - Core i7 2.8 GHZ

        - 6GB 1066 DDR3

        - 1280MB DDR5 Nvidia graphics card

        - OS & Apps on 120GB SSD (20GB free)

        - Storage (photos, etc.) on 1TB WD Caviar Black

        - Corsair Hydro H50 cpu cooler (w/ 6 fans total. cpu temps btwn 33c and 60c during LR/PS usage)


      I'm fairly new to lightroom; about 1 year, where last 3 months have been heavy usage. During heavy usage in a single session (lots of photos having been editied via back and forth from photoshop/lightroom as well as plenty of editing in LR.) I'm experiencing strange CPU spikes, where all cores spike from 5-12% to 40-80%. Memory usage is usually somewhere around 2.5 to 5 GB, depending on the type of editing i'm doing (from single portrait to panorama editing). I take that as normal, since the files can be quite large. However, the cpu spking is leads to lagging when using various tools and I'm not certain that is right. I understand editing RAW photos (mine on average are 9-13 MB) between PS and LR is intense, but it seems a bit extreme for my system.


      Does this sound right? could it be the way my catalog is setup or perhaps that I have alot of photos that have been edited in the catalog?


      right now my catalog contains 2658 photos, spread across 8 folders. I did notice the lagging and cpu spikes happen more often when i'm editing a file in a folder/album that already has alot of photos edited in it.


      Any suggestions/help would be appreciated.  Thanks!



        • 1. Re: CPU spikes and editing lag
          Ian Lyons MVP & Adobe Community Professional

          I very much doubt the spikes or lags can be attributed to the number of files in any given folder or even the number of files in your catalog, especially since your catalog and file count are fairly low. Also, your raw files are fairly small and not particularly taxing to a modern CPU. Therefore, I think your problem lies elsewhere.


          Answers to a few questions might help generate ideas as to possible causes


          Do you have Automatically write changes to XMP active in Catalog Settings? If yes, try disabling it.


          What tools are you using when the spikes and lags occur?


          Are you applying profiles for Lens Corrections?

          • 2. Re: CPU spikes and editing lag
            Jeff Pannone Level 1

            Hi Ian,


            thanks for reply.  this is good news to hear.


            regarding your questions:


            Auto write XMP - already disabled

            Lens Corrections - on occasion

            tools used during lag/spikes: overall exposure, any tool in combination with adjustment brush.


            for tools , there might be more, but i cant remember all of them right now.


            I'm wondering if it has somethign to do with applying lens corrections. i stopped using them to see if lag/spikes decrease and so far so good. Is it possible that applying lens corrections would cause such spikes/lags?



            • 3. Re: CPU spikes and editing lag
              Ian Lyons MVP & Adobe Community Professional

              The lens profiles require a fair amount of processing and have been known to cause some performance issues particularly when using adjustment brush or healing brush. Some folk have found it better to apply the lens corrections after all of the other edits have been completed. The engineers have confirmed that this is a valid workflow.

              • 4. Re: CPU spikes and editing lag
                pilotguy737 Level 1

                Hmm... This is interesting.  I am quite impressed with LR3 performance on my two machines MOST of the time.


                (Late 2007 20" iMac 2.4GHz C2D maxed out at 4gb and a Late-2009 15" MBPro 2.53 C2D w/4gb, soon to be 8gb as I just ordered the extra ram from OWC, a birthday gift to myself , they had a screaming deal and I can trade in my old sticks for $39).


                The only hiccups I see on my systems are when I do a spot heal/clone on something bigger than a pimple.  In this case I get beachballing  (especially at 1:1 view) for about 10 seconds, and I have flashbacks to my previous software (not mentioning any names here, but it rhymes with "blaperture tree" ).


                Auto lens corrections were applied to all the photos in my current project, I did that as an import preset thing because I thought that I would be using them anyway and it would save me forgetting to apply them.


                With this new info, perhaps I should do as suggested and apply the lens corrections at the end of editing and see if that speeds up the spot healing tool.  I guess applying lens corrections upon import isn't ideal?


                FYI local adjustments (brushing etc) are all real-time, even at 1:1 view, and of course sharpening and NR are also real time even with lens corrections applied.


                Thanks for the info.