4

I'm having a very noticeable mouse lag when my CPU usage spikes up to %100 or between %90 and %100, this happens when I open a project in visual studio, or when building a project, or when rendering a gif, so different operations, same problem. The weird thing is it doesn't happen when I'm doing stress test with AIDA64. My specs are:

  • OS: Windows 10 64 bit, build 1703
  • CPU: Intel i7 7700k @4.8 GHZ
  • Ram: Corsair 2x16 3000 MHZ
  • GPU: Nvidia 1080TI

My cpu is overclocked but I don't think it causes this, because I had the same issue when I didn't overclock the CPU. All of my drivers are up to date and there is no unknown device in device manager, so how can I find what is causing this lag and fix it ?

  • In my experience, this is normal behaviour. I came to conclude that CPU is needed to make the mouse cursor move. Maybe your test only stresses parts of the CPU that are not involved in controlling mouse movement. – simlev Jul 20 '17 at 13:48
  • open cmd.exe as admin and run wpr.exe -start CPU -start ReferenceSet -filemode && timeout -1 && wpr.exe -stop C:\HighCPUUsage.etl now try to capture the mouse hangs while the CPU is at 100%. Zip the ETL + NGENPDB folder, share the zip on OneDrive. – magicandre1981 Jul 20 '17 at 14:55
  • This smells vaguely like "24 Cores and the Mouse Won't Move: Engineer Diagnoses Windows 10 Bug" that was just published last week. – Jesse Slicer Jul 21 '17 at 17:57
  • @magicandre1981 I did but the generated ETL file is so large, I recorded for like 1 minute and it's 6GB. – Selman Genç Jul 23 '17 at 14:41
  • compress it as 7z and only try to capture 30s to have smaller files – magicandre1981 Jul 23 '17 at 15:36
4

To capture the CPU usage in Windows 10, open cmd.exe as admin and run wpr.exe -start CPU -start ReferenceSet -filemode && timeout -1 && wpr.exe -stop C:\HighCPUUsage.etl and when you captured 30-60s of the lags press a key to stop the logging.

Now load the generated C:\HighCPUUsage.etl in WPA.exe (You need to install the Windows Performance Toolkit from the Windows 10 SDK) by doing a double click on it.

Drag & drop the graph CPU Usage (Sampled) from the left side under Computation to the Analysis pane

enter image description here

and change the view to DPC and ISR Usage

enter image description here

Configure and load debug symbols in WPA.exe and extand the stack of ntoskrnl.exe and under ntoskrnl.exe!KiExecuteAllDpcs I see calls of sshid.sys and other Microsoft Mouse/keyboard drivers. sshid.sys also seams to be a mouse/keyboard driver. so update the driver or use the default MS drivers which provide only basic features.

While executing DPCs the whole system is blocked and this could cause your lags.

| improve this answer | |
0

just sharing my experience as I searched multiple forums about this topic.

For me, this definitively solved the issue : deactivating startup load of every instance of "RtkAudUService64.exe", until there is no more any instance of it in the Task Manager after reboot.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.