This application relates to the field of SR-IOV technology and discloses an I / O isolation method, apparatus, and medium for
memory virtualization. The method includes: after associating each
virtual device (VF) with a corresponding
namespace at the front end, obtaining
namespace-related information sent by the front end; binding a unique write channel to each
namespace in conjunction with pre-established write channel resources; configuring attributes for each unique write channel; and allocating a corresponding storage
resource pool for each unique write channel. This establishes a corresponding relationship between the
virtual device (VF), namespace, and write channel, and allocates a corresponding storage
resource pool to each write channel. Thus, when different users write data using their respective
virtual device (VF), they utilize their respective unique channels for business operations, avoiding mutual interference between services, achieving I / O isolation, and thereby improving the overall
system performance.