[INACTIVE][MECH] PerformanceTweaks v0.08 - Disc Usage Minimizer, And More [818]

Discussion in 'Inactive/Unsupported Plugins' started by LexManos, May 3, 2011.

  1. Offline


    PerformanceTweaks - Disc Usage minimizer, And Other performance tweaks
    Version: v0.08

    AutoSave Stopper:
    Instead of writing every chunk to the disc every 2 seconds. This changes it to 30 mins.
    This saves the server from writing about 9KBps to the disc (7 writes, 2 reads per chunk, on a 3 person server).
    As well as saves about 2 calls to deflate every 2 seconds. (per chunk)

    Chunk Persistance:
    Change how long chunks will stay loaded into RAM, instead of unloading instantly when not used. This way naturally high traffic areas will stay loaded, yet areas that someone was just passing through will unload after some time. This means you need SOME extra RAM but that extra RAM will actually give you a boost in performance while reducing the amount of reading and writing needed for the disk. Win-Win. This part can be disabled via the config file.

    Monster Limiter:
    The Monster limiter will disabled 'natural' monster spawning when the number of monster gets above the max threshold. Then it will re-enabled it when the monsters get below the threshold - 100. Note: Monsters spawn in groups so this is a rough threshold. The limit can be set in the configuration. You can also completely disable this there as well. Let me know how this works out for you.

    • Massively reduces needless disc usage
    • Chunks stay in RAM longer
    Download wget friendly
    Download Source Here
    Donation Link[​IMG]

    If you have any other ideas let me know I can look into if they are feasible or not.
    60 Seconds Without the plugin on a idle server:
    Average Disc Traffic: 1041Bps
    60 Seconds With the plugin on as idle server:
    Average Disc Traffic: ... none.


    Verion 0.08:
    • Updated to MC 1.6.6 RB 813
    Version 0.07:
    • /save-all now forces saving player data as well. Thanks PhantomGamers
    • Fixed NPE on Disable/Reload when MonsterLimiter was disabled. Thanks the like.. 60 of you who repeatidly reported it u.u
    • Added Perliminary Miltiverse world specific Monster Limiter configuration. Please test
    • -Changed MonsterLimiter config to yml.
    • Potential fix for a NPE in Chunk Persistance.run
    • Temporary fix for a Concurancy exception in MonsterLimiter.run();
    Version 0.06:
    • Re-wrote how monster Limiter works
    • --Added config option for allowing animals/monsters separately.
    • --Added a monitor thread, to catch edge cases where EntityDeath doesn't fire.
    • Changed how Persistent Chunks refreshing works, lowering the CPU impact.
    Version 0.05:
    • Changed how Chunk persistence works.
    • -Should get rid of any and all concurrency errors. Chunks are now unloaded by Bukkit itself in doTick()
    • -It will not try to unload spawn chunks any more.
    • -Chunks are new 'refreshed' when players move.
    • Added the /ptml command for debug info.
    Version 0.04
    • Added Monster Limiter
    Verions 0.03
    • Added Chunk Persistance
    Version 0.02
    • Added Configuration
    Version 0.01
    • First Release
    lemachinbidule, omnija, nacs and 13 others like this.
  2. Offline


    Umm i have a problem any of my players can use /ptml
  3. Offline


    Update for build 1k?
  4. Offline

    Jamie Tees

    I wish they would. Atm this plugin sucks now :( Used to be awesome!
  5. Offline


    I just removed this plugin and BAM, server is about 50x faster now with loading chunks. Isn't this plugin suppose to... make things faster? But I do have signs now all over the world disappearing due to the minecraft bug :(... With this plugin, they don't disappear. Bit odd, but I'll take performance over signs so, byebye performance tweaks.
  6. Offline


    I can't wait for it to be updated to the newest RB 1k :p
  7. Me neither..! I really loved this plugin when it worked..! People on my server got annoyed over the fact that they got kicked for flying all of the time..! That was due to this plugin :/

    Please somebody take over this.. :)
  8. Offline


    that's a feature of bukkit.

    take a look at your server.properties
  9. Offline

    Jamie Tees

    Yeah same here, Nwo my server is a lot better :D
  10. Heyy thanks alot for your answer.. The problem is that flight is not allowed on my server.. And people are not flying :) But when this plugin is turned on they get kicked for flying.. I don't see why though, I think is has to do with the server not updating the "chunks" and therefore registers people as flying because that part of the map isn't updated.. But i don't know for sure..

    Thanks anyway..
  11. Offline


    The problem of that isn't this plugin, this plugin increases your servers ram usage and your server can't handle it, Kregme.

    See, they get kicked for flying because, on the servers end, they ARE flying. What happens is, due to the ram overload, the player registers events to early before the server does. So say while players are actually on height 70, server hasn't adjusted it beyond height 65 yet, thus it considers the player a flyer and kicks the player in question.

    This plugin worked fine but I am not to convinced if its truly that good for performance.
  12. Offline


    Even with everything disabled this plugin was killing my rb1000 server. CPU spikes to 100 every couple of seconds. I hope someone updates this as it was great when it worked.
  13. Offline


    So this plugin is not good on RB1000?
  14. Offline


    Yeah you get it
  15. Offline


    The save functionality is pretty useful by itself. Saves a lot of I/O activity. Does that seem to be working then? I can just turn the other two functions off, if so...
  16. Offline


    disabling chunk persistance will remove lags?
  17. Offline


    please make this work with 1000, chunk persistence isn't just a performance tweak it's useful to keep players involved!
  18. Offline


    Counts as inactive?
  19. Offline


    i think so, but i REALLY hope scince i don't want to upgrade my small private server this will be updated with or after the 1.8 release of the Mod-API
  20. Offline


    Requesting Update!
  21. Offline


    Considered inactive.
  22. Offline


    The source is there ... can anyone fork this?
  23. Offline


    Just closing the loop. The save functionality works fine. Been using it for a couple weeks and it still saves a lot of I/O activity. Glad to have it, but would love to see a robust version of this or a fork again. :)
  24. Offline


    I did. I got it right on my desktop for 1000. Havnt tested it myself tough.
    Tell me, should i make a new topic for this?
  25. Either do that and state its a fork or just post it here as a unoffical update (is that allowed?), first one would be easier i guess in the long run!
  26. Offline


  27. Offline


    Or PM me the working one for CB 1000. I'd like to have it :)
  28. Offline


  29. Offline


    Testing this out now. Question - my world(s) is run on a Ramdisk. Will this improve anything?

    Mkay so I tested this out. Seems to be making a huge difference ... but now everyone's health is regenerating. Rapidly, I might add. Can anyone confirm this?

    --Added config option for allowing animals/monsters separately.

    I'm not even seeing this on the forked version. Was the source code outdated? Or did Poison have to re write some things?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  30. Offline


    I have the config.
  31. Offline


    What kind of performance increase are you talking about? I use a RamDisk as well but it doesn't seem to help as much as it should. Should I give this a try? (Assuming there is some sort of solution to the health regen)

Share This Page