Welcome Guest ( Log In  ·  Register)



 
Reply to this topicStart Poll
Is your Antivirus making AoM run slow? Probably.
[ Standard ] · Linear+
Razor911
post Sep 9 2019, 11:28 PM
Post #1


2nd Lieutenant
Group Icon

Group: Members
Posts: 477
AOM Replays: 178
Submissions: 2
Joined: 8-April 19

Member No.: 124,030






If you insist on using Windows Defender or other antivirus "real-time" functions then it's going to be aggressively scanning your files pretty much all the time and even on modern hardware this can slow things down considerably.

In this video below, BlackAdder discovers that he might actually be able to survive the community games casts without a restart going into the 3rd or 4th hour. Maybe it can help you manage to play as well. For streamers, consider adding the OBS/Streamlabs folder and exe as well to your exclusions because the antivirus companies will have their dirty mitts all over that process as well, slowing it down.

PS: One of the biggest causes of stream lag/slowdown is having your own twitch stream open and running as well as your game and streaming software at the same time. If you need to view your Twitch chat add it to your obs window and check the stream health from there or use the creators page under settings on twitch to check your stream on the web side.




BlackAdders youtube



If you are playing Extended Edition you can add your whole Steam folder as an exclusion and it should also cover your executables and game files but it might pay to add them separately to make sure. Modern games usually use compression for textures or sounds and antivirus will uncompress and scan those files before it allows the game to do the same. There are lots of guides out there on excluding Steam in many languages. An alternative to a real-time antivirus solution is Host Intrusion Prevention System or HIPS for short which comes with most reputable firewalls but this requires you to know a little about what the files in your system actually do.

This post has been edited by Razor911: Sep 9 2019, 11:30 PM

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
smurphcity
post Sep 10 2019, 08:09 AM
Post #2


Major-General
Group Icon

Group: Members
Posts: 2,806
AOM Replays: 11
Submissions: None
Joined: 3-April 04

Member No.: 4,945






The late game lag from this is so unplayable. Recently turned this off, wish I had known ages ago

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sebas613
post Sep 10 2019, 09:09 AM
Post #3


Cadet
Group Icon

Group: Members
Posts: 13
AOM Replays: 1
Submissions: None
Joined: 6-October 18

Member No.: 123,597






At what point should I consider my start time "normal"?

Even with these exclusions in windows defender and malwarebytes, it tends to "hang" on the "Loading game database..." part for about 13 seconds.

After adding in the voobly exclusion, the .exe at least opens directly cutting down a nice few seconds.


(Specs: SSD, 16gb ram, 4gb video).

This post has been edited by Sebas613: Sep 10 2019, 09:09 AM

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Black Adder
post Sep 10 2019, 09:34 AM
Post #4


Lieutenant-General
Group Icon

Group: Administration
Posts: 3,006
AOM Replays: 407
Submissions: None
Joined: 9-April 04

From: Praha, Czech Republic
Member No.: 5,110






This is an issue known for a few years already, we originally discovered it because of the long load times into game, but it's not actually that much of a common knowledge, so hopefully we can get it a bit more out there, because it seems the situation got worse some time ago regarding the lategame lag - some months ago I noticed lategame getting lot laggier, thought it's my computer/Win install getting old (which it is), but turns out it was probably some Windows update making things worse.

I added subtitles in case someone cannot understand me, though I guess the video process should be enough - it's made in Windows 10, not sure if Windows 7 Defender is much different or not.

QUOTE(Razor911 @ Sep 10 2019, 06:28 AM)
For streamers, consider adding the OBS/Streamlabs folder and exe as well to your exclusions because the antivirus companies will have their dirty mitts all over that process as well, slowing it down.

PS: One of the biggest causes of stream lag/slowdown is having your own twitch stream open and running as well as your game and streaming software at the same time. If you need to view your Twitch chat add it to your obs window and check the stream health from there or use the creators page under settings on twitch to check your stream on the web side.
*



Haven't noticed for the first thing yet, but cannot hurt, though the second is definitely true - if your stream is lagging/lacking, do turn off your stream preview in browser - pausing the picture should be enough - Flash is really nasty on CPU usage and it takes a good chunk of performance, also on GPU, and RAM over time. Btw this could also help you get better game performance if you have a weaker computer I imagine, so if you're watching stream in-between games, don't forget to turn it off, not just mute or something. Otherwise even web browsers themselves can take some performance, depending on how many tabs you have open, so another step to helping your stream/game performance might be to turn those off as well.

And generally what has been mentioned, if you're going to play multiple games in a row in LAN without restarting the game, you might start facing some issues, too, as the game runs up on RAM usage.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Black Adder
post Sep 10 2019, 09:40 AM
Post #5


Lieutenant-General
Group Icon

Group: Administration
Posts: 3,006
AOM Replays: 407
Submissions: None
Joined: 9-April 04

From: Praha, Czech Republic
Member No.: 5,110






QUOTE(Sebas613 @ Sep 10 2019, 04:09 PM)
At what point should I consider my start time "normal"?

Even with these exclusions in windows defender and malwarebytes, it tends to "hang" on the "Loading game database..." part for about 13 seconds.

After adding in the voobly exclusion, the .exe at least opens directly cutting down a nice few seconds.


(Specs: SSD, 16gb ram, 4gb video).
*



It should start within a few seconds - compare it with launching a game without Patch, that should be like 2-3s, with Patch it should be a few more, but not many - you can time it in my video, first I launch with WD working, later without - difference is 30s->5s.

Try to disable Malwarebytes to see if it changes, if so, then you need to set-up the exception differently there to work properly.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sebas613
post Sep 10 2019, 11:39 AM
Post #6


Cadet
Group Icon

