'Ask for suggestions about PCIe streaming development on Windows OS

When I tied to build a system(actually, an Analog-Digital Converter system) which can transfer data from FPGA board to PC through PCIe interface continuously, I met this situation:

The data transformation would be interrupted by mouse's movement or other system operations easily, which cause discontinuous data stream.

It's normal for PC operation system to switch between different devices, so CPU can deal with many processes at the same time. However, is there any method to decrease the duration that stop my streaming process caused by mouse's movement? To be more specific, every time I move my mouse, I can observe that my streaming process stop for few micro-second temporarily. It is too long for the tolerance of my system (because FIFO depth in FPGA is limited).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source