How to improve performance

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Zdenekhb
Posts: 18
Joined: Thu Jul 12, 2007 4:44 pm
Location: Czech Rep.

How to improve performance

Post by Zdenekhb »

Hi all,

I Have gracia final server with 100+ online players and they have told that they are much lags.
I need help with increasing server performance and eliminate lags

Computers config (i have 2 PCs):

MySQL server: CORE 2 DUO E7400, 300GB Sata-II, 2GB RAM DDR2 Dual-channel, OS Archlinux 64bit
Login and Gameserver: CORE 2 DUO E8600 500GB Sata-II. 8GB RAM DDR2 Dual Channel, Ubuntu linux 64bit

Run settigs for java is:
Login server: nice -2, -Xmx128m
Gameserver: nice 0, -Xms2048m, -Xmx5120m

Usage:
CPU MySQL server: 0 - 5%
CPU Login+Gameserver 6-11%

Internet connection: synchronous 50mbps. tested usage internet connection if is 100+ user online : < 1mbps

Telnet Server Status:

Code: Select all

   --->  Player Count: 119/500  ---> Offline Count: 13/119  +-->  Object Count: 92161  +-->      AI Count: 43118  +.... L2Item(Void): 13  +.......... L2Item: 47053  +....... L2Monster: 40535  +......... Minions: 3018  +.. Minions Groups: 1901  +........... L2Npc: 3357  +............ L2Pc: 117  +........ L2Summon: 2  +.......... L2Door: 1033  +.......... L2Char: 51  --->   Ingame Time: 18:18  ---> Server Uptime: 10hrs 2mins 16secs  --->      GM Count: 1  --->       Threads: 52  RAM Used: 1336 
Telnet Server Performance:

Code: Select all

 STP: + Effects: |- ActiveThreads:   0 |- getCorePoolSize: 10 |- PoolSize:        10 |- MaximumPoolSize: 2147483647 |- CompletedTasks:  44048633 |- ScheduledTasks:  9943 | ------- + General: |- ActiveThreads:   0 |- getCorePoolSize: 13 |- PoolSize:        13 |- MaximumPoolSize: 2147483647 |- CompletedTasks:  2931591 |- ScheduledTasks:  2399 | ------- + AI: |- ActiveThreads:   0 |- getCorePoolSize: 6 |- PoolSize:        6 |- MaximumPoolSize: 2147483647 |- CompletedTasks:  13707066 |- ScheduledTasks:  2465TP: + Packets: |- ActiveThreads:   0 |- getCorePoolSize: 4 |- MaximumPoolSize: 6 |- LargestPoolSize: 4 |- PoolSize:        4 |- CompletedTasks:  2904271 |- QueuedTasks:     0 | ------- + I/O Packets: |- ActiveThreads:   0 |- getCorePoolSize: 2 |- MaximumPoolSize: 2147483647 |- LargestPoolSize: 2 |- PoolSize:        2 |- CompletedTasks:  2569 |- QueuedTasks:     0 | ------- + General Tasks: |- ActiveThreads:   0 |- getCorePoolSize: 4 |- MaximumPoolSize: 6 |- LargestPoolSize: 4 |- PoolSize:        4 |- CompletedTasks:  589156 |- QueuedTasks:     0 | ------- + AI: |- Not Done 
Thx for any ideas ....
Last edited by Zdenekhb on Thu Aug 06, 2009 7:16 pm, edited 1 time in total.
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: How to improve performance

Post by devo »

Changed PC's, database more memory, but for 100online it should be ok.

Show here threads configuration and mysql config.
A hero of war is that what they see...
Zdenekhb
Posts: 18
Joined: Thu Jul 12, 2007 4:44 pm
Location: Czech Rep.

Re: How to improve performance

Post by Zdenekhb »

devo wrote:Changed PC's, database more memory, but for 100online it should be ok.

Show here threads configuration and mysql config.
Threads config is in default state ...
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: How to improve performance

Post by devo »

nbd wrote somewhere that you need to set it to your core count.
A hero of war is that what they see...
Evilus
Posts: 387
Joined: Mon Jun 09, 2008 6:08 pm

Re: How to improve performance

Post by Evilus »

# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8
ooman
Posts: 2
Joined: Sun Jan 13, 2008 10:18 pm
Contact:

Re: How to improve performance

Post by ooman »

Try to add to Run settings for java gameserver: -server
Post Reply