'grep -v -f' is slower to run on RHEL 6 than on RHEL 5

Solution Verified - Updated -

Issue

  • The time it takes to run grep -f somefile somefile.different on RHEL 6 & 7.0 is much greater than the same command on the same files on RHEL 5

Environment

  • Red Hat Enterprise Linux (RHEL) 6
    • grep-2.6.3-6.el6 (or earlier)
  • Red Hat Enterprise Linux (RHEL) 7
    • grep-2.16-1.el7 (or earlier)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.