https://bugzilla.novell.com/show_bug.cgi?id=338995 Summary: "grep -v" performace bad with LC_CTYPE=de_DE.UTF-8 Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- grep "-v" performace completely sucks with utf8 locale: on a 2 GHz core2duo (T7200 64 bit system), for a 410 kByte ascii file: LC_CTYPE=de_DE.UTF-8 time grep -v GP nmea-2007.11.04_19.12.16.log > /dev/null 0:06.97 real, 6.92 user, 0.00 sys, 99% cpu but: LC_CTYPE=de_DE time grep -v GP nmea-2007.11.04_19.12.16.log > /dev/null 0:00.35 real, 0.00 user, 0.00 sys, 1% cpu on an AMD1200 this grep takes more than 21 secs ! on SUSE 10.2 this "grep -v " was fast even with utf8 locale. note: if the grep search string contains a utf8 character, grep -v works fast LC_CTYPE=de_DE.UTF-8 time grep -v µ nmea-2007.11.04_19.12.16.log > /dev/null 0:00.05 real, 0.05 user, 0.00 sys, 100% cpu -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.