Maintenance for the week of September 8:
• [COMPLETE] PC/Mac: EU megaserver for maintenance – September 9, 22:00 UTC (6:00PM EDT) - September 10, 16:00 UTC (12:00PM EDT)
The connection issues for the European megaservers have been resolved at this time. If you continue to experience difficulties at login, please restart your client. Thank you for your patience!

How to find the bottleneck in AddOns?

Trollwut
Trollwut
✭✭✭
Hi folks!

The average performance of my PC on ESO is “pretty ok”. But it’s not more. As I have the best PC possible*, I expect a little bit more.

I use a couple of AddOns, which surely drain CPU power (and souls). Where I don’t guess that I have “that one AddOn, that needs too much power” (e.g. the MiniMap mod), I think it’s possible that those little AddOns sum up.

Is there a way to analyze the memory/CPU/GPU usage of my AddOns?

Like another AddOn that scans my AddOns and let them sort by these criteria.

In WoW I had something like that where I could see how much other AddOns impacted my performance. (I also can barely think of that it also showed me how much FPS they drain.)



* I got around 40-60 FPS, which is ok, but not for my setup:

i7-4790K @stock
16 GB much-too-fast DDR3
ESO on a SSD with ~550 MB/s reading speed
GTX970 @stock

  • Fyrakin
    Fyrakin
    ✭✭✭
    Trollwut wrote: »
    Hi folks!

    The average performance of my PC on ESO is “pretty ok”. But it’s not more. As I have the best PC possible*, I expect a little bit more.

    I use a couple of AddOns, which surely drain CPU power (and souls). Where I don’t guess that I have “that one AddOn, that needs too much power” (e.g. the MiniMap mod), I think it’s possible that those little AddOns sum up.

    Is there a way to analyze the memory/CPU/GPU usage of my AddOns?

    Like another AddOn that scans my AddOns and let them sort by these criteria.

    In WoW I had something like that where I could see how much other AddOns impacted my performance. (I also can barely think of that it also showed me how much FPS they drain.)



    * I got around 40-60 FPS, which is ok, but not for my setup:

    i7-4790K @stock
    16 GB much-too-fast DDR3
    ESO on a SSD with ~550 MB/s reading speed
    GTX970 @stock

    I'm using similar PC, with the exception of video - I have 2x GF GTX 660 in SLI. In delves, houses, and places where are not too many players I usually have 80-100 FPS, running only my own add-ons and a few extra (skyshards, lorebooks, harvestmap, AI research grid and research assistant.) For FPS drain measurement I used simple method - disable add-on and do same stuff for same time duration, then compare average FPS. With minimap /fyrmm fps command. As for CPU and memory usage its a little more complicated, you can't reliably measure that while in-game.
    NA Megaserver (810) - Fyrakin, Loremaster Fyrakin, Cartographer Fyrakin, Taskmaster Tobin, Zergas, Texa, Furnacius, Hextex
    EU Megaserver (167) - Fyrakin
    MiniMap author
  • MissBizz
    MissBizz
    ✭✭✭✭✭
    ✭✭✭✭✭
    Are you sure add-ons are the big problem to begin with? With my "alright" PC I get 50-70 FPS, and lots of times while out questing it's higher. I5-4690k, 8GB ram, GTX 770 OC, and also on SSD, but slower speed.

    What's you FPS if you completely remove all your add-ons? Then, if it truly is the problem.. every time you play take ONE add-on to play without, and record the differences.
    Lone Wolf HelpFor the solo players who know, sometimes you just need a hand.PC | NA | AD-DC-EP | Discord
  • Sasky
    Sasky
    ✭✭✭
    Memory usage -- You can find the usage with:
    /script d(math.ceil(collectgarbage("count")).." KB")
    

    There's also a configurable limit in UserSettings.txt:
    SET LuaMemoryLimitMB "64"

    Not sure how strictly that's followed.


    For GPU usage, I don't know of any way to test, but it should be negligible. Addons can only affect the 2D UI overlay, which is peanuts next to actual 3D rendering.


    Now CPU usage is a bit trickier. Yeah, addons with a high amount of processing can easily bring the game to a screeching halt. For example, any gear swap addon will cause your game to hiccup when it swaps all your gear slots. (I did something a bit back that involved several dozen gear swaps in succession and the game would go to 1-2fps through that.) Any addon that puts processing on every frame update can easily get a large impact.

    Measuring those non-extreme cases is quite a bit harder, though. The easiest way is to essentially toggle on/off addons for a similar scene and see the difference. It takes a /reloadui, so it is a bit of a hassle, but there you go. Most addons won't produce a noticeable drop.

    With coding, you can turn the addon on/off at will. For example, CyrHUD can hide and disable processing at a slash command or keybind. For more in-depth, there are Lua profiling techniques for finding which lines of code take the longest, but I don't know if the required debug functions are accessible in ESO. (Also you wouldn't want to run those normally as it does incur substantial overhead.)
    Edited by Sasky on April 10, 2015 11:09PM
    Sasky (Zaniira, Daggerfall Covenant)
    Addons: AutoInvite, CyrHUD, Others
  • Trollwut
    Trollwut
    ✭✭✭
    Thanks @Sasky I will stick to that!
    But it seems like there is no option then time-consuming "test every addon alone". But I don't think this will work, as FPS drops will occure after a long play session OR maybe on other events I may not be aware of.

    So there is no "performance analytics addon"?
  • Ayantir
    Ayantir
    ✭✭✭✭
    from the API, you'll only get collectgarbage which capture the whole LUA memory used by all addons + esoui

    but it could be interesting to make a real time graph.
    Obsessive Compulsive Elder Scrolls addons Coder
    A Few millions downloads of ESO addons now.
    Master crafter on my main char since release. All tradeskills, recipes \o/, researchs (since long), 35 styles known
    My little french Guild: Cercle de l'Eveil
  • Trollwut
    Trollwut
    ✭✭✭
    Ayantir wrote: »
    from the API, you'll only get collectgarbage which capture the whole LUA memory used by all addons + esoui

    but it could be interesting to make a real time graph.

    That would be rad!

    On that WoW AddOn (ich really forgot its name...) there has been a list of all AddOns. And I guess that AddOn took the last 30 seconds of "performance eating" and told then:

    AddOn One 45% (red, "get rid of it")
    Yet Another AddOn 12%
    Simple Clock 0%

    This was nice if you already had a tons of AddOns (well, it's WoW) and had to choose from two new ones. You could see which one fit better to your performance.
Sign In or Register to comment.