I have a large server with 40-50 players on but seem to have problems supporting more than that without lag.
My Setup:
CentOS
Xeon Quad Core
16GB RAM (11 dedicated to minecraft, 3.5GB on a ramdrive)
100Mb/s link.
Fully dedicated to MC.
It seems that after about 40 players, the CPU of one of the cores reaches 100% then the sun and moon will begin to lag.
How do some of these larger servers with 60+ players get all those players on without lag? Are they virtualizing the cores somehow? Minecraft running under Java 64 only seems to want to use one core and it maxes out at 40-50 players.
can u be alittle more specific on the cpu as you say it hits 100%
Thanks for your reply.
It hits 100-110% in top, which means the current process java is using 100% of one core. However the overall cpu usage is 15% overall the cores combined.
top - 00:31:49 up 2 days, 8:03, 3 users, load average: 2.08, 2.10, 2.01
Tasks: 184 total, 1 running, 183 sleeping, 0 stopped, 0 zombie
Cpu(s): 16.1%us, 1.4%sy, 0.0%ni, 81.3%id, 0.1%wa, 0.0%hi, 1.1%si, 0.0%st
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26369 root 21 0 8998m 1.6g 10m S 112.5 13.4 215:11.16 java
26344 root 18 0 1072m 220m 9428 S 6.3 1.8 17:28.28 java
29421 root 17 0 871m 71m 9152 S 1.7 0.6 2:50.35 java
29833 root 15 0 12744 1156 812 R 0.3 0.0 0:14.08 top
1 root 15 0 10352 640 540 S 0.0 0.0 0:01.31 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.03 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
Just to throw my 2 cents out, we have a ~140 slot server running on an X3450 with HT on. We also have some even bigger servers that are run on dual 5520 and dual 5620's. It's been argued over and over on HT. Overall it doesn't make much of a difference in what we've noticed. We've been reported that 225 concurrent slots has been reached on a dual 5520.
By chance, are you running any extra java opts?
Rollback Post to RevisionRollBack
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins I am a representative of AllGamer
Clinton if you dont mind me asking could you tell me a couple of things?
Specs of PC for your server, operating system and what mods/pluggins your using. Also if anything on your server was custom coded for performance tweaking
We host hundreds of servers so it's very difficult to answer your question. If you could specify a little more I'll do my best to answer. (Which setup basically)
Rollback Post to RevisionRollBack
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins I am a representative of AllGamer
Well for one server that had about 140 on, X3450, 16GB RAM, 4 x 500GB SATA, Hardware RAID 10.
Rollback Post to RevisionRollBack
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins I am a representative of AllGamer
I very much doubt you could get over 100 without some type of lag unless you had monsters and animals off, and not many plugins installed. Even then, I'd have to see it to believe it.
I have the entire thing in a ramdrive and 16GHz.. My Xeon is the 5000 series. I think my main issue now that I've done some testing is that I have monsters and animal spawning on. But I'm not going to remove those to get 20 more slots, that's for sure.
Well for one server that had about 140 on, X3450, 16GB RAM, 4 x 500GB SATA, Hardware RAID 10.
Clinton, are you using Xen on that server to virtualize all the cores so minecraft/java sees one core only as Xen uses all four to power the virtualized single core?
Well for one server that had about 140 on, X3450, 16GB RAM, 4 x 500GB SATA, Hardware RAID 10.
Clinton, are you using Xen on that server to virtualize all the cores so minecraft/java sees one core only as Xen uses all four to power the virtualized single core?
No, that's an actual dedicated server. Cores also don't really work like that with Xen.
Rollback Post to RevisionRollBack
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins I am a representative of AllGamer
I've tried two servers now. A quad 5000 series xeon, and an i7 870 and both will not allow more than 40 players without lag. this is with 16GB of memory and the entire game files loaded in to a ramdisk.
I'm not sure how people can get 60-70 without lag. Still stumped on this. I use craftbukkit by the way.
If you want to run large amounts of players with little lag AND you have mobs disabled, consider running MCServer. It's a third-party Minecraft server written in C++. Plugin support, furnaces, etc. are included. I run it locally on an old laptop with 512MB RAM and there is 0 lag where Minecraft's stock server was a dog.
My Setup:
CentOS
Xeon Quad Core
16GB RAM (11 dedicated to minecraft, 3.5GB on a ramdrive)
100Mb/s link.
Fully dedicated to MC.
It seems that after about 40 players, the CPU of one of the cores reaches 100% then the sun and moon will begin to lag.
How do some of these larger servers with 60+ players get all those players on without lag? Are they virtualizing the cores somehow? Minecraft running under Java 64 only seems to want to use one core and it maxes out at 40-50 players.
Any ideas or tips would be very helpful.
Thank you!
XtremeHostz Topic
Providing Affordable VPS Solutions at a rock bottom price
Selling Servers in Seattle, DC and Brisbane/Sydney, Australia
Thanks for your reply.
It hits 100-110% in top, which means the current process java is using 100% of one core. However the overall cpu usage is 15% overall the cores combined.
If it's single, that's probably the bottleneck.
If it's multi, you need to see why the app is using it in single.
JWSJ
If I could get to 60-65 players without the sun/stars lagging, I'd be one happy man!
Anyone??
By chance, are you running any extra java opts?
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins
I am a representative of AllGamer
Specs of PC for your server, operating system and what mods/pluggins your using. Also if anything on your server was custom coded for performance tweaking
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins
I am a representative of AllGamer
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins
I am a representative of AllGamer
I have the entire thing in a ramdrive and 16GHz.. My Xeon is the 5000 series. I think my main issue now that I've done some testing is that I have monsters and animal spawning on. But I'm not going to remove those to get 20 more slots, that's for sure.
Any other suggestions?
what changed? bukkit to hmod? plugins? version of minecraft?
Clinton, are you using Xen on that server to virtualize all the cores so minecraft/java sees one core only as Xen uses all four to power the virtualized single core?
No, that's an actual dedicated server. Cores also don't really work like that with Xen.
https://allgamer.net/ - Minecraft, KVM VPS, and Dedicated Server Hosting
Email/MSN: clinton -at- allgamer -dot- net
AIM: Clinton4664 | Skype: clinton_collins
I am a representative of AllGamer
I'd really like to know what I'm doing wrong here that I can't get over 50 without lag.
Go to speedtest.net and paste your results from the test.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
I'm not sure how people can get 60-70 without lag. Still stumped on this. I use craftbukkit by the way.