武装突袭3

武装突袭3

WLA: Amalgamation
Tarmon Valens 2014 年 10 月 12 日 上午 11:50
Performance testing
I think I'm cluttering up the comments section a bit too much, so I thought I would just start this thread. So let me briefly describe the problem.

After some invisible threshold is crossed, there is a delay between pressing the menu buttons (shift-c, shift-1, and any of the buttons in said menu), and the activation of the effect (opening the menu, equipment appearing, items placed, etc). It seems to be degenerative, but is reset when using the restart/continue old save selection. Mostly it isn't a huge issue, but after a while, it can get to be 5+ seconds between the button press and the activation.

Now let me describe some of the things I've ruled out, and some things I've tried:

1) It isn't strictly time dependent. I set up Camp Wolf with one high HMG, and did something else for 10 hours. I came back and the menus had no delay. Also, the delay didn't start any faster than normal.

2) It isn't strictly number or type of statics. I posted up at the main airfield, and put nearly 300 mixed statics at one post. There was no menu delay, except the delay experienced with terrible FPS. The menus came up precisely as fast as any other action activated.

3) It isn't about how many times you have saved. I saved 200 times in a row, once; played for 6 hours; and saved 200 more times. The delay started, but it was entirely consistent with a standard run. There was no increase in the delay after the bulk saves.

4) It isn't the number of times you get into a vehicle. I got in and out of a vehicle 200 times with no increase in the delay. I tried the standard truck, the marshall, and the slammerup. I didn't keep going because A) it seemed clear that wasn't the problem, and B) I never use any other vehicles.

5) It isn't the number of times your teammates get into and out of vehicles. I ran the same test as #4, but with teammates. The result was the same.

6) It isn't saving while in a vehicle. I ran the 200 save test from in a vehicle, with no increase in menu delay.

7) It isn't saving while in a moving vehicle. I ran the 200 save test while saving in a moving vehicle, with and without teammates. No increase in menu delay.

8) I tried with and without SLI running. I tried the land area test from above with and without SLI and there was no noticeable difference. The delay started at similar times, with similar severity.

9) I tried with one monitor and two monitors. I tried the gear collecting test and found slightly better overall perfomance with my Dell monitor, rather than my TV, and rather than both. But the menu delay was unchanged. All three runs showed the same severity after similar periods of time.

10) I turned off everything but Arma 3. I disconnected from the internet entirely, and made sure steam was in offline mode. I did the driving 200 save test, and there was no difference.

11) I turned off all of my mods and did the equipment collecting test, with perhaps slightly better performance and slightly less delay. It was still pretty severe, though. Still 3+ seconds.

I think those are the only things I've ruled out pretty conclusively. Next, let me explain some tests that were inconclusive.

1) Land area covered. In a few tests, I just drove around. Not collecting anything, no posts or camps, no shooting. I just drove around. While there was definitely noticeable menu delay by the end of each excursion; it wasn't very severe. Even considering how short each such trip was. Maybe 1/2 of a second longer than normal.

Of course this is very inconclusive because of the sheer number of other possibilities that could have arisen due to wide ranging.

2) I am tempted to think it has something to do with item collection. In a few tests, I gave myself lots of prestige and just ordered 50 of each type of crate. I collected all of the items from them and started rooting through the gear menu. There was a little menu delay, but it was about the same as the land area tests. Maybe an additional 1/2 second.

I tried just continuing through the mission, and after a few hours (I didn't collect anything else), the delay was similar. Perhaps a bit longer (3/4 of a second maybe), but nowhere near the crazy delays I have been experiencing.

So I tried some item collection tests where I didn't collect from crates, but collected from corpses. This resulted in 3+ second menu delays within an hour. Unfortunately, there are other possible causes, so this is also inconclusive.

3) I did a few runs where I just put up posts. I walked them off, and put a new post as close as possible. I got up to 26 posts, with guards, in the North East peninsula before my FPS started to tank The delay started somewhere around 14, but it didn't get over 1 second until 20. But it never got really bad. At first, I put only one guard per post, but when I got to 26 posts between the Molos Airport, Molos, and the Pier, I figured that was not the problem. I went back and started filling up the posts with guards, and my FPS tanked before I could even fill half of them. There was some menu delay, though; so something here may be tied to the problem.

