[Novalug] grep question

John Franklin franklin@elfie.org
Fri May 21 12:18:20 EDT 2010


In what order were these test performed, and did you run them twice to ensure the files were already in cache?  File cache misses could account for a lot of the 98s vs 28s timings.

jf

On May 21, 2010, at 8:56 AM, Mike Miller wrote:
> Time   | System   | Command
> -------|----------|-----------------------------------------------------------
> 93 s   | RHEL 4.1 | grep -r '[eE][nN][cC][rR][yY][pP][tT][iI][oO][nN]' .
> 28 s   | RHEL 4.1 | grep -i -r 'encryption' .
> 1.2 s  | RHEL 4.1 | LC_ALL=C grep -r
> '[eE][nN][cC][rR][yY][pP][tT][iI][oO][nN]' .
> 0.35 s | RHEL 4.1 | LC_ALL=C grep -i -r 'encryption' .
> -------|----------|-----------------------------------------------------------
> 40.3 s | RHEL 5.2 | grep -r '[eE][nN][cC][rR][yY][pP][tT][iI][oO][nN]' .
> 98 s   | RHEL 5.2 | grep -i -r 'encryption' .
> 2.1 s  | RHEL 5.2 | LC_ALL=C grep -r
> '[eE][nN][cC][rR][yY][pP][tT][iI][oO][nN]' .
> 0.5 s  | RHEL 5.2 | LC_ALL=C grep -i -r 'encryption' .

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3914 bytes
Desc: not available
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20100521/26945537/attachment.p7s>


More information about the Novalug mailing list