Skip to main content
Adobe Photoshop Family

8 Messages

 • 

484 Points

Thu, Aug 30, 2012 2:01 AM

Implemented

37

Lightroom: Make use of extra cores to process multiple photos in parallel

I was exporting 50 photos on my newly built Core I7-3770 machine, which is a CPU has 4 cores 8 threads. From the task manager, I noticed that only 50~60 percent of CPU was used.

If exporting 1 photo only takes half of the CPU power, why not Lightroom process 2 or more photos at one time for those systems have extra power?

Responses

5 Messages

 • 

266 Points

8 years ago

Dear Adobe, please respond to this post. I think all we want is an honest answer as to why your program does not work in this fashion. If you are working on it, wonderful. If you don't have enough resources, let us sign up to support this initiative. If there are other considerations we have not brought up, please discuss.

27 Messages

 • 

474 Points

8 years ago

I'd like Lightroom would definitely make something better with my CPU, multithreading and multitasking itself. Speed up the exporting process or let people make a good use of OS multitasking capabilities!
E.g.: I'd like to work on a different catalog (a different wedding for example) while exporting my 1.000/2.000 images set(s) of the first catalog.

216 Messages

 • 

4.8K Points

7 years ago

When exporting a webgallery the workaround to do it in several parallel jobs often doesn't work (as it does with the normal picture export).
For me this means that the hint can just be a workaround and Adobe should focus on optimising the use of ressources with multicore computers.

38 Messages

 • 

662 Points

7 years ago

I've similar issue during importing more then 2,000 files:

Windows 7 SP1; 64 Bit
Intel i7 with 4 cores, enabled hyperthreading and 3.6 GHz
-> 8 virtual CPUs
24 GB RAM

Only up to 25 % of my whole CPU resources used by Lightroom, so it took up 20 minutes.

If it would use all cores, it could do it 4 times faster: also only in 5 minutes!

Some for updating the previews after changing pictures. One preview after the other was updated. No parallel processing. Only simple and slow sequencially processing.

I'm really disappointed, as multi core CPU are not rare anylonger since years!

38 Messages

 • 

662 Points

7 years ago

The same issue is there, if you use Bidge and Camera RAW:
http://feedback.photoshop.com/photosh...

38 Messages

 • 

662 Points

So the similar feature request for Bridge and Camera RAW is now:
http://feedback.photoshop.com/photosh...

4.5K Messages

 • 

76.3K Points

6 years ago

Here is a simple script you can use to divide export into multiple simultaneous tasks.

Export in Parallel:


Note: sequence numbers for filenaming purposes will be partitioned appropriately.

Free, written by me:
http://www.robcole.com/Rob/ProductsAn...

Rob

161 Messages

 • 

3.2K Points

very cool Rob! Thanks!

4.5K Messages

 • 

76.3K Points

You're welcome - thanks Bryn.

One caveat: does not support export filters (post-process actions), so export preset must not include references to Lr/Mogrify or Exportant..

Otherwise, any export preset can be used, and it will work the same as if export preset chosen in export dialog box, except for the multiple tasks (and sequence number override).

Cheers,
Rob

216 Messages

 • 

4.8K Points

really great, Rob!!
But as this script can only speed up "mormal" export but for example not the export of a big web gallery with many pictures, I'm still hoping on Adobe to optimize Lightroom performance and multi-core usage in the Lightroom core code.

4.5K Messages

 • 

76.3K Points

Thanks. and, I agree..

35 Messages

 • 

694 Points

Thanks for posting this here Rob. I'm trying the export script and LR is consistently using 95%+ of my processor and nearly 5GB of RAM. LR seems to have inefficient coding and on top of that it won't use available system resources. This at least solves the last problem. So, thank you!!

** as a reminder to anyone else using this, LR won't release RAM until it's been restarted. So, to keep everything running smoothly restart LR after a big export. WHY????

4.5K Messages

 • 

76.3K Points

You bet Dan, and yeah: if you are memory-challenged in the first place (whether due to amount installed or non-optimal memory-management/bugs..), this script may make things worse.. - in addition to using more CPU, it will also use more memory doing exports in parallel than sequentially. Lr *should* release used memory, but as most of us know - it doesn't always..

FWIW: This script only supports (non-publishing) exports without post-process actions, it does not support publish services, nor web galleries.

161 Messages

 • 

