bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] sort: parallel external sort implementation


From: Ralf Wildenhues
Subject: Re: [PATCH] sort: parallel external sort implementation
Date: Sun, 7 Mar 2010 13:32:58 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hello,

Pádraig Brady <P <at> draigBrady.com> writes:
> On 04/03/10 06:01, Joey Degges wrote:
> > diff --git a/src/sort.c b/src/sort.c
> > +      --threads=N           use no more than N threads to improve
parallelism\n\
> 
> Threads is a bit of an implementation detail?
> Perhaps it would be better to use --parallel so one
> could move to multiprocess in future if desired?

--jobs is already used by make, so why not reuse that, if you decide to go with
a command-line argument?  That's pretty neutral in terms of how the parallelism
is implemented internally, too.

Cheers,
Ralf





reply via email to

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