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?
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)
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.
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.
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.
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.
Meh you people have silly internets. I host mine on this: 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.
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.
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