[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep
From: |
rogerio . a . santos |
Subject: |
grep |
Date: |
Wed, 14 Dec 2005 18:49:41 -0200 |
Dear developer,
I had upgraded my operation system from RedHat 6.1 with kernel 2.2 to
RedHat Enterprise Edition 4 with kernel 2.6 and I had a big
performance decrease in "grep" utilitary.
Using the grep ditribution package rpm of operation system (2.5.1) a had
the follow result;
3 minutes 28 seconds --> time cut -c1-2 file.tmp | grep -c "^01" | awk
'{printf("%.6d",$1)}'
Using the grep source compiled of gnu.org (2.5.1a) a had the follow result:
2 minutes 36 seconds --> time cut -c1-2 file.tmp | grep -c "^01" | awk
'{printf("%.6d",$1)}'
Using the grep from the old operation system (2.3) a had the follow
result:
0 minutes 05 seconds --> time cut -c1-2 file.tmp | grep -c "^01" | awk
'{printf("%.6d",$1)}'
I wold like to know if this strong diference is normal for these diferents
versions ?
Regards,
Rogério de Alencar Santos
CCS - Sistemas
RR Donnelley Moore
Tel (55 11) 2104-4318
www.rrdmoore.com.br
- grep, rogerio . a . santos, 2005/12/12
- grep,
rogerio . a . santos <=
- Re: grep, Thomas Guettler, 2005/12/19