Group: Members
Posts: 13
AOM Replays: 1
Submissions: None
Joined: 6-October 18

Member No.: 123,597






QUOTE(Black Adder @ Sep 10 2019, 03:40 PM)
QUOTE(Sebas613 @ Sep 10 2019, 04:09 PM)
At what point should I consider my start time "normal"?

Even with these exclusions in windows defender and malwarebytes, it tends to "hang" on the "Loading game database..." part for about 13 seconds.

After adding in the voobly exclusion, the .exe at least opens directly cutting down a nice few seconds.


(Specs: SSD, 16gb ram, 4gb video).
*



It should start within a few seconds - compare it with launching a game without Patch, that should be like 2-3s, with Patch it should be a few more, but not many - you can time it in my video, first I launch with WD working, later without - difference is 30s->5s.

Try to disable Malwarebytes to see if it changes, if so, then you need to set-up the exception differently there to work properly.
*



I attempted to see what happens if I completely turn off all protection boxes from both windows defender and malwarebytes.

no-patch loads in 5s, path 3.0 loads in 14secs. (same as what I had when I had my original exceptions when Hagrit helped me configure my installation).

It seems there is something else affecting the load time of the patch.

However, a 14s load time is something I can live with, so if no one knows what's going on, I won't mind too much :P

This post has been edited by Sebas613: Sep 10 2019, 11:40 AM

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Black Adder
post Sep 10 2019, 12:36 PM
Post #7


Lieutenant-General
Group Icon

Group: Administration
Posts: 3,006
AOM Replays: 407
Submissions: None
Joined: 9-April 04

From: Praha, Czech Republic
Member No.: 5,110






Best way to see what's going on is bring up Task Manager (Ctrl+Shift+Esc), have it be on top (Options->Always on Top) and then go launch AoM through Voobly and see which program/process suddenly turns up with CPU usage (you can also check this way if maybe Malwarebytes or Defender aren't still working). Maybe it's the best you can get, the results will vary across different configurations.

This post has been edited by Black Adder: Sep 10 2019, 12:37 PM

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sebas613
post Sep 10 2019, 08:12 PM
Post #8


Cadet
Group Icon

Group: Members
Posts: 13
AOM Replays: 1
Submissions: None
Joined: 6-October 18

Member No.: 123,597






QUOTE(Black Adder @ Sep 10 2019, 06:36 PM)
Best way to see what's going on is bring up Task Manager (Ctrl+Shift+Esc), have it be on top (Options->Always on Top) and then go launch AoM through Voobly and see which program/process suddenly turns up with CPU usage (you can also check this way if maybe Malwarebytes or Defender aren't still working). Maybe it's the best you can get, the results will vary across different configurations.
*




I did shortly see the an "Anti-Malware Service Executable" jump for a second to near the top.
Mainly, the aomxnocd.exe became unresponsive for the duration of the freeze. (Only happens on patch).

There were a few items writing on the disk during the freeze; perhaps I should clean my SSD a bit and then that'll solve it? who knows.

I'll live with it for now; just adding the voobly.exe exception as well already helped by 8s, so the other 8s I'll just take for grnated.

Smart idea though to use task manager like that, it's one I wouldn't have thought of.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Black Adder
post Sep 10 2019, 09:44 PM
Post #9


Lieutenant-General
Group Icon

Group: Administration
Posts: 3,006
AOM Replays: 407
Submissions: None
Joined: 9-April 04

From: Praha, Czech Republic
Member No.: 5,110






If your Windows Defender (the Anti-Malware Service Executable) is still revving up when you start AoM, you may not have done the exclusion properly, or maybe it somehow hasn't caught on, so try re-adding it - it needs to be process, not file or any of the other options, and the file name needs to be exactly aomxnocd.exe, just like in the video - you can see there that when I add the exclusion, the Anti-Malware Service Executable stays silent when launching, that's the end goal.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sebas613
post Sep 11 2019, 08:17 AM
Post #10


Cadet
Group Icon

Group: Members
Posts: 13
AOM Replays: 1
Submissions: None
Joined: 6-October 18

Member No.: 123,597






QUOTE(Black Adder @ Sep 11 2019, 03:44 AM)
If your Windows Defender (the Anti-Malware Service Executable) is still revving up when you start AoM, you may not have done the exclusion properly, or maybe it somehow hasn't caught on, so try re-adding it - it needs to be process, not file or any of the other options, and the file name needs to be exactly aomxnocd.exe, just like in the video - you can see there that when I add the exclusion, the Anti-Malware Service Executable stays silent when launching, that's the end goal.
*




Tried re-adding it, but since the executable only spiked to 0.5% processor for about half a second when the game initially launches, and doesnt appear while the game is unresponsive during "game database" portion, I don't think its related to the windows defender. Especially since it occurred while I turned off those four windef options and my MBAM protection for a few test runs as well, with no visible difference. The exceptions I had in place already did cut off some time iirc.


I assume it is normal for voobly and other processes to use disk writing capacity while the game is loading to put the mod in place. -- to me, it seems that the load time may simply be tied to that being done a tad slowly, rather than anything else.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Black Adder
post Sep 11 2019, 08:57 AM
Post #11


Lieutenant-General
Group Icon

Group: Administration
Posts: 3,006
AOM Replays: 407
Submissions: None
Joined: 9-April 04

From: Praha, Czech Republic
Member No.: 5,110






Okay, could be then that that is the maximum for you, you can just see having only aomxnocd in exclusions without voobly and if that already decreases your load time compared to having no exclusions, then you're getting the effect.



User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicTopic Options
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Task


Time is now: 29th March 2024 - 12:35 AM
About Us  ·   Advertising  ·   Contact Us  ·   Terms of Use  ·   Privacy Policy