bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] md5: accepts a new --threads option


From: Pádraig Brady
Subject: Re: [PATCH] md5: accepts a new --threads option
Date: Sun, 18 Oct 2009 00:17:20 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Giuseppe Scrivano wrote:
> Hello,
> 
> inspired by the attempt to make `sort' multi-threaded, I added threads
> support to md5sum and the sha* programs family.  It has effect only when
> multiple files are specified.
> 
> Any comment?

How does it compare to:

files_per_process=10
cpus=4
find files | xargs -n$files_per_process -P$cpus md5sum

I would expect it to be a bit better as file_per_process
could be very large, thus having less overhead in starting
processes. Though is the benefit worth the extra implementation
complexity and new less general interface for users?

cheers,
Pádraig.




reply via email to

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