You can use the esxcli commands to change the I/O scheduling capability for VMFS, NFS 3, and NFS 4.1 datastores on your ESXi host. The capability is enabled by default.

Prerequisites

Install ESXCLI. See Getting Started with ESXCLI. For troubleshooting, run esxcli commands in the ESXi Shell.

Procedure

  • To enable or disable per file I/O scheduling, run the following commands:
    Option Description
    esxcli system settings kernel set -s isPerFileSchedModelActive -v FALSE Disable per file I/O scheduling for VMFS and NFS 3.
    esxcli system settings kernel set -s isPerFileSchedModelActive -v TRUE Enable per file I/O scheduling for VMFS and NFS 3.
    esxcli system module parameters list -m nfs41client List the current status of NFS 4.1 file based scheduler
    esxcli system module parameters set -m nfs41client -p fileBasedScheduler=0 Disable file based scheduler for NFS 4.1.
    esxcli system module parameters set -m nfs41client -p fileBasedScheduler=1 Enable file based scheduler for NFS 4.1.