How to make your server faster.

Discussion in 'Bukkit Help' started by vivanewvegas, Dec 7, 2011.

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

    vivanewvegas

    Some tips for a faster server:
    Got any questions? Ask 'em here.

    1. DO NOT RUN THE SERVER FROM THE PC YOU'RE PLAYING ON
    2. Windows uses lots of your RAM etc. without you even doing anything on your PC, for servers it's better to have an OS like Linux (Ubuntu Server: http://www.ubuntu.com/download/server/download) which uses RAM etc. more effectively and because it has no GUI (Graphic User Interface) it will make the system a lot faster.
    3. Avoid large plugins and plugins you don't need.
    4. Make sure your internet connection is fast enough.
    5. Make sure your system has enough RAM (minimum would be like 2 GB for Linux and 4 GB for Windows (unless it' s windows server))
    6. DO NOT USE WIFI CONNECTION, WiFi is much slower than a normal connection.

    Well i hoped i helped out. Any questions? Post them here and i'll answer 'em as soon as possible.
     
  2. Offline

    Nathan C

    Yeah, seems good.

    You should throw "No homehosting" and "No hosting with wireless access points and routers" on there.
     
  3. Offline

    mindless728

    i think you may want to tell people that this is dependent on the OS you use, as windows 7 will use a good amount of this, for windows 7 i would recommend 4GB of ram to run a server

    you can run it from home if you have the internet connection to do it, ie minimum 10mbps upload for a small server
     
  4. Offline

    vivanewvegas

    @mindless728
    I would NEVER recommend windows for a decent server unless you' re a beginner. But i' ll add the 4GB guideline.
    That' s right, your internet connection is mostly important for the amount of players. In most cases, home connection does fine unless you' ve got over 25 players online at the same time.
     
  5. Offline

    Daniel Heppner

    You need to add some tips about having a good CPU, also, I managed to run a server on Debian with 256mb of ram once. Your minimum ram is way too high.
     
  6. Offline

    vivanewvegas

    Well, the minimum is for an average, decent running server. 256mb is way to limited for most servers which are running lots of plugins, have lots of people on 'em and have more than 1 world. BTW You're right about the CPU, i'll add that.
     
  7. Offline

    mindless728

    windows has been running fine for me, though i use a ram disk to mitigate the IO latency that windows usually has over *nix

    the only reason i say running from home is fine for some people is i have 25mbps upload connection (FIOS) and i run out of cpu time before i run out of network throughput as i am running a lowly Athlon II X2 (handles 30 tops)
     
  8. Offline

    Daniel Heppner

    50 players on 3gb of ram on Windows. Pretty sure 4gb of ram is a lot. :p
     
  9. Offline

    mindless728

    everyone's configuration is going to be different, also depends on the plugins and GC options

    i have 12GB which is divided as 2GB ram disk, 6GB max for the server (never sees over 2GB), 512MB for the IGP, and the remaining for windows (3.5GB)
     
    Daniel Heppner likes this.
  10. Offline

    Ragnarrok1


    Ok, one question i dosent get any anweres..How to dedicate ram you your server..I have it on computer...I have java6, newest build of bukkit. Windows 7. 8gb ram..Want 4 gb ram to server...
     
  11. Offline

    mindless728

    i used -Xmn1G -Xms2G -Xmx6G for the memory settings, it doesn't automatically allocate 6GB of memory but i know what i have set aside, the ram disk doesn't change, windows doesn't use more than 2Gb of memory itself so i know how much is used by what

    thats why i say it never uses more than 2GB, btw the best idea was the ram disk as that reduced IO bottlenecks by a ton
     
  12. Offline

    undefinedarray

    minimum? i have 1.5 for upload and still getting 10-20 people on with little to no lag.
     
  13. Offline

    mindless728

    small by my definition is 20-40 people at a time, which means i have a very small server, btw that is probably about your cap and actually might have a bit of movement/block lag
     
  14. Offline

    Ragnarrok1

    Will try but last time i tried i got errors. Can you write everything you have in bat.file and copy it here? If you have the same stuff ass me?
     
  15. Offline

    ebol4anthr4x

    I don't understand why you can't run the server from the computer you're playing on.
     
  16. Offline

    mindless728

    Code:
    java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -Xmn1G -Xms2G -Xmx6G -jar CraftBukkit.jar nogui
    
    its not a can't its a shouldn't because the client will use a full core + GC (if you have special options) as well as the server, so you might need a quad core to have it so they don't affect each other
     
  17. Offline

    Ragnarrok1



    you us? java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -Xmn1G -Xms2G -Xmx6G -jar CraftBukkit.jar nogui ????????

    WTF? why does i have @echo blablablab pause?...You have Windows 7, 64 bit, java 6?????????
    Why doesent it say anything about the snapyarfile?
     
  18. Offline

    mindless728

    because i know how to make the scripts myself and know what the options are and i don't use a boiler plate from someone else

    fyi i use java 7 and windows 7 x64 professional
     
  19. Offline

    Ragnarrok1


    Also have windows 7 x64 professional...
    Give me a link to Java 7? De downlaod link?
     
  20. Offline

    mindless728

    Java 7
     
  21. This thread is making me laugh.
    at one point it's a guide for absolute beginners at the other point it sets specs for 40 man online servers.
    also the OS thing makes me LOL.
     
  22. Offline

    EdwinRophe

    How big is the performance Omprovement Using SQL or is it a convenience thing?
    I use A ram drive and am suprised at how fast it accesses a flat file
     
  23. Offline

    vivanewvegas

    You mean will plugins that use SQL be faster? I don't know for sure but i think it'll make no big difference...
     
  24. to answer that it's simple. It actually depends on the mod. Using something like Logblock or Hawkeye without an sql means one insane flatfile thus reducing speed. so yes for those kind of mods it's beneficial.

    For the most mods it's convenience and you can go nuts and create a frontend for the site for it :)

    Also it has the benefit that you don't need to have a big ramdrive since SQL data gets stored in the main memory if it gets asked so you don't have to allocate extra space specifically for mod data to be loaded in the ramdrive.
     
  25. Offline

    mindless728

    there are very few plugins that will benefit from SQL support, any of the logging/rollback plugins usually can get significant performance increases though
     
  26. Offline

    Slugslug

    I run mine on home server, I have it on Ubuntu, 8gig of ram quadcore CPU, and a 50/5 meg connection. Bunch of plugins, server forum with webpage links to player stats, live map & a HQ map, player achievements and also a stock list for shops!

    It runs sweet as a nut and some really good OP's on there! www.DrunkenSlug.com for those interested
     
  27. Offline

    Torrent

    If it doesn't run fast......ADD MOAR RAM.





    jks.
     
  28. Offline

    vivanewvegas

    this isn't really relevant but our server needs more players and i need some way of advertising it for free....
    just check it out: www.serverofvegas.webs.com
    It's completely lag-free and hosted by myself.
     
  29. Offline

    saul100

    You can advertise it in the 'Show off your Bukkit server!" forum.
     
  30. Offline

    vivanewvegas

    Thnx, i'll do that
     
Thread Status:
Not open for further replies.

Share This Page