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!
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.
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.
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
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.
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
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?
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. 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
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...
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.
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?
@DemmyDemon Should create another plugin /mem and show the ram usage max usage min usage all that memory related stuff.
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.
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!
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.
Yep, I read it. I just would ask, because it might have been a solution meanwhile. Oh my english is so bad @ 0:35
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
Actually, a /ping command would be nice (that averages several pingtests, too). Oh, also, the permission nodes don't work with v0.2 of this plugin, CB 1000, and Permissions 3.1.5.
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
-_- I just had to switch from Groupmanager to Permissions yesterday, and now I have to switch to PermissionsBukkit?