[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.

I had up2date'd grep on the Opteron system before I saw this msg,
and the problem then disappeared, but it was also present on a
Centos box running the un-up2date'd grep, and disappeared when
I switched $LANG from en_GB.UTF-8 to C.

Looks like the update has fixed the locale-sensitivity problem.

Thanks everyone!


>Matt Davey		When I read about the evils of drinking, I gave 
>mcdavey mrao cam ac uk 	     up reading.  - Henny Youngman.
>fedora-list mailing list
>fedora-list redhat com
>To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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