parallel
[Top][All Lists]
Advanced

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

Re: How does Parallel queueing work?


From: Ole Tange
Subject: Re: How does Parallel queueing work?
Date: Sun, 28 Nov 2010 21:43:54 +0100

On Sun, Nov 28, 2010 at 9:44 AM, R. Tyler Croy <tyler@monkeypox.org> wrote:
> I've been encoding a number of videos this evening using the machines I have
> lying around my office which includes some fast, some slow machines.
>
> Given 3 computers, and 6 jobs, how will they be queued? Are the jobs scheduled
> at parallel invocation or are the scheduled to execute on a given machine when
> that machine finishes its previous job?

Jobs are scheduled when one of the workers finishes. GNU Parallel does
_not_ assume the CPUs of the different computers have the same speed.
So you can mix fast and slow computers.

You can try:

seq 1 100 | parallel -S .. hostname \; echo
seq 1 100 | parallel -S .. hostname \; sleep

/Ole



reply via email to

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