DragonFly kernel List (threaded) for 2008-02
DragonFly BSD
DragonFly kernel List (threaded) for 2008-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Globbing (was Re: HAMMER update 10-Feb-2008)


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Tue, 12 Feb 2008 15:23:45 +0100

Chris Turner wrote:
> just being pedantic but ignoring performance while discussing memory
> seems a bit short sighted - for e.g. 1M files an 'xargs -L' will create
> 1M fork()'s instead of 1, which will change the execution time
> significantly..

Who said that you would use xargs -n 1?  Obviously you would leave the
selection of how many arguments can fit into the command line up to
xargs.  Then you might (depending on the size of the individual
arguments) only fork 100 times or so.

cheers
  simon




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