bug-gnulib
[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: Thu, 22 Oct 2009 12:09:05 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Jim Meyering wrote:
> Pádraig Brady wrote:
> 
>> p.s. I'll look at bypassing stdio on input to see
>> if I can get at least the 2% back
> 
> IMHO, even if it did, it would not be worth it.

Right, a quick test here shows only a 0.8% gain from
bypassing stdio. However I also noticed that the
digest routines in gnulib do fread(4096).
Bumping that up to 32KiB gives a 3% boost.
That would be increased even more if more efficient
checksumming routines are used (which is on the horizon).
Note the coreutils min was bumped to 32KiB recently:
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=55efc5f

Does anyone have any objections to increasing
the stack requirement by 28672 bytes?

cheers,
Pádraig.




reply via email to

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