Bug 112745

Summary: grep bad performance
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Berthold Gunreben <bg>
Component: BasesystemAssignee: Andreas Schwab <schwab>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: andreas.hanke
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.