4) So I tried tons of posts with only statics. I started at the castle on the hill on the south west peninsula. I covered the entire peninsula with posts. Not like @ Molos, but I had 17 posts on that peninsula. I only put statics, though. Also, I had to capture a camp, a couple posts, and I think my kill count was in the 50s. But I didn't collect anything. My FPS tanked before I noticed any menu delay. I couldn't test too much, because the FPS was making me nauseous.

I count this as inconclusive for 2 reasons. I had a lot of other factors, since I had to do so much killing and capturing. 2 my FPS tanked really quickly. Compared to all of my other tests, my FPS tanked harder, in about half the time, and with fewer posts/units.

I'm sure I've tried other things too, but those are the biggies. So my immediate conclusion would obviously be that it has something to do with collecting gear from corpses, but the fact that it happens less sevely even without gear collection, leaves open a number of possibilities.

For instance, maybe it has something to do with the way the enemy are assigned gear. This could account for the fact that there is some impact even when not collecting the gear. I don't think it's actually the gear itself, because adding gear mods doesn't seem to have a noticeable impact.

Or maybe it has to do with the process of getting the gear without opening a menu. Much like there is a delay if you have a double press assigned to a key. The single action shows slight delay while it waits for the second press imput. Maybe the gear is waiting to be collected by menu, but since it never is, it just waits. Add enough of those waits, and you get significant delay. This could be true on friendlies too, of course.

There are a number of things to try, but I kind of feel like I'm banging my head against a wall. SaOK, if you have anything else I could try on my end, please tell me. IMHO there are only 2 things that would make this mission perfect. Fixing this menu thing, and fixing the static placement on alternate surfaces. Also, if anyone else has anything I could try, please speak up. I am determined to find the cause of this issue, and will try practically anything to limit the possibilities.
< >
正在显示第 1 - 15 条,共 45 条留言
Tarmon Valens 2014 年 10 月 12 日 下午 2:18 
Oh. And one other thing. During one run, that I didn't mention above, the menu delay came on hard and suddenly. I set up Camp Wolf at the caslte on the South East peninsula, took the camp, set up two posts on the peninsula gurding the passage to the main island. I drove around taking care of some projects before starting out. There was no menu delay at all. Then I drove across the isthmus, hooked a hard left, and followed the road to the town. It took maybe 2-3 minutes. When I got to the town, the delay was over 3 seconds. I have no idea why, but that was the first time I thought that land area had something to do with it. Something happened in that 2-3 minutes.
Undecieved 2014 年 10 月 12 日 下午 3:20 
Waw! you really did a lot of work on this. I am really happy this spirit still exists in this community.
I have done a lot of tests and I think one is the best condidate for me at least.
The amount of empty vehicles that player uses to collect gear + The diversity of collected gear not the ammount of guns you have of each type but rather the amount of type of guns you have.

2 second delay because of that and 2 other seconds because of another reason and you get the lag of death!

IMHO it's a combination of stackable little tiny "memory leaks" that sum to bad lag when combined.

I am here to test too and I play tthis mission exlusivly even with recent games purchases I am still addicted to this mission.

