bug-findutils
[Top][All Lists]
Advanced

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

[bug #29512] [feature request] xargs parallel processing env-val improve


From: James Youngman
Subject: [bug #29512] [feature request] xargs parallel processing env-val improvement
Date: Sun, 11 Apr 2010 17:06:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2

Follow-up Comment #3, bug #29512 (project findutils):

Is this the same thing as you are asking for:

"Set some environment variable, so that it has a different value in each
child process."

If yes, why not use the PID of the child?   

Even if we use a sequence starting at 1 and put the value in $XARGS_CPU,
xargs cannot guarantee for example that a process with XARGS_CPU=8 can't
usefully run locally, since the earlier processes with XARGS_CPU=2 up to
XARGS_CPU=7 may already have finished.   Hence knowing that $XARGS_CPU > (the
number of CPUs) doesn't seem helpful.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29512>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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