Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

egrep in redhat 8.0 is painfully slow.

0 views
Skip to first unread message

ik4sp

unread,
Jun 3, 2003, 10:50:16 AM6/3/03
to
I tried to replace version of RedHat 7.3 with version 8.0.
Installation was fine on 2CPU box with 1G of memory. All functionality
is here. But egrep is painfully slow compare to version 7.3.

On ver 7.3 system using 235Meg file
cat foo | wc –l 2 sec
egrep '^' foo| wc –l 3sec

On ver 8.0 system using 30Meg file
cat foo | wc –l instant
egrep '^' foo| wc –l over 10 min !!!

And it is not disk subsystem itself – copying time is the same or
better. When egrep is running only one CPU use going to95%+. Is it MP
issue? Unfortunately I have some scripts heavily relying on egrep. Is
anybody having any idea what it could be, please advice.

0 new messages