Subject: Re: Othersrc grep versus GNU grep
To: None <>
From: Chris Pinnock <>
List: tech-userlevel
Date: 11/09/2003 12:31:01
On Sun, Nov 09, 2003 at 11:06:07AM +0100, Jaromir Dolecek wrote: 
> I note this there is huge difference in number of page reclaims
> and page faults (other resource usage ~same). Perhaps that          
> affects the performace most?                                               

> Could this be mmap() vs. read() ? I don't know what GNU grep                 
> and othersrc grep uses for I/O.                    
Off the top of my head, othersrc grep uses always tries to use mmap.            
GNU grep will always use read unless you give it --mmap.