What's the normal RAM usage?

Discussion in 'Bukkit Help' started by Keno, Jan 22, 2011.

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

    Keno

    I was just wondering what's the normal amount of ram for a Craftbukkit server?
    Reason I ask is because I was running a server with 1024mb allocated and 3 people connected but when a 4th person tried to connect it would cause serious lag. When I allocated 2048 it worked fine.
    I'm running two plugins, WorldEdit and Home.

    Also anyone know any methods to make a server run smoother?
     
  2. Offline

    croxis

    On my server I can host 8 people fairly well on 1024 megs of ram. Could the bottleneck be elsewhere?
     
  3. Offline

    Keno

    Okay now it's not even working with more ram. It works perfectly with 3 people, no lag what so ever but as soon as the 4th person connects it becomes unplayable, the server taking a minute or two to update anything.
    I'm not too technical so i'm not sure what else could cause a bottleneck, any ideas?
    If my specs help.
    I've got Windows 7 64bit
    Java 64bit
    6GB DDR3
    Intel i7 930 @ 2.8GHZ (Quad Core but hyperthreading makes 8 threads)
     
  4. Offline

    TnT

    What's your internet connection like? Both upload and download speed please.
     
  5. Offline

    Keno

    [​IMG]
    This help?
     
  6. Offline

    Scoopula

    It's probably your upstream, especially if thats not the only thing on the network.
     
  7. Offline

    TnT

    Sure does. Your upload sucks (no offense, everyone's upload sucks on their home connection. Mine both sucks and blows.) Hence you start getting enough people joining your server and it gets bogged down. You can either look around for a connection for a better upload speed, or just suffer with it until the much needed optimizations come down the pipe from Mojang. This is assuming you've checked to make sure you're not using a lot of upstream with other apps (torrents, web server, ftp server, etc)

    For note, my connection gets cranky on my 1 Mb/s upload with about 5 people on it together.
     
  8. Offline

    Demonofbirth

    I have a 0.30 kb/s upload and 150 kb/s down and can support 3 people with only a small amount of lag on my 1 year old 2gb ram laptop.
     
  9. Offline

    ShadowDrake

    I am running a server on a (very) old machine. It's a 2.4 GHz single core, 1.25GB RAM, and a couple tragically slow hard drives.

    We have 768MB assigned to the server and it runs just fine with 8-10 people on at once - how?

    We noticed the biggest reason our server got extremely slow after 2-3 people were on, with LOTS of disk read/writes. We disabled the page file and that helped by ensuring none of Minecraft's data ended up on disk - short of the world folder.

    While hey0's mod was still around, there was a mod which changed the way levels were saved. Helped quite a bit, but that's gone now.

    I thought, "it's too bad we can't have the entire world folder in RAM, that's plenty fast and would fix the whole thing."

    But wait, you can!

    We created a RAMDisk (150mb is big enough for now) and copied our server to that. The server is set up to dump all contents of the RAM disk off to HDD every 15 minutes or so. And that did it! No more lag. We get a -ton- of "Server couldn't keep up!" messages in the console but that really doesn't matter because the server runs better than ever. It's very smooth and pretty much totally lag free even when dumping the world back to HDD.

    Holes in the world (chunks that didn't load) are all but gone as well. Certainly a nice change and I'm sure we'll keep this even with a new world saving system.
     
  10. Offline

    SeeD419

    Is this okay at least?

    [​IMG]
     
  11. Offline

    Demonofbirth

    That is extremely wonderful internet. I envy you. Your download is 1664 kilobytes a second to my 150
     
  12. Offline

    Liger_XT5

    Good thing I'm sticking to just a few friends here in my dorm building...
    [​IMG]
     
  13. Offline

    Demonofbirth

    Why? I support 4 people with almost no lag. 150kb/s down 30kb/s up
     
  14. Offline

    croxis

    If it is just a few friends on your dorm building you will probably have even faster speeds as it (should in theory) be on LAN only. You can test bandwidth on your lan by using iperf or a similar tool.
     
  15. Offline

    Hubbe King

    Meh you people have silly internets.
    I host mine on this:
    [​IMG]

    EDIT: Also, if you are having trouble, try allocating LESS ram. 512 for instance.
    CraftBukkit can go nuts if it is allocated more ram than it can use.
     
  16. Offline

    Demonofbirth

    Why is your upload more than your download?
     
  17. Offline

    Tythus

    His connection might be both ways but it depends on what deals the network has and what the server had spare at the time lots of stuff.
     
  18. Offline

    Liger_XT5

    I would go by lan, but the best I can get from room to room is wifi, maybe, but lags like hell. So we use the internet for a few friends and I have, maybe two, friends in my room for lan. So it's a mix of lan and internet
     
  19. Offline

    croxis

    My bet is that you guys are still on the campus lan ;)
     
Thread Status:
Not open for further replies.

Share This Page