Second ls -l on NFS share takes a lot more time than first
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
