Second ls -l on NFS share takes a lot more time than first

Solution Unverified - Updated -

Issue

  • Second 'ls -l' on NFS share taking more time than first.
# time ls -la /test/dir1/ | wc -l
521152

real    0m33.851s
user    0m6.206s
sys 0m11.317s

# time ls -la /test/dir1/ | wc -l
521152

real    3m0.837s
user    0m9.403s
sys 0m41.749s

Environment

  • Red Hat Enterprise Linux 6.4
  • NFSv4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content