[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: grep speed on Opteron vs P4



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 mrao cam ac uk 	     up reading.  - Henny Youngman.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]