3.2K Points

hopefully Adobe will be inspired by the real world results of your script and apply this to standard preview generation (smart previews build so much faster) and web pages and books and so on.

7 Messages

 • 

160 Points

Link is not working

Champion

 • 

5.2K Messages

 • 

93.3K Points

Unfortunately, Rob Cole hasn't been heard from since January 2015, and his site went offline soon after. (Hope everything is ok...)

With respect to his script, note that LR CC 2015 / 6 now fully utilizes multiple processors for export, so the script is unnecessary. In fact, some people now complain that LR is too aggressive in using multiple processors for export, to the point that interactive use is impossible while an export is in progress.

7 Messages

 • 

160 Points

Thanks for the info. I have LR6 but I was just curious how punish my 6 cores to maximum. Glad to hear that LR6 utilizes all cores better and external script is not necessary.

2 Messages

 • 

72 Points

5 years ago

hi, could someone please tell me how to install the export in parallel scripts in lightroom? or even how to get it. i used to have it before but after i cleaned my hard drive and installed windows again i lost it and cant find it anywhere.

thanks

115 Messages

 • 

1.6K Points

The author's Web site, robcole.com, has been down for many weeks. Not clear if it's coming back, which would be too bad.

Champion

 • 

5.8K Messages

 • 

102.6K Points

Lightroom CC/6 now does this automatically

2 Messages

 • 

72 Points

Could you tell me how its done please? I have 5.7. Many thanks

Champion

 • 

5.8K Messages

 • 

102.6K Points

It happens automatically in 6 - you don't do anything. You can't do it in 5 without a plug-in or setting it up manually (e.g. select some, set them exporting, select some more, set them exporting at the same time)

8 Messages

 • 

484 Points

5 years ago

I am glad that after 3 years this thread is still alive...

Yes, Adobe has finally addressed this issue with latest CC/6 updates... although is poorly implemented in my opinion.

1. The whole UI is not responding when the export is taking progress.. I don't mind lightroom taking all resources when exporting (i.e. other programs could run slowly when exporting is happening), but freeze its own UI doesn't make sense.
2. The overall export speed is NOT increased based on my unscientific testing.. although LR is now using the full CPU threads, but for some funny reason, the per photo exporting speed dropped a lot and seems totally killed the effort of utilizing multiple cores...

Champion

 • 

5.2K Messages

 • 

93.3K Points

"The whole UI is not responding when the export is taking progress.. "

Please add your vote and opinion about this to this topic: http://feedback.photoshop.com/photosh...

Champion

 • 

5.2K Messages

 • 

93.3K Points

5 years ago

Spring Feng wrote, "The overall export speed is NOT increased based on my unscientific testing.. although LR is now using the full CPU threads, but for some funny reason, the per photo exporting speed dropped a lot and seems totally killed the effort of utilizing multiple cores..."

My perception was different, so I did a small experiment on my 4-core MacBook Pro, exporting 20 raw files as quality-60 JPEGs. CC 2015.1.1 was 1.41x (41%) faster than LR 5.7.1. Total CPU utilization increased by 1.51x, from 53% to 80%. (LR probably shouldn't use more than 80%, to ensure reasonable interactive response during the export.) This kind of speedup from using multiple processors is pretty good and what I would have expected.

A couple of import things to note:

- Versions of LR prior to CC 2015.1.1 / 6.1.1 had a serious bug in export, often causing it to do significantly more work than necessary. So if you're on such an earlier version, consider upgrading (but to 2015.1.1, not 2015.2.1!).

- The progress bar in the upper-left corner is updated much more frequently in LR 5.7.1 than CC 2015.1.1, giving the impression that LR 5.7.1 is much zippier. LR 5.7.1 updates it after each file is exported, and it shows the filename; whereas CC 2015.1.1 updates it only 8 times (after 12.5% of the total work is done), and it doesn't show filenames.

Details of the experiment:

- MacBook Pro (late 2013), Core i7, 2.6 GHz, 4 cores/8 logical processors, L2 256 KB/core, L3 6 MB, 16 GB memory, 1600 MHz DDR3, SSD.

- The raw files were 5472 x 3648 .arw's, 21 MB, with all the basic settings adjusted, sharpening, and one stroke of the local adjustment brush.

- The JPEGs were exported the original size, quality 60, and were 3.9 MB.