On 03/06/12 at 20:59 +0200, Brice Goglin wrote:
> Le 03/06/2012 11:40, Lucas Nussbaum a écrit :
> > Package: llgal
> > Version: 0.13.17-2
> > Severity: wishlist
> >
> > Hi,
> >
> > It seems that llgal only runs convert once at a time. In this era of
> > multi-core CPUs, it would be great if llgal would run several instances
> > of convert concurrently to reduce the image generation time.
> >
> > Lucas
> >
> 
> Hello Lucas,
> That would make sense but imagemagick is threaded with OpenMP (and
> that's enabled in Debian packages) so we'd need to know when and how
> convert uses threads before adding even more pressure on the scheduler.
> Brice

Strange. It seems that imagemagick's convert -scale does not use threads
on my laptop. I don't see any difference when disabling it with -limit
thread 1.

$ convert -list resource
File         Area       Memory          Map         Disk    Thread Time
-------------------------------------------------------------------------------
768     16.539GB    7.7015GiB    15.403GiB    unlimited         4 unlimited

$ time convert -limit thread 4 -scale x700 P1010928.JPG 
.llgal/scaled_P1010928s.jpg

real    0m2.968s
user    0m2.752s
sys     0m0.196s

$ time convert -limit thread 1 -scale x700 P1010928.JPG 
.llgal/scaled_P1010928s.jpg

real    0m2.978s
user    0m2.776s
sys     0m0.184s

  Lucas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to