First off, yes the server machine is really slow. But I have seen people with similar hardware run stable FTB servers with a few tweaks.
Problem is, I can't find any tweaks whatsoever. I've tried that TickThreading thing. Decreased CPU load by 30%, decreased server lag somewhat but it's still on unnacceptable levels.
I also feel I should add that I don't expect there to be more than 3 people online at any given time.
Here's relevant system information:
Manufacturer and model:
eMachines E525
OS:
Windows 7 x64
CPU:
Intel Celeron T300 @1.8GHz Duo Core
RAM:
4GB
Here's what I've tried:
TickThread; increased performance a bit, not enough.
The .bat editing thing with the codes that I understand very little of. Bat window instantly closes so I added a pause to the .bat file and I get this error message:
"Error occurred during initialization of VM
Too small initial heap for new size specified"
I reckon these codes are a bit personal however, I ripped them of someone else.
Here's the code:
While we're at it. There really should be a central stickied thread of any and all optimizations you can do to get your server up and running.
Problem is, I can't find any tweaks whatsoever. I've tried that TickThreading thing. Decreased CPU load by 30%, decreased server lag somewhat but it's still on unnacceptable levels.
I also feel I should add that I don't expect there to be more than 3 people online at any given time.
Here's relevant system information:
Manufacturer and model:
eMachines E525
OS:
Windows 7 x64
CPU:
Intel Celeron T300 @1.8GHz Duo Core
RAM:
4GB
Here's what I've tried:
TickThread; increased performance a bit, not enough.
The .bat editing thing with the codes that I understand very little of. Bat window instantly closes so I added a pause to the .bat file and I get this error message:
"Error occurred during initialization of VM
Too small initial heap for new size specified"
I reckon these codes are a bit personal however, I ripped them of someone else.
Here's the code:
Code:
java -server -Xincgc -Xmx3G -Xms1G -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=3 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=1G -cp ftbserver.jar -jar ftbserver.jar
While we're at it. There really should be a central stickied thread of any and all optimizations you can do to get your server up and running.