Page MenuHomeFeedback Tracker

Give modders the tools to identify and avoid/solve performance bottlenecks.
Reviewed, HighPublic

Description

While performance issues have a wide range of sources, there are two main problems:

  1. There are no tools available to identify or narrow down the source of a given performance problem.

This also leads to generic, mostly useless reports for the developers.

  1. It appears the mission design, especially the number of entities (AI, players, empty vehicles, objects) and even more in MP due to synchronization, is one key element for certain performance problems.

Hence modders (and players) need tools to be able to identify and cope with these limitations.

Details

Legacy ID
1593159482
Severity
Feature
Resolution
Open
Reproducibility
N/A
Category
Feature Request
Additional Information

BI already has certain internal tools, thus make these available and expand their functionality and usability.

  • Add performance profiling (snapshot, real-time display, number of entities count, network sync relevance) as startup-parameter

http://community.bistudio.com/wiki/Performance_Profiling

  • Logging of script runtime (and amount of script calls/statistics)
  • Greatly enhance the mpStatistics.log and provide details about the content (scripting induced network traffic logging)

https://dev-heaven.net/issues/24517
https://dev-heaven.net/issues/25964

  • Public available developer/debug version

https://dev-heaven.net/issues/25606

  • Performance Metrics

https://dev-heaven.net/issues/54768

  • Ability to scale AI CPU use for mission designers

https://dev-heaven.net/issues/14387

  • Addition of macro to output current SQF file & function call stack at any time

https://dev-heaven.net/issues/22225

  • Improved and reduced rpt logging

https://dev-heaven.net/issues/23214
https://dev-heaven.net/issues/21923

  • Add ability to change error level like VBS2 -minerrlevel

https://dev-heaven.net/issues/13447

  • Add ability to 'one click to running MP DS mission'

https://dev-heaven.net/issues/13450

  • Game resource leak and scripts failure - Man@log by Suma

https://dev-heaven.net/issues/27636

  • Server does not unlock mission files

https://dev-heaven.net/issues/5583
https://dev-heaven.net/issues/53604

Event Timeline

kju-PvPscene edited Additional Information. (Show Details)
kju-PvPscene set Category to Feature Request.
kju-PvPscene set Reproducibility to N/A.
kju-PvPscene set Severity to Feature.
kju-PvPscene set Resolution to Open.
kju-PvPscene set Legacy ID to 1593159482.May 7 2016, 3:58 PM

Not sure if it's supposed to be category "Feature Ticket" rather, but it's a bit of both.

Sadly multiplayer, community missions and performance don't seem to be of importance to BI :(

Xeno added a subscriber: Xeno.May 7 2016, 3:58 PM
Xeno added a comment.Nov 1 2013, 2:34 PM

Indeed. So nothing has changed.

Terox added a subscriber: Terox.May 7 2016, 3:58 PM
Terox added a comment.Nov 25 2013, 7:43 PM

I want to bump this. You have a loyal customer base that IS WILLING to test/help solve some of the Multiplayer issues.

Namely
1)FPS degradation over a period of time
2)Low FPS when Ratio of Players : AI is something like 35:150 (Varies from server to server)

We can help find the problems if you help us to do it

izaiak added a subscriber: izaiak.May 7 2016, 3:58 PM
hladas added a subscriber: hladas.May 7 2016, 3:58 PM
hladas added a comment.Dec 4 2013, 4:00 PM

rev 113178 - profiler enabled in dev. branch

Voted up. Crucial for MM and devs

The two commands are a good start, however I cannot see how they will help with constant low client/server fps issues at hand.
Maybe a snapshot while such situation is present, will give some indication at least.

These seems to me to ones most important and required for the issues at hand:

  • Add performance profiling (snapshot [DONE], real-time display, number of entities count, network sync relevance)
  • Greatly enhance the mpStatistics.log and provide details about the content (scripting induced network traffic logging)
  • Performance Metrics

Thankfully a little progress here but still lots to be done.

BTG added a subscriber: BTG.May 7 2016, 3:58 PM
BTG added a comment.Jan 24 2014, 12:43 PM

I Just Fu**ing Agree That Idea.

Xeno removed a subscriber: Xeno.May 29 2016, 8:00 PM
dedmen added a subscriber: dedmen.Sep 13 2017, 3:04 PM

There are profiling builds now. For script debugging and more in-depth profiling there is my debugger which is currently broken but can be fixed with a few hours of work.

Ticket can be closed, as it's not valid anymore.

dedmen added a comment.Jan 5 2020, 2:18 AM

What are you missing? Besides stuff explained in links above that go into nowhere now.
Profiling build is the way to diagnose performance problems.

The features of the internal build from BI, and their profiler.

Specific features?
We have profiling branch already available.
Do you want it to be extended with live profiling and a better UI like https://forums.bohemia.net/forums/topic/211626-arma-script-profiler/ ?

Specific features?
We have profiling branch already available.
Do you want it to be extended with live profiling and a better UI like https://forums.bohemia.net/forums/topic/211626-arma-script-profiler/ ?

100% yes!