grep speed on Opteron vs P4

Matt Davey mcdavey at mrao.cam.ac.uk
Tue Sep 5 15:17:13 UTC 2006


On Tue, 2006-09-05 at 16:04 +0100, Tim Waugh wrote:
> You're comparing different grep package releases (RHEL 4 vs FC 3), with
> different patches, so it's hard to know what to take from the test
> results.
> 
> Try comparing the same grep packages (name-version-release) so that you
> know the same patches have been applied on both machines.
> 
> Tim.
> */

Check your LANG environment variable.

I found that with a utf locale (eg 'en_IE.UTF-8'), many grep patterns
became incredibly slow.  Setting my locale to 'C' fixed the issue.  I
didn't have time to investigate further.

Matt Davey		When I read about the evils of drinking, I gave 
mcdavey at mrao.cam.ac.uk 	     up reading.  - Henny Youngman.




More information about the fedora-list mailing list