Wifi Ping Spikes generally occur when two devices transmit data at once. At that time, many packets collide with each other and as it results, you get ping spikes. To fix it, try to use a wired connection while transmitting the packet. Due to that, the chances of packet loss are none.