Poor Read Performance of 'stdio' Data From NFS 4 in RHEL 6
Issue
- Using a custom application that reads
stdio
data from anNFS 4
mountpoints results in unacceptably slow throughput - Application gets poor performance in NFS with
stdio
- Default buffer size from
stat
on anNFS 4
mount 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
rsize
1MB
- 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, tools, and much more.