Feed the Beast lag problems

  • 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

Bobby52597

New Member
Jul 29, 2019
10
0
0
Me and a friend were trying to make an ftb server to play on, and the lag is horrible. Its not fps lag, but its server lag. My friend keeps spawning inside the ground and it takes ages for blocks to break. Now i found this coding to multi thread, but its not for my PC specs and im not sure how to convert it:

""java -server -Xincgc -Xmx4G -Xms2G -Xmn1G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:parallelGCThreads=2 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp server_ftbserver.jar -jar server_ftbserver.jar"

My Pc Specs are:
Processor: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz 2.93GHz
RAM: 4GB of Ram (I have 32 bit so it says 3.50 GB Usable)
32bit operating system

My internet speed is not the greatest either:
Download speed: 2.34M per second
Upload Speed: 0.73M per second
Ping: 60ms

Also we are using hamachi at the moment, but if i port forward will that affect the lag issue?

Any suggestions are greatly appreciated, Thank you
 

Dingham

New Member
Jul 29, 2019
294
0
0
Answered your other post in tech support, this shows more information, although its a double post.

It looks like a bandwidth issue tbh. The code wouldn't do much for you as its really for high end systems.

this will work fine for you.

Code:
java -server -Xms1G -Xmx2 -jar ftbserver.jar nogui

if you want it explained read the other posts.
 

Bobby52597

New Member
Jul 29, 2019
10
0
0
Even with the g it still doesn't work, i took out -server and and put -Xmx1G, then it worked
Im quite certain it says 3.5GB usable though?
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Let me blunt. Your hardware and internet speed are both incapable of hosting an FTB server. With a 32 bit OS, you can only give Java 1 gig of memory. If your friend has better speed or hardware he should try hosting, and yes, removing Hamichi may help with lag, but not by a large amount.