Poor Read Performance of 'stdio' Data From NFS 4 in RHEL 6
Issue
- Using a custom application that reads
stdiodata from anNFS 4mountpoints results in unacceptably slow throughput - Application gets poor performance in NFS with
stdio - Default buffer size from
staton anNFS 4mount has poor read performance usingstdio - Poor read performance of stdio data from NFS in Red Hat Enterprise Linux 6. Application that uses stdio to read data sets default buffer sizes according to the block size of the underlying filesystem as returned by stat.
- See Diagnostic Steps for code examples to reproduce the issue
Environment
- Red Hat Enterprise Linux (RHEL) 6.4
- NFSv4 Mounted Filesystem
- Filesystem has a minimum
rsize1MB
- Filesystem has a minimum
- An application which reads data via
stdio- An input file on an NFS 4 filesystem
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.