BR.
Tarmon Valens 2014 年 10 月 12 日 下午 4:00 
Excellent. I will test that tonight and let you know the preliminary results tomorrow. I'm inclined to agree with your assessment, but until we can pinpoint something conclusively, it's just speculation :( Here's hoping we can figure it out. Thanks.
Tarmon Valens 2014 年 10 月 12 日 下午 5:23 
AlexRed gave us some new information on the bistudio forums too. Here is what he said:

"About the WLA menu slow down I noticed one thing...
When the menu is slow to open, it appears like AI is less quick to react... For example, if I have a vehicle colum following me, when WLA menu is quick, I can see the AI in the vehicle behind me driving fine, following appropriately any path and avoiding obstacles in a decent way... when the menu slows down, driving AI appears to make weird things, and almost always stucks on easy passages...
In games usually this happens when the AI tasks are too much delayed between calls, as the movement usually is calculated by time interpolation, and the only time the AI has is the tick of its task... so, if timing between task calls and so ticks is too long, the interpolation becomes less precise, and usually, for a moving AI this is transformed in a 'cutting the corners' behaviour...
I dunno if this may be a clue, as I dunno how A3 coding works, I'd look eventually also into weird loops that may happen, that may be keeping CPU time or locking AI Tasks so that we have the 'cutting the corners' effect..."
Tarmon Valens 2014 年 10 月 12 日 下午 9:40 
Real quick. I tested just the diversity and quantity of vehicles by ordering 10 of every type of vehicle. No menu slow-down. I'm tired right now, but sometime tomorrow, I'll try collecting gear with several vehicles and then types of vehicle. I'll let you know how it goes.
Undecieved 2014 年 10 月 13 日 上午 5:05 
I have already tried that today for 2 hours and no slow down.
I am out of Ideas. the vehicles used to collect gear are irrelevent to the gear storage after collection. Also. I have tried one theory. if the vehicle used to collect the gear is the same as the one used to construct and no slow down too.

let's face it however, the menu lag is not as sever as it was before the gard issue was rsolved by Saok. and it's totally fixable by reloading Saok save. so basically it's not that bad.

I will keep testing.
SaOk  [开发者] 2014 年 10 月 13 日 上午 7:26 
Thanks for all the detailed feedback. I will try to track down the slowdown soon.
SaOk  [开发者] 2014 年 10 月 13 日 上午 7:43 
Found one possible rare issue in house items spawning script. Will keep eye on more. Mission update coming in day or few.

Could take time to find the exact cause. The dialog slowdown could be very unrelated to the dialogs itself. Most likely there is some bad infinite loop triggering or some array overgrowing.
Undecieved 2014 年 10 月 13 日 上午 8:32 
Saok, maybe you are into something here. Whenever I have the menu slow down. and I visite a town (on foot or vehicle) objects start spawning randomly and flying left and right on some ocasions. sometimes a desk or whatever spawns on the roof or a car on top of a car and they both explode. I have tested and it's not hapenning on freshly loaded mission. just when things get laggy.

please check that out too.
SaOk  [开发者] 2014 年 10 月 13 日 上午 9:54 
I will :), except there is one big object that causes that something like that sometimes. But checking. Its possible that before the nearest village changed and that caused some issues. Maybe even caused overspawning since one function could have returned string instead of array. Its now fixed, but only guessing if it caused something.
Tarmon Valens 2014 年 10 月 13 日 上午 10:19 
I was thinking about what Alex Red said, and about what you said. Is it possible that, rather than an unbound array blowing up, it could be a series of calls not getting a response?
Tarmon Valens 2014 年 10 月 13 日 下午 9:09 
After spending about 4 hours experimenting with vehicles, I came to the same conclusion as you, Undeceived. It doesn't appear to be any more severe by using different vehicles.

The menu delay was over 1 second within 30 minutes, which was consistent with the typical progression. I tried 4 times, using yesterdays collection of vehicles as the control.

I summoned each type of vehicle and collected gear from corpses with each one, which led to a 2-3 second menu delay by the end of 1 hour.

I summoned only a marshall, and collected gear from corpses which led to a 2-3 second delay after 1 hour.

I collected gear from crates with all vehicle types, resulting in a 1/2 second menu delay after 1 hour.

And I summoned only a marshall, and collected gear from crates, resulting in 1/2 second menu delay after 1 hour.

A good thought. One more possiblility crossed off. You know, OneShotKillah said that he hasn't had any menu delay. I wonder what his settings are?

Edit: Wait. Are you OneShotKillah? You said after the last update that you weren't getting any delay. What happened that you are now getting it again?
最后由 Tarmon Valens 编辑于; 2014 年 10 月 13 日 下午 9:12
Undecieved 2014 年 10 月 14 日 上午 2:01 
HAHAHHA ... I am Oneshotkillah. the menu delay for me before the update went from 10 seconds to 2-3 and also I didn't know that loading the Saok save file had anything to do with the Lag. So basically what I said is no longer appliacable in this thread that started after the update.

So vehicules have nothing to do with the LAG, hmmm , I am out of Ideas.
SaOk  [开发者] 2014 年 10 月 14 日 上午 7:44 
I have found some bugs, but will see if they had any part in the lag. Will continue going scripts through. Mission update in day or few.
Tarmon Valens 2014 年 10 月 14 日 上午 7:47 
Fantastic. I'm going to hold off on any more testing till you release the next update, then. I wouldn't mind taking a couple days off, anyway. Maybe I'll just play the mission :) It's been a while since I have.
< >
正在显示第 1 - 15 条,共 45 条留言
每页显示数: 1530 50