Hi all,
I own a D-Link DWA-192 which works well except for one thing: while connected to Wireless, I experience ping spikes at semi-regular intervals. I started investigating this seriously since it badly interferes with my need for constant connectivity.
Hardware:
- Router: Ubiquiti ERPoE5
- Access point: Ubiquiti AC Pro
- Wireless Adapter: D-Link DWA-192.
- Operating System: Windows 10 Pro (used 1803, 1903, 1090, issue manifested on all OS versions)
In order to narrow down the issue, I have used psping64, Process Monitor and Windows Powershell combined to obtain the exact timestamp at which ping spikes occur, then compare against timestamps recorded in Process Monitor.
The Powershell script I used for pinging my router very quickly is shown below:
.\psping64.exe -t -i 0 192.168.2.1 |Foreach{
$pingsize = [double]($_ -replace "(.+:\s)|(ms)","")
if ($pingsize -gt 100)
{
$adddate = Get-Date -Format "yyyy/MM/dd HH:mm:ss:fff"
"{0} - {1}" -f ($adddate),($pingsize)
}
else {}
} | Tee-object -FilePath ping_log.txt
What the script does is it runs PSPing64.exe tool repeatedly at maximum pace, adds a timestamp to the output with milliseconds and records only pings which have a response time greater than 100ms. Usually the response time from my router is between 1 and 2 milliseconds, the only exceptions being the ping spikes.
I have noticed the ping spikes occurring in pairs, at every 30 minutes (although sometimes they show up every 5 minutes).
Example output below:
2020-01-26 11:12:40:556 - 2853.58
2020-01-26 11:12:42:933 - 112.51
2020-01-26 11:42:40:819 - 2891.12
2020-01-26 11:42:43:376 - 115.8
2020-01-26 12:12:41:093 - 2893.87
2020-01-26 12:12:43:826 - 115.25
You can see there is a pair of spikes every 30 minutes, roughly 2.5 seconds apart. First spike is really large, almost 2900 milliseconds, while the second is smaller at about 112-115 milliseconds. I took those timestamps and checked them against Process Monitor output, narrowing the issue down to one active file showing up every time the issue occurs. The name of the file is SwUSB.exe.
This is a Realtek-provided file. The file version in properties is 500.1038.1209.2016, size is 489 KB (500,736 bytes) and it's digitally signed by Realtek on Friday, December 9, 2016 11:28:26.
I have also provided the list of events captured for SwUSB.exe at the moment the ping spike occurred. The USL to access is here:
https://docs.google.com/spreadsheets/d/1PjePnfN0FPheXcI8gGnhtp5qKp2DAJAh8tDA7lk3gPc/edit?usp=sharing
I hope the data I have provided helps identify and fix the root cause for this.
For now I have resorted to a rather primitive fix: I renamed the .exe file - will see if any ping spikes re-occur.