[INFO] LagMeter [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by DemmyDemon, Jul 12, 2011.

  1. Offline

    DemmyDemon

    Kane, morganm, terminator3199 and 8 others like this.
  2. Offline

    DemmyDemon

    Thanks a bunch! I won't put the video itself in the OP, as I already have one, but I'll link it.
     
  3. Offline

    GmK

    The same thing has been in CommandBook since months, but I love how it graphically does it here, and especially the calculation of the average, I love that!
     
  4. Offline

    DemmyDemon

    Yes, CommandBook has something very similar, but it's not the same. As I understand it, CommandBook's timer thingmabob measures performance right when you issue the command. That can never answer the question "Was that hickup I just had a client-side or server-side thing?"

    Aaanyways, different strokes for different folks :) Glad you enjoy my attempt at making an average plugin.
    Hardy-harr harr.

    [Edit]
    Oh, BTW, tested and found working fine with build 1k.
     
  5. Offline

    Pim1234

    thanks man :)
     
  6. Offline

    DemmyDemon

    You're very welcome. Hope it serves you well.
     
  7. Offline

    rtcabooservb

    Quick question, is 20TPS the maximum? I've ran /lag throughout the day between 2 players only and 40 players online, and always got 20TPS, no drop. I also ran tests with tnt going off (mass sizes) and we have 5 worlds. (Aether, space, survival, build, and nether. All have mobs except build, but still... 20 TPS.

    Question #2, is there a plugin that just has the commandbook lag tester? I use essentials main jar, chat, and spawn.
     
  8. Offline

    ACStache

    TPS means ticks per second, and the closer to 20 ticks per second you have, the less lag you have. And as far as I'm aware, 20TPS is the max

    idk about question #2 though, sorry
     
  9. Offline

    DemmyDemon

    Just having people online won't affect your TPS a whole lot. Setting off TNT is also pretty quick on the server-side. Having a pile of worlds, with mobs in them, is also surprisingly light, since they do very little (nothing?) more than if they are in the same world. That load is on RAM, not CPU, so it does not affect TPS.

    Still, not a single drop below 20, with a pile of Essentials plugins loaded? Sounds like it might not be very accurate.
    How about a /reload, then wait 2-3 seconds, and do /lag
    What does it say?
    Also, what other plugins do you have installed?

    About the CommandBook lag tester, I'm sure if you post it in the requests forum someone will fork CommandBook (or whatever) and release stand-alone.
    I'm sorry, but I'm already over-committed...

    Thanks for helping out, man.
     
  10. Offline

    ACStache

    np :) I do what I can for others, since I was in their shoes at one point
     
  11. Offline

    rtcabooservb

    xD I do huge tests with mobs and tnt explosions and still 20 TPS. I tried /reload and then /lag, still 20 TPS.
    Plugin List:
    • BorderGuard:
    • BukkitContrib
    • ChestShop
    • Dwarf Forge
    • DynMap
    • Essentials (chat, main jar, and spawn)
    • FalseBook (ics, extras, main jar, and blocks)
    • GiantTree
    • iConomy
    • LagMeter
    • LavaFurnace
    • LazyRoads
    • Lockette
    • LogBlock
    • McDocs
    • McMMO
    • MineQuery
    • MobArena
    • MultiHome
    • MultiVerse
    • NoCheat
    • PEX Permissions
    • PerformanceTweaks
    • SignColours
    • SimpleSave
    • SimpleSkylands
    • Styx Space
    • Stargates
    • WorldEdit
    • WorldGuard
    Most of my plugins are dev builds and always the latest updates. Also using latest CB update, this includes the not recommended version. Guess my server is just.. powerful? XD
     
  12. Offline

    DemmyDemon

    In all likelihood my plugin is in the wrong here, so I'd like very much to figure out what's up.

    How far apart was the /reload and the /lag? What are your lagmeter settings like?
    Do any of these plugins affect time?

    Also, what are the specs on this server? VPS or actual hardware?
     
  13. Offline

    rtcabooservb

    From what I understand, bukkitcontrib synchronizes all plugins to one tick rate. Possible manipulation with time? I also keep lagmeter settings at the default.

    It's my own hardware, no VPS. I run two servers.

    Server #1:
    Dual Xeon Cores @ 2.5GHZ each core
    24GB of ram (had 32 but removed some)
    That's all you need to know correct?

    Server #2 (The plugin test server)
    Intel i7 860 @ 2.5ghz
    8gb of ram

    Oh, also use java 7. :p Here is my custom batch file for server #2. Both servers are also 64bit.
    Code:
    @echo off
    "C:\Program Files\Java\jre7\bin\java.exe" -server -Xmx4G -XX:+CMSIncrementalPacing -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -XX:MaxPermSize=128m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=500 -XX:ParallelGCThreads=8 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Xnoclassgc -XX:UseSSE=3 -XX:+UseLargePages -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -XX:+AggressiveOpts -Xincgc -d64 -jar craftbukkit.jar nogui
    pause
     
  14. Offline

    DemmyDemon

    If you could test without bukkitcontrib on your test server?
    I fear that might very well be the problem. I sure hope not, because I was juuuust about to start work on a BukkitContrib-depending project. :(

    Yep, that's the gist of it. Even a Xeon @2.5GHz should have some performance degradation right when /reloading...
     
  15. Offline

    rtcabooservb

    I've been spawning giant trees to test with lag, it does drop the TPS by 1 and then goes back up after around 20 or so seconds. Even if it is bukkitcontrib, that has to stay because it synchronizes all tick rates and is used by a few of my plugins. :(
     
  16. Offline

    DemmyDemon

    Yes, but temporarily test on your test server?

    Anyway, if the TPS does go down, then it does possibly work, and you have a very well tuned workhorse of a server...
    Are you experiencing any lag at all? Anything that lagmeter SHOULD be displaying, but doesn't?
     
  17. Offline

    rtcabooservb

    I'll test tomorrow ^_^ Keep up the good work though. Going to bed.
     
  18. Offline

    DemmyDemon

    Sleep well!
     
  19. Offline

    Kane

    @DemmyDemon Should create another plugin /mem and show the ram usage max usage min usage all that memory related stuff.
     
  20. Offline

    DemmyDemon

    I actually have one called MemoryWarning, but it's not suitable for public consumption yet.
    It can do horrible horrible things if left to it's own devices.

    A simplified one that just shows how much RAM is in use would be nice, I agree...

    [Edit]
    @Kane , version 0.2 was supposed to be just a PermissionsBukkit upgrade, but I let it feature creep a little to get /mem, which shows the current available/free memory.
     
  21. Offline

    Kane

    Yeah hehe. I like to see more diagnostic tools and even tools to help the server tweak performances and such in ways. Less plugins that add load more that tell you or remove load haha :)

    Anyways keep up the good work!


    EDIT: Sweet thanks!
     
  22. Offline

    DemmyDemon

    You're very welcome. Let's hope it meets with your approval also during use... [dramatic music]
    What I would like to do, but found myself completely unable to even begin to do, is try and figure out the memory footprint of each plugin. That's a holy grail, I think, and while seeking is noble, it's quite unobtainable.
     
  23. Offline

    Jobsti

    Hey, new version works great, big thanks.... what's with the ping? ;-)
     
  24. Offline

    DemmyDemon

    The what? LagMeter does not provide a way to check the ping.
     
  25. Offline

    Jobsti

    But would be awsome, this was es request from me from page 1 ;)
     
  26. Offline

    DemmyDemon

    I agree, it would be great if I could provide something like that, but did you read my response?
     
  27. Offline

    Jobsti

    Yep, I read it.
    I just would ask, because it might have been a solution meanwhile.

    Oh my english is so bad @ 0:35 ;)
     
  28. Offline

    DemmyDemon

    No harm in asking, but I assure you, if I had solved it it would have been in 0.2 ;)
    Oh my English is worse @ 0:38
     
  29. Offline

    Chekkaa

    Actually, a /ping command would be nice (that averages several pingtests, too). :D

    Oh, also, the permission nodes don't work with v0.2 of this plugin, CB 1000, and Permissions 3.1.5.
     
  30. Offline

    DemmyDemon

    As said before... If I figure out how to do a good /ping without causing lag/latency in the process, I will add it.
    As for the permissions, please read the change log!

    I've switched over to a "build 1000" permissions system, which assumes a PermissionsBukkit (or compatible) permissions plugin is installed.
    Don't worry. Moving over from Permissions is easy with SuperpermsBridge from the same post.

    Until Permissions is brought up to speed, it's not going to work very well :)
     
  31. Offline

    Chekkaa

    -_- I just had to switch from Groupmanager to Permissions yesterday, and now I have to switch to PermissionsBukkit?
     

Share This Page