server laggging, did i do this right?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

behedwin

New Member
Jul 29, 2019
308
0
1
i started a server for 5 ppl

i have started using this string in the .bat file

java -Xms2024M-Xmx6G-jar ftbserver.jar

it is still lagging for us, 2 ppl on the server.

what can i do?
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
java -Xms2024M -Xmx6G -jar ftbserver.jar

make sure you have the spaces and see if that solved the issue
 

Byte Templar

New Member
Jul 29, 2019
142
0
0
Does your server have at least 6 gig memory? Are you running 64bit OS and Java? What about the processor of your server?
 

cjm721

New Member
Jul 29, 2019
734
0
1
If the server is lagging Ram has nothing to do with it. That is a CPU issue (or just a mod using way more then it should but that is still a CPU limiter that effects how much damage incorrect coding does).
 

cjm721

New Member
Jul 29, 2019
734
0
1
is it 2.67 Overclocked from 2.00 or what? And that is not that fast but considering for 5 people that is a bit strange. Are you using java 6 or 7?
 

behedwin

New Member
Jul 29, 2019
308
0
1
using java 7
my internet is 100/100mbit

we moved the server to a friends computer (new computer)
and it worked much better.

so i guess my hardware is to "old" (two years) for it to run smooth.
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
using java 7
my internet is 100/100mbit

we moved the server to a friends computer (new computer)
and it worked much better.

so i guess my hardware is to "old" (two years) for it to run smooth.


yeah, that cpu is a little underpowered for running a modded server (it might run a vanilla server for 5 people ok, but modded uses so much more cpu).
 

Byte Templar

New Member
Jul 29, 2019
142
0
0
Quite odd, cause Im running Unleashed server with 2 people playing without any problems on Atom D550 and 4 gig of RAM, so i5 should be more than enough imo!
 

cjm721

New Member
Jul 29, 2019
734
0
1
the amount of cores does not help when Minecraft (is normmaly) a single thread. Its the clock speed of the single core it is running on that determines most of the processing power for it (GC, JVM, and the os are still running so having more cores can help but the clock speed of a single core is usually more important)
 

Byte Templar

New Member
Jul 29, 2019
142
0
0
Still it doesn't explain how my Atom D550 (1.6Ghz) can run the server and i5 cant. Atom is low powered, low end processor, and i5 beats it in every possible way...

Do you use Windows as server btw? I use Debian Linux on my box :)