The interval between receiving data is always very long

Two clients, one of which acts as the host, sends data every 33ms, and the other client receives data not at 33ms. Considering network fluctuations, I guess a few milliseconds is normal. But in fact, there will be an interval of 300ms, and then 10 data packets will be received at one time, how to solve this problem.