[Top][All Lists]

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

[bug #30504] bug/rfe....the "-P" option seems to be unusable by itself

From: James Youngman
Subject: [bug #30504] bug/rfe....the "-P" option seems to be unusable by itself
Date: Sun, 15 Aug 2010 12:18:35 +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 #2, bug #30504 (project findutils):

Clearly -P would result in parallel processing if the input is sufficiently

It's not going to be possible for xargs to choose an optimal strategy; at any
point it would need to be able to choose between reading another argument
(which may cause us to sleep, avoidably so if the input is a pipe) and execing
a child.

My preference has been to rely on the user to know both 
1. the computational workload of each argument, on average
2. the amount of resources they want this job to use up ("use the whole
machine" is not always the preferred behaviour)

I'd like to see more debate on the list - in other words some kind of
consensus for how much of a problem people find this in general and what the
reasonable solutions are - before encouraging you to write a patch which may
not be accepted.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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