The invention relates to the technical field of data storage, and discloses a UFS-oriented high-speed direct
data path performance test method, which comprises the following steps: in a
user space processing flow, creating a test thread bound to a specific CPU processor core,
multiplexing a
data cache pool by the test thread to construct an input and output request, and issuing the input and output request through an input and output control interface; in a kernel space
processing flow, pre-established mapping and page locking on a
user space data cache pool are utilized, and input and output requests are directly dispatched to a corresponding multi-command
queue hardware
queue in a UFS device driver to be executed. By bypassing a Linux block device layer, a direct
data path from a
user space to a UFS driver is established, so that the input and output paths are greatly shortened, and the sequential and random read-write performance is remarkably improved; by establishing a
static mapping relation among the threads, the CPU processor cores and the multi-command
queue hardware queue, multi-core resource competition is effectively reduced, and the
parallel processing capacity of UFS equipment is fully released.