Re: Official request: Please make GNU grep the default

From: Peter Jeremy <peterjeremy_at_acm.org>
Date: Thu, 19 Aug 2010 06:52:06 +1000
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

Received on Wed Aug 18 2010 - 18:52:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC