Page 1 of 3
Fine server tunning
Posted: Fri Mar 04, 2011 5:04 pm
by Ezvra
Hello, am running a server with 700 players around plus 100 + - offline traders, server machine has 24gb ddr3 ram, processor is a Intel Bi-Xeon E5504 8x2.0 ghz, am looking for some tricks to give more stability cause sometimes people have lag spikes, I would thank any configuration trick for it.
Ps: server is running on windows server 2008 and line is 1gbps.
thanks

Re: Fine server tunning
Posted: Sat Mar 05, 2011 11:04 pm
by Bani
You optimized MySQL ?
Running a better GC with JVM?
Post your startGameServer.bat, Thread Pool Config and MySQL config

Re: Fine server tunning
Posted: Sun Mar 06, 2011 1:38 am
by Ezvra
They are mostly default, I will pastebin them, here they are as I have it:
my.ini from mysql
http://pastebin.com/X4uJXMar
startgameserver.bat
http://pastebin.com/qpnPSQTu
thread config
http://pastebin.com/PqW23Yxb
Thanks for ur answer. Hope you can teach me some tricks

Re: Fine server tunning
Posted: Sun Mar 06, 2011 9:47 am
by tukune
Oh! You have many many memory!
I want to see your task manager.
Re: Fine server tunning
Posted: Sun Mar 06, 2011 11:54 am
by Ezvra
tukune wrote:Oh! You have many many memory!
I want to see your task manager.
Excuse my ignorance, but what is that and how do I show it to you?

Re: Fine server tunning
Posted: Sun Mar 06, 2011 11:57 am
by jurchiks
lol... Ctrl+Alt+Del?
Re: Fine server tunning
Posted: Sun Mar 06, 2011 12:04 pm
by tukune
start menu --> run ... --> open: taskmgr
Re: Fine server tunning
Posted: Sun Mar 06, 2011 12:38 pm
by Ezvra
I thought you mean a task manager inside server files, anyway, here is a screen with cores activity, meanwhile server is running.
PS: It's spanish Ui
Uploaded with
ImageShack.us
Re: Fine server tunning
Posted: Sun Mar 06, 2011 12:55 pm
by kama3a
everything looks perfect...
Re: Fine server tunning
Posted: Sun Mar 06, 2011 1:13 pm
by Ezvra
Yes, machine is pretty hard, I just want to know what to change to have more profit of the server machine, i mean with configs, threads, etc.
Re: Fine server tunning
Posted: Sun Mar 06, 2011 3:05 pm
by tukune
I want to see your "Procesos" tab
MySql and java memory use.
You has 24GB total memory.
but you using 6,81GB.
Where lost 17GB?
Re: Fine server tunning
Posted: Sun Mar 06, 2011 4:08 pm
by MELERIX
I hope you are using 64 bits versions of Java & MySQL.
Re: Fine server tunning
Posted: Sun Mar 06, 2011 5:10 pm
by Ezvra
MELERIX wrote:I hope you are using 64 bits versions of Java & MySQL.
Yes it is 64bits, and here is the other tab:
Uploaded with
ImageShack.us
Re: Fine server tunning
Posted: Sun Mar 06, 2011 8:09 pm
by Bani
As it goes for your Thread Pool try setting everything there 2x-3x of the default value you will need to try diffrent ratios to get the best results.
As for your startGameServer.bat maybe reconsider using this:
Code: Select all
java -server -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms2048m -Xmx18g -Xss256k -XX:PermSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:+AggressiveOpts -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1
It will run L2 making sure it uses all cores, starts with higher resources also has increased Thread Stack and also it has a better Garbage Collector so this should make your server run a lot more better.
Now i ain't really a proffesional in L2 but i've done this changes and for me it worked perfect though i am using Linux not Windows.
Hope i helped you a bit

Re: Fine server tunning
Posted: Sun Mar 06, 2011 9:37 pm
by Ezvra
Thank you a lot, i will try it on server cuz my PC has not 8 cores.