Bug 112745 - grep bad performance
Summary: grep bad performance
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 2
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 15:46 UTC by Berthold Gunreben
Modified: 2007-03-26 15:15 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Berthold Gunreben 2005-08-24 15:46:28 UTC
as root, when doing a grep on a big file with several different tags, it 
happens that the grep is very slow. The reason is, that LC_CTYPE=en_US.UTF-8 
while all other language variables are POSIX. This means, that libc does lots 
of conversions between POSIX and en_US.UTF-8 what costs way more CPU time than 
the grep itself.
Comment 2 Berthold Gunreben 2005-08-31 09:28:14 UTC
Is there some progress on this issue? I understand that this is a system 
inherent problem, but the performance impact is too big to just ignore. 
Comment 3 Andreas Schwab 2007-03-26 15:15:08 UTC
Should be fixed now.