Author Topic: CPU usage and network latency gradually increasing over time  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
CPU usage and network latency gradually increasing over time
« on: April 22, 2018, 12:45:25 AM »
I've been a (mostly) satisfied user of avast for more than a decade. Over the last several weeks (maybe as far back as early March) I've been putting up with my computer needing to be rebooted more often than before because it gradually became unbearable to use after a few days, with CPU fan constantly spinning fast and having to wait multiple seconds for every network request. Task manager and other process monitors did not reveal any obvious single process consuming CPU. The network itself (both local and internet) is fine, other non-Windows systems have been using it.

At some point I started to suspect one of the recent avast updates. Repairing avast did not solve the problem, nor did disabling shield components, and other forum threads weren't conclusively describing the same symptoms (it's possible other people simply haven't noticed because it manifests gradually over several days). Since it took so long to become annoying after each reboot I resigned myself to wait for an update, but today I stumbled upon a tool that allowed me to confirm my suspicion and immediately pinpoint the culprit as an avast subsystem.

I used PerfView to "Collect data machine wide" of "Cpu Samples" for 30 seconds. When it was done, I opened the "CPU Stacks" view for "All Procs" and the top entry was "module aswarpot.sys <<aswarpot.sys!?>>" with 54.0% of the time ("Exc % - The exclusive cost expressed as a percentage of the total cost of all samples.") and a "When" of "19965899998879998999997899A99977" (which I interpret to mean in 24 of the 32 sample buckets it was consuming between 80% and 100% of a single CPU core). Investigating the properties of this file in Explorer and confirming with a quick web search, this turned out to be avast's anti-rootkit protection.

Unchecking "Enable anti-rootkit monitor" (automatically unchecks "Enable anti-exploit monitor" too) under "Troubleshooting" and OK-ing immediately restored both the CPU usage and network latency to normal levels. As expected, running PerfView shows no sign of aswarpot.sys and nothing else is using a similarly high amount of CPU. Re-enabling the anti-rootkit monitor immediately brings CPU usage and network latency back up to unbearable levels (ie it does not take several days to ramp up again). I assume this is not the expected behaviour of the anti-rootkit monitor, even if I had a rootkit.

If it makes a difference, I'm running avast Free on Win 8.1. I'm fairly certain this started some time in the last 2 months, so the regression first appeared some time after 18.1.2326 in either 18.2.2328 or 18.3.2333. Has anyone else encountered these symptoms? Is this a known bug?

REDACTED

  • Guest
Re: CPU usage and network latency gradually increasing over time
« Reply #1 on: April 22, 2018, 05:20:52 AM »
Hi, this has been happening to me too for a few months. At first I could not find out which program was the problem until I noticed Avast Service gradually increasing CPU usage with time until restart. In the first day or so only gaming was affected, my FPS in League of Legends dropped to 05 (normal is 120). After about 5 days, the whole computer slows down, can't even browse.

Thank you Will now that I know it's especifically avast anti-rootkit monitor I can disable it. I run Avast Free on Windows 10 (previous windows 8.1 based computer that had windows 7, but then I upgraded to 10 Pro).

Also, complete reinstall of Avast did nothing to solve the problem, only restarting the PC. But disabling the anti-rootkit also worked for me now that I have tested it. :)

Offline Asyn

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 76037
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Re: CPU usage and network latency gradually increasing over time
« Reply #2 on: April 22, 2018, 07:17:03 AM »
Hi guys, I forwarded it. Cheers
W8.1 [x64] - Avast Free AV 23.3.8047.BC [UI.757] - Firefox ESR 102.9 [NS/uBO/PB] - Thunderbird 102.9.1
Avast-Tools: Secure Browser 109.0 - Cleanup 23.1 - SecureLine 5.18 - DriverUpdater 23.1 - CCleaner 6.01
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0

REDACTED

  • Guest
Re: CPU usage and network latency gradually increasing over time
« Reply #3 on: April 22, 2018, 05:55:53 PM »
Glad to hear I'm not alone at least. :)

Thank you Asyn for raising the issue to the right place, I look forward to a future update allowing me to re-enable the rootkit monitor.

Offline Asyn

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 76037
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Re: CPU usage and network latency gradually increasing over time
« Reply #4 on: April 23, 2018, 09:46:50 AM »
You're welcome.
W8.1 [x64] - Avast Free AV 23.3.8047.BC [UI.757] - Firefox ESR 102.9 [NS/uBO/PB] - Thunderbird 102.9.1
Avast-Tools: Secure Browser 109.0 - Cleanup 23.1 - SecureLine 5.18 - DriverUpdater 23.1 - CCleaner 6.01
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0