The present application relates to the technical field of
artificial intelligence, and is applied to the financial insurance scene, and particularly relates to a performance anomaly
simulation method, device, equipment and medium, wherein the
fault injection configuration parameters corresponding to a target fault scene in a storage
system are acquired, the
fault injection configuration parameters include fault type parameters and fault
control parameters, a preset hook function is used to capture I / O requests associated with a block device, the I / O requests carry read / write type identifiers, whether the I / O requests belong to the type of faults to be injected is determined based on the read / write type identifiers and the fault type parameters, if yes, the
fault injection operation is performed on the I / O requests meeting the conditions based on the fault
control parameters, so as to complete the performance anomaly
simulation. It can be seen that, in the present application, the fault injection configuration parameters are acquired and the I / O requests are captured, whether to inject faults is dynamically determined based on the read / write type identifiers and the fault type parameters, and the fine fault injection operation is performed, so that the accuracy of the performance anomaly
simulation is improved, and the stringent requirements of the financial industry on the performance anomaly test of the storage
system are met.