parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnu parallel mechanism


From: Markus Bergholz
Subject: Re: gnu parallel mechanism
Date: Sun, 20 Jul 2014 16:19:38 +0200




On Sun, Jul 20, 2014 at 4:15 PM, Ole Tange <tange@gnu.org> wrote:
On Sun, Jul 20, 2014 at 4:02 PM, Markus Bergholz <markuman@gmail.com> wrote:
> Hi,
> I'd like to know what's behind gnu parallel? how does the parallelization
> works? It doesn't use openmp, does it?

Perl's open3 and fork.



Well, maybe that's interesting for you too

    time gm mogrify -resize 50% *.JPG
    real 3m57.774s


    time ls | parallel --no-notice -j "2" gm mogrify -resize 50% 
    real 3m45.902s


graphicsmagick is using openmp, but giving gm just 2x1 image with gnu parallel seems to be faster.



 
/Ole



--
icq: 167498924
XMPP|Jabber: markuman@jabber.ccc.de

reply via email to

[Prev in Thread] Current Thread [Next in Thread]