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

Chris Turner c.turner at
Tue Feb 12 05:01:49 PST 2008

Aggelos Economopoulos wrote:
So, using xargs is fundamentally better as far as memory consumption is
concerned. Performance should never be an issue except maybe in
pathological cases. This silly analysis does not even take into account
the effects from all the memory allocation you'll have to do to for a
large number of arguments.
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 

but whatever.. this thread is annoying me :)

- Chris

More information about the Kernel mailing list