Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28

Thread: Using the Dota performance test

  1. #1
    Valve Developer
    Join Date
    Jul 2015
    Posts
    57

    Using the Dota performance test

    Before doing any testing make sure that you have verified your Dota install in the Steam client to eliminate the possibility of bad local files affecting things. Check your display drivers to make sure you have everything up-to-date. Also quit Steam and Dota and restart Steam, then restart Dota, then run a test. When running a test make sure to select terrain and weather effects that you want to include in the test as they can affect your performance.

    To set up for any test add -console to your Dota launch options as you'll need to use the console to run a test. When invoked the test will gather information on the game, closing the console while running then reopening it. Each test produces a set of FPS results printed in the console. You can use the "clear" console command to remove previous console output if you want to see just the perftest results. Also you can use the "condump" console command to save the current console text to a file, named something like condumpxxx.txt, in your Dota install directory. Web sites like pastebin.com can be used to save a block of text and get a link for posting in comments sections that have restricted posting sizes.

    Below are some suggested situations in which to run a perf test. You can choose a different situation but please describe it exactly when posting results (note also that the performance test runs commands marked as cheats so it can't be used in a full game).

    Simple performance test:
    Start a hero demo of whatever hero you feel like. Click the arrow on the side of the Demo Options panel to hide it. Level up any skill to clear the plus button and pause the game. Then open the console and enter 'exec_async perftest' to run the test.

    Local bot game performance test:
    Start a bot game from the Play Dota menu. Level up any skill to clear the plus button. Run your hero to the center of the map next to the water and wait for creeps to begin fighting. Pause the game, then open the console and enter 'exec_async perftest' to run the test.

    Game watching performance test:
    Download a game replay to watch. Pick a specific time in the replay that shows action that you want to test. Do not pause the game in this case as the perf test will automatically rewind the playback for each subtest so that they all test the same section of gameplay. Open the console and enter 'exec_async perftest' to run the test. A replay has the advantage of being able to test live, unpaused game activity in a repeatable way. When doing replay testing be sure to record the match ID and specific time in the replay that was tested.

    Interpreting the results
    The performance test will give general information about how Dota is running on your machine but usually cannot specifically pinpoint exactly what is causing your performance to be what it is. Here are some suggestions on things to try based on your results.

    First verify that Dota is running in the mode that you expect. In the system information at the beginning of the performance test output check these things.
    * Check Command Line to make sure you don't have any launch options that you didn't realize were in effect.
    * If you're running on Windows make sure the Windows Game DVR shows as disabled.
    * Double-check that the Render system is the one you expect it to be.
    * Check that the Driver Name indicates the correct GPU for Dota to be running on. If you have a system with hybrid graphics and this shows the integrated graphics you will want to double-check your driver settings to make sure Dota runs on the dedicated GPU for best performance.
    * Turn off the network information display unless it is absolutely necessary as it has a small cost.

    Once you have ensured that Dota is running in the right mode look at the performance test FPS results. These suggestions may help you increase your FPS in some cases. If you have already customized your settings the results may not offer any additional help.

    * If the Half resolution FPS is significantly higher than the Baseline FPS you can reduce the Game Screen Render Quality slider in the Video options to possibly increase your perf.

    * If the Reduced drawing FPS is significantly higher than the Baseline FPS you can turn off High Quality Water and set Shadow Quality to medium or off in the Video options to possibly increase your perf.

    * If the Particles disabled FPS is higher than the Baseline FPS you can drop the Effects Quality in the Video options to possibly increase your perf.

    * If the Game only FPS is significantly higher than the Baseline FPS you can turn off High Quality UI in the Video options to possibly increase your perf.

    If you have FPS information, not just test results, from different situations you can compare those against test results to try and identify other factors which may be affecting your perf. For example it is usually not possible to use the perftest in a full game since cheats won't be allowed. However you can still get FPS information while playing and then download the replay of the match. You can run the perftest against the replay to see if your full game FPS is similar to your "User settings" perftest FPS while watching the replay. If the full game is significantly slower than watching a replay of the game your network may be affecting the perf and you might want to check your network settings or try different configurations, such as comparing WiFi to plugging directly into your router. If watching the playback shows the perf issue you're having then networking is probably not the problem and the rest of the perftest results may suggest ways to improve your FPS.

    The Dota perftest does not monitor system conditions such as CPU or GPU temperatures, fan speeds or so on. If you have a system that may throttle due to heating during execution of Dota this may affect the results in a way that Dota cannot present. The perftest isn't aware of power profiles or other system configuration options which may affect resources available to Dota and those also may affect performance.

    Other possible contributors to performance:
    If you have increased the number of chat lines via dota_hud_chat_history_lines this will make chat more expensive.
    Last edited by gdrewb-valve; 03-03-2017 at 09:17 PM.

  2. #2
    Basic Member
    Join Date
    Jul 2014
    Posts
    57
    I hope it's alright to post here, but from multiple attempts Networked bot game performance test and Local bot game performance tests are not able to be run. I have cheats enabled in my lobby, however every time (both solo bot match and lobby match) 'exec_async perftest' is entered as a command, console outputs: [Console] SV: Cheat command 'exec_async' ignored.'

    It works in the demo mode, just not in solo bot match, nor lobby created on non-local host.
    Last edited by Doofyrob; 02-28-2017 at 01:05 AM.

  3. #3
    Valve Developer
    Join Date
    Jul 2015
    Posts
    57
    If you use "sv_cheats 1" in the console does that succeed? Does it allow the perftest to run?

  4. #4
    Basic Member
    Join Date
    Jul 2014
    Posts
    57
    No, it says "Can't change replicated ConVar sv_cheats from console of client, only server operator can change its value" and in console the sv_cheats is set to 0 however I am able to use -gold/-lvlup/etc.

  5. #5
    Basic Member glodar's Avatar
    Join Date
    Feb 2013
    Location
    Serbia
    Posts
    1,275
    Hi, thank you for posting this test and info.

    I'll start by saying that I do not complain about my fps and dota performance, I know that I have shit pc and I'm pretty happy with my fps considering how old my pc is.

    However I still did test just to see if there is something else I can do to improve performance.

    I was not able to do bot network test as I have same sv_cheats problem as doof.

    This was done in demo mode.

    You will see that I'm using few launch commands but I'm using them as I did few benchmark tests before and I had higher fps results when using these launch options.

    Please tell me if I can improve something other than my pc http://pastebin.com/DhfupDd6 Also it seems that test turned my high quality water option from off to on, I keep that off but after test was finished it stayed on on and I had to manually turn if off again, some players might not notice it and they will lose fps because of it after test.

    Also if you don't mind can you please please check or forward this thread to someone who can help me http://dev.dota2.com/showthread.php?t=266326
    I'm bumping it for 6 months, I'm really tired, I know Dota levels after certain point don't have any meaning but I would still feel better if I had my missing levels fixed and back.


    Thanks again!
    Last edited by glodar; 02-28-2017 at 03:57 AM.
    Thank you IceFrog, Valve and Dota 2 team for everything you doing for Dota 2 community.

  6. #6
    Basic Member
    Join Date
    Feb 2014
    Posts
    1
    I'm having troubles in this part, how do I check this things?

    First verify that Dota is running in the mode that you expect. In the system information at the beginning of the performance test output check these things.
    * Check Command Line to make sure you don't have any launch options that you didn't realize were in effect.
    * If you're running on Windows make sure the Windows Game DVR shows as disabled.
    * Double-check that the Render system is the one you expect it to be.
    * Check that the Driver Name indicates the correct GPU for Dota to be running on. If you have a system with hybrid graphics and this shows the integrated graphics you will want to double-check your driver settings to make sure Dota runs on the dedicated GPU for best performance.
    * Turn off the network information display unless it is absolutely necessary as it has a small cost.

  7. #7
    Basic Member
    Join Date
    Apr 2015
    Posts
    2
    my parametrs in hero demo
    http://pastebin.com/CuYSjqeU
    that`s with bots
    http://pastebin.com/hNVig3Cv
    changing graphic settings not really help, it can be 60 fps at medium settings, can be 40 at low, from day to day, and within the game fps going down
    is there any advices ?
    ps sorry for my english

    ps2 ok that`s one without my command line parameters
    http://pastebin.com/Sv5mQL3Q
    Last edited by AuntHazel; 02-28-2017 at 10:01 AM.

  8. #8
    Valve Developer
    Join Date
    Jul 2015
    Posts
    57
    Quote Originally Posted by Doofyrob View Post
    No, it says "Can't change replicated ConVar sv_cheats from console of client, only server operator can change its value" and in console the sv_cheats is set to 0 however I am able to use -gold/-lvlup/etc.
    That happens even in a locally hosted bot game? You should have full control when you are running the server yourself (such as when you're running a local bot game)?

  9. #9
    Valve Developer
    Join Date
    Jul 2015
    Posts
    57
    The perftest system information, at the beginning of the perftest output, shows you the current settings for these values. Check those against what you expect.

  10. #10
    Valve Developer
    Join Date
    Jul 2015
    Posts
    57
    Quote Originally Posted by AuntHazel View Post
    my parametrs in hero demo
    http://pastebin.com/CuYSjqeU
    that`s with bots
    http://pastebin.com/hNVig3Cv
    changing graphic settings not really help, it can be 60 fps at medium settings, can be 40 at low, from day to day, and within the game fps going down
    is there any advices ?
    ps sorry for my english

    ps2 ok that`s one without my command line parameters
    http://pastebin.com/Sv5mQL3Q
    The various pieces of advice are in the instructions above.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •