how to reduce lag?

Discussion in 'Bukkit Help' started by koningpierre, Apr 7, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    koningpierre

    hi guys!

    i have a question! have a small server with friends! it is a very nice server and we have much fun!
    but there is one problem: sometimes we have much lag! (we all have good computers so that isn't the problem :D )

    how can i fix it?

    server information
    3,5 GB RAM
    [​IMG]
    we didn't have much plugins! when i typ /tps the server said we still have 3GB.
    and we didn't play with too much people the max is 5!

    hopefully somebody can help me!

    thanks!
     
  2. Offline

    MaliciousMan

    Look up anti-lag plugins, they can be scheduled to run to remove unnecessary entities, animals, chunks, and dropped items.
     
  3. Offline

    koningpierre


    i have the Nolagg plugin ( http://dev.bukkit.org/bukkit-plugins/nolagg/ )
    but this one doens't fix all the lag!
    do you know a better one?
     
  4. Offline

    DrPyroCupcake

    How do you get lag with only 5 people on with that kind of specs? What kind of computer are you running? Also How many plugins do you have?
     
  5. Offline

    jthort

    koningpierre I would just take out each plugin and see if it helps, chances are there is a plugin that you have that's causing this. Are you by any chance running other things on the host computer such as Minecraft?

    Worst case you can reset the world and re-download everything which takes 5 minutes at most
     
  6. Offline

    SirRadget

    First, how many plugins are there and can you list them for us?
    Also do you know what type of RAM you have? I still know some people use DDR2 which isn't all too well...
    Also can you please list your processor (Processor name, how the speed of it? GHz..)
     
  7. Offline

    koningpierre


    it is a laptop i heard this isnt't very good for running a minecraft server!

    specs:
    8GB ram DDR3
    500GB HDD
    intel core i7 3632 QM 2,2 GHZ (3.2 with turboboost)
    nvidia geforce 710M

    i heard too from a RAMdisk what is this and how does it work?

    but i will remove the empire wand plugin too because there are much explosions with that plugin!
     
  8. Offline

    DrPyroCupcake

    I know I say this a lot but plug in a Ethernet cable it helps reduce packet loss, should help with the lag.
     
  9. Offline

    SirRadget

    Even though Minecraft is mainly optimized for single cores, and I7 should run just fine with that much RAM.
    Please list your plugins if you're still having issues after removing the Empire Wand Plugin.
    koningpierre

    DrPyroCupcake
    Sometimes that might not be the case. It would also be annoying if he was out of range for an Ethernet cable.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  10. Offline

    DrPyroCupcake

    SirRadget Just buy a 100ft cable they are only like 5-10 bucks. I have 4 of them at my house.
     
  11. Offline

    SirRadget

    DrPyroCupcake
    Like I said, it still might not be the case. I would hate to have a 100ft cable running through my house. As my modem is in the kitchen, running through the entire house to the back room. As he might have that issue too, who knows. Though he should be able to host just fine without it. As I can host just fine with 50+ plugins, with 40mb/s download and 10mb/s upload. I am also quite from from my modem, so I do not see the issue. I'm going to guess he has an issue with a plugin causing this lag.

    koningpierre If this issue is still occurring please list your plugins.
     
  12. Offline

    koningpierre

    i have a cable! for 1 year now :p
    my plugins:

    Antilagg
    mcore/factions
    cookiemonster (earn money for killing monsters)
    essentials (all include groupmanager)
    combattag
    multiverse portals
    worldedit (i will remove this one!)
     
  13. Offline

    whitesnow95

    It could be excessive use of world edit, or maybe the lag of multiverse portals? I don't really see anything that could cause lag directly.. koningpierre
     
  14. Offline

    SirRadget

    Intead of Antilagg I would get NoLagg.
    Also update Worldedit to the latest dev build.

    You should be able to run just fine without having to remove worldedit. My server has 8gigs with even more plugins with worldedit. We over use it as well and it runs just smoothly.
     
  15. Offline

    MaliciousMan

    koningpierre I personally use ClearLagg. What specifically is lagging? Other players? Block placing? Teleporting? etc...
     
  16. Offline

    koningpierre

    i have currently 2 multiverse portals (shop -> world and world <-shop)!
    is there another alternative plugin that teleport player when they walk on a block?
     
  17. Offline

    MaliciousMan

    There are numerous plugins that do that. What are you machine's specs. Willing to bet that's the problem.
     
  18. Offline

    koningpierre

    my specs are:
    8GB ram DDR3
    500GB HDD
    intel core i7 3632 QM 2,2 GHZ (3.2 with turboboost)
    nvidia geforce 710M

    but i heard about spigot and craftbukkit++ (is this for 1.7.2?)
    are this good alternative launchers?

    edit: my tps is 20! is this to high?
     
  19. Offline

    Rev_


    No 20 TPS is the best you can get.
     
  20. Offline

    LHammonds

    Spigot is a drop-in replacement for CraftBukkit for high performance...however, I don't think you need to do this just yet. Everything you listed sounds more than sufficient to handle 5 players.

    What you need to do is try and find out where the lag is coming from. The 1st thing you should do is enable timings and capture several timing files over time. Then analyzer the results. However, this just check the performance of your plugins...not world issues (such as massive animal farms/grinders/crops or corrupted world chunks).

    The next thing would be to use MCEdit and see if your world files are OK and nothing is corrupted.

    The next thing after that would be to use NoLagg and use its features to analyze your world looking for massive amounts of entities or whatever. When you do a capture of your server's performance using NoLagg, it will obviously slow things down all by itself but when done, it will give you a log file you can analyze by double-click nolag.jar and then loading up the log file...it will give you a nice pie chart and items you can drill down into for getting to the bottom of whats eating up your performance.

    Another thing you can do is watch the performance of the machine hosting the server. Check how much CPU is being used, network card bandwidth in use, etc. If you are running the Minecraft client on the same machine as the server, that could cause slowdown issues as well.

    RAMDisks have not really been needed since Minecraft 1.2.5. I used to use them when harddrive thrashing was a problem but Mojang fixed that after 1.2.5.

    LHammonds
     
Thread Status:
Not open for further replies.

Share This Page