Official request: Please make GNU grep the default

Peter Jeremy peterjeremy at acm.org
Wed Aug 18 20:52:35 UTC 2010


On 2010-Aug-17 22:29:46 +0200, Dimitry Andric <dimitry at andric.com> wrote:
>On 2010-08-17 18:29, Alan Cox wrote:
>> Try it again on a memory resident file with the MAP_PREFAULT_READ option
>> that is provided by this patch:
>> 
>> http://www.cs.rice.edu/~alc/MAP_PREFAULT_READ.patch
>
>A time trial gives:
>
>  grep with normal mmap()       1396s
>  grep with prefault mmap()     1354s
>  grep with regular read()      1354s

Is this with uncached (ie remount the filesystem on each test) or cached
data?  Which filesystem (and does it change for different filesystems
(particularly between UFS and ZFS))?

And one trial is not statistically valid - especially given the small
differences.  How about multiple multiple trials with ministat.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100818/8d73c9f0/attachment-0001.pgp


More information about the freebsd-current mailing list