Score:2

RHEL8: Does NFS I/O count as part of "%iowait" calculations?

in flag

Customer telling us that they see high %iowait in top and iostat output on a busy RHEL8 NFS client.

iostat man page clearly says that iowait is related to % of time kernel is waiting on "disk" I/O

Question - does NFS I/O count as "disk" I/O in %iowait calculations?

Score:3
cn flag

Yes, on Linux, NFS is included in iowait time, and contributes to the load average.

Red Hat KB Does NFS cient I/O count iowait% on linux? shows packet loss to an NFS server increasing iowait. Eventually your NFS server may go away unexpectedly, try looking at iostat in that bad state.

Tasks that sleep on I/O contribute to these iowait metrics in process accounting. NFS does this, it calls io_schedule().

"Disk" is a shorthand for processes waiting on I/O, which typically but not always are block devices.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.