Fine server tunning

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
User avatar
Ezvra
Posts: 53
Joined: Mon Dec 28, 2009 10:22 pm

Fine server tunning

Post 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 :D
Bani
Posts: 21
Joined: Sun Jan 30, 2011 11:55 pm

Re: Fine server tunning

Post by Bani »

You optimized MySQL ?
Running a better GC with JVM?

Post your startGameServer.bat, Thread Pool Config and MySQL config :)
User avatar
Ezvra
Posts: 53
Joined: Mon Dec 28, 2009 10:22 pm

Re: Fine server tunning

Post 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 :P
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Fine server tunning

Post by tukune »

Oh! You have many many memory!
I want to see your task manager.
User avatar
Ezvra
Posts: 53
Joined: Mon Dec 28, 2009 10:22 pm

Re: Fine server tunning

Post 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? :D
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Fine server tunning

Post by jurchiks »

lol... Ctrl+Alt+Del?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Fine server tunning

Post by tukune »

start menu --> run ... --> open: taskmgr
User avatar
Ezvra
Posts: 53
Joined: Mon Dec 28, 2009 10:22 pm

Re: Fine server tunning

Post 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

Image

Uploaded with ImageShack.us
kama3a
Posts: 125
Joined: Mon Jul 07, 2008 4:01 pm

Re: Fine server tunning

Post by kama3a »

everything looks perfect...
User avatar
Ezvra
Posts: 53
Joined: Mon Dec 28, 2009 10:22 pm

Re: Fine server tunning

Post 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.
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Fine server tunning

Post 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?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Fine server tunning

Post by MELERIX »

I hope you are using 64 bits versions of Java & MySQL.
User avatar
Ezvra
Posts: 53
Joined: Mon Dec 28, 2009 10:22 pm

Re: Fine server tunning

Post 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:

Image

Uploaded with ImageShack.us
Bani
Posts: 21
Joined: Sun Jan 30, 2011 11:55 pm

Re: Fine server tunning

Post 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 :)
User avatar
Ezvra
Posts: 53
Joined: Mon Dec 28, 2009 10:22 pm

Re: Fine server tunning

Post by Ezvra »

Thank you a lot, i will try it on server cuz my PC has not 8 cores.
Post Reply