Server Increase performance question.
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- qwerty13
- Posts: 640
- Joined: Mon Feb 02, 2009 9:57 am
- Location: Europe
- Contact:
Re: Server Increase performance question.
DB engine - memory, and real time replication on different server. Hard drive will be used only for backups.
- xone
- Posts: 122
- Joined: Thu Nov 05, 2009 5:04 am
Re: Server Increase performance question.
I installed MySQL and mysqltunner works just fine now
Thanks for advices all.
Thanks for advices all.
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
Re: Server Increase performance question.
If you run a pvp server use geodata only in importand areas (castles,farming etc.) I was handling 500 players on 2gb ram with autorestart once everyday.
- xone
- Posts: 122
- Joined: Thu Nov 05, 2009 5:04 am
Re: Server Increase performance question.
Ok, I got my new ram, 8GB DDR2 1066mhz.
MySQL
I moved databse on my other hard drive.
Thread Config
using this:
I have arround 140 players and some of them have lag, still don't know what the problem is, any ideeas ?
Thanks.
MySQL
Code: Select all
memlockmyisam-recover = BACKUPkey_buffer = 600Mjoin_buffer = 10Mjoin_buffer_size = 256Kmax_allowed_packet = 32Mthread_stack = 256Kthread_cache_size = 16max_connections = 600table_cache = 1024thread_concurrency = 8query_cache_limit = 128Mquery_cache_size = 512Mquery_cache_type = 1skip-innodbskip-federated
Thread Config
Code: Select all
# ---------------------------------------------------------------------------# Thread Configuration# ---------------------------------------------------------------------------# Extreme caution should be here, set to defaults if you do not know what you are doing.# These could possibly hurt your servers performance or improve it depending on your server's configuration, size, and other factors.# Default: 10ThreadPoolSizeEffects = 10 # Default: 13ThreadPoolSizeGeneral = 13 # Default: 2UrgentPacketThreadCoreSize = 2 # Default: 4GeneralPacketThreadCoreSize = 4 # Default: 4GeneralThreadCoreSize = 4 # Default: 6AiMaxThread = 6 # Dead Lock Detector (a separate thread for detecting deadlocks).# For improved crash logs and automatic restart in deadlock case if enabled.# Check interval is in seconds.# Default: FalseDeadLockDetector = False # Default: 20DeadLockCheckInterval = 20 # Default: FalseRestartOnDeadlock = False # ---------------------------------------------------------------------------# Client packet queue tuning# ---------------------------------------------------------------------------# Queue size, do not set it too low !# 0 - use value MaxReadPerPass + 2 (from mmo.properties)# Default: 0ClientPacketQueueSize = 0 # Maximum number of packets in burst.# Execution will be aborted and thread released if more packets executed in raw.# 0 - use value MaxReadPerPass + 1 (from mmo.properties)# Default: 0ClientPacketQueueMaxBurstSize = 0 # Maximum number of packets per second.# Flood detector will be triggered if more packets received.# After triggering all incoming packets will be dropped until flooding stopped.# Default: 80ClientPacketQueueMaxPacketsPerSecond = 80 # Average number of packets per second calculated during this interval.# Using larger value decrease number of false kicks, but slower reaction to flood.# Avoid using too low or too high values, recommended between 3 and 10.# Default: 5ClientPacketQueueMeasureInterval = 7 # Maximum average number of packets per second during measure interval.# Flood detector will be triggered if more packets received.# After triggering all incoming packets will be dropped until flooding stopped.# Default: 40ClientPacketQueueMaxAveragePacketsPerSecond = 40 # Maximum number of flood triggers per minute.# Client will be kicked if more floods detected.# Default: 2ClientPacketQueueMaxFloodsPerMin = 2 # Maximum number of queue overflows per minute.# After overflow all incoming packets from client are dropped until queue is flushed.# Client will be kicked if more queue overflows detected.# Default: 1ClientPacketQueueMaxOverflowsPerMin = 1 # Maximum number of buffer underflows per minute.# Client will be kicked if more underflow exceptions detected.# Default: 1ClientPacketQueueMaxUnderflowsPerMin = 1 # Maximum number of unknown packets per minute.# Client will be kicked if more unknown packets received.# Default: 5ClientPacketQueueMaxUnknownPerMin = 5
Code: Select all
java -Dc3p0.unreturnedConnectionTimeout=1500 -Dc3p0.maxStatements=150 -Dc3p0.maxIdleTime=300 -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms6g -Xmx6g -server -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1
Thanks.
- dark911_ro
- Posts: 80
- Joined: Wed Sep 08, 2010 11:48 am
- Location: Romania
Re: Server Increase performance question.
how about internet connection ? what bandwidth do you have ?
- xone
- Posts: 122
- Joined: Thu Nov 05, 2009 5:04 am
Re: Server Increase performance question.
Your RO , I have from iLink, its stable, and fast ... but from what i've noticed only place where its a bit slow ... is greece. ( In greece internet sux, been there )dark911_ro wrote:how about internet connection ? what bandwidth do you have ?
now the test was good sometimes upload to greece is like 900kb/s
And mostly the ones lagging are from greece ...
- dark911_ro
- Posts: 80
- Joined: Wed Sep 08, 2010 11:48 am
- Location: Romania
Re: Server Increase performance question.
with 2 - 3Mbps you can have arround 150 players on your server . Ofc player connection is important also .
But if you say that sometime ur connection goes to 900kbps is bad .. try to get a guaranteed bandwidth starting from 3Mbps.
If you are from Romania , try getting fiber from UPC with guaranteed bandwidth of 10Mbps it's arround 60 Eu / month. Or try RDS but they have a bit higher prices.
Me for ex i have atm both connections ( RDS and UPC ) and UPC is far way better on external , RDS with up min of 50 Mbps and up to 100 Mbps owns intenal . But as you know ... your location is a huge factor for a good internet connection.
As you know , Romania is on 4th place in world for internet connection speed after Koreea, Japan and Latvia So you have where to choose from
But if you say that sometime ur connection goes to 900kbps is bad .. try to get a guaranteed bandwidth starting from 3Mbps.
If you are from Romania , try getting fiber from UPC with guaranteed bandwidth of 10Mbps it's arround 60 Eu / month. Or try RDS but they have a bit higher prices.
Me for ex i have atm both connections ( RDS and UPC ) and UPC is far way better on external , RDS with up min of 50 Mbps and up to 100 Mbps owns intenal . But as you know ... your location is a huge factor for a good internet connection.
As you know , Romania is on 4th place in world for internet connection speed after Koreea, Japan and Latvia So you have where to choose from
-
- Posts: 84
- Joined: Thu Jan 21, 2010 6:17 pm
Re: Server Increase performance question.
Download speed its high for both (RDS and UPC) but upload sucks.. if you want more upload ...well costs are very highdark911_ro wrote:with 2 - 3Mbps you can have arround 150 players on your server . Ofc player connection is important also .
But if you say that sometime ur connection goes to 900kbps is bad .. try to get a guaranteed bandwidth starting from 3Mbps.
If you are from Romania , try getting fiber from UPC with guaranteed bandwidth of 10Mbps it's arround 60 Eu / month. Or try RDS but they have a bit higher prices.
Me for ex i have atm both connections ( RDS and UPC ) and UPC is far way better on external , RDS with up min of 50 Mbps and up to 100 Mbps owns intenal . But as you know ... your location is a huge factor for a good internet connection.
As you know , Romania is on 4th place in world for internet connection speed after Koreea, Japan and Latvia So you have where to choose from
Download Speed: 59830 kbps (7478.8 KB/sec transfer rate)
Upload Speed: 507 kbps (63.4 KB/sec transfer rate)
Latency: 5 ms
my l2server from 1jan until 28jan
Incoming data in gib 206.68
Outbond data in gib 723.34
So how to handle this traffic with 507kbps upload ? You cant
- xone
- Posts: 122
- Joined: Thu Nov 05, 2009 5:04 am
Re: Server Increase performance question.
I found the perfect way and cost effective, iLink + NextGen on Fiber (total price 20E/ month).baluu wrote:Download speed its high for both (RDS and UPC) but upload sucks.. if you want more upload ...well costs are very highdark911_ro wrote:with 2 - 3Mbps you can have arround 150 players on your server . Ofc player connection is important also .
But if you say that sometime ur connection goes to 900kbps is bad .. try to get a guaranteed bandwidth starting from 3Mbps.
If you are from Romania , try getting fiber from UPC with guaranteed bandwidth of 10Mbps it's arround 60 Eu / month. Or try RDS but they have a bit higher prices.
Me for ex i have atm both connections ( RDS and UPC ) and UPC is far way better on external , RDS with up min of 50 Mbps and up to 100 Mbps owns intenal . But as you know ... your location is a huge factor for a good internet connection.
As you know , Romania is on 4th place in world for internet connection speed after Koreea, Japan and Latvia So you have where to choose from
Download Speed: 59830 kbps (7478.8 KB/sec transfer rate)
Upload Speed: 507 kbps (63.4 KB/sec transfer rate)
Latency: 5 ms
my l2server from 1jan until 28jan
Incoming data in gib 206.68
Outbond data in gib 723.34
So how to handle this traffic with 507kbps upload ? You cant
iLink works for every country perfect except greece.
Hope next week if I upgrade, the lag issues will go away
- dark911_ro
- Posts: 80
- Joined: Wed Sep 08, 2010 11:48 am
- Location: Romania
Re: Server Increase performance question.
I am pretty sure l2j server in anyway you want did not and wont make 723.34 GB in 28 daysbaluu wrote:
Download Speed: 59830 kbps (7478.8 KB/sec transfer rate)
Upload Speed: 507 kbps (63.4 KB/sec transfer rate)
Latency: 5 ms
my l2server from 1jan until 28jan
Incoming data in gib 206.68
Outbond data in gib 723.34
So how to handle this traffic with 507kbps upload ? You cant
Maybe you included there your downloads also ...
- dark911_ro
- Posts: 80
- Joined: Wed Sep 08, 2010 11:48 am
- Location: Romania
Re: Server Increase performance question.
I am pretty sure l2j server in anyway you want did not and wont make 723.34 GB in 28 daysdark911_ro wrote:baluu wrote:
Download Speed: 59830 kbps (7478.8 KB/sec transfer rate)
Upload Speed: 507 kbps (63.4 KB/sec transfer rate)
Latency: 5 ms
my l2server from 1jan until 28jan
Incoming data in gib 206.68
Outbond data in gib 723.34
So how to handle this traffic with 507kbps upload ? You cant
Maybe you included there your downloads/uploads from torrents also ...
- xone
- Posts: 122
- Joined: Thu Nov 05, 2009 5:04 am
Re: Server Increase performance question.
Maybe he has webserver on same box as server, and ppl download patch/client lol + torrents )
-
- Posts: 89
- Joined: Mon Sep 15, 2008 8:51 am
Re: Server Increase performance question.
dark911_ro wrote:I am pretty sure l2j server in anyway you want did not and wont make 723.34 GB in 28 days
Maybe you included there your downloads/uploads from torrents also ...
That's an average of around 300 kB/s upload. If you have somewhat of a population you easily use up such amount of bandwidth in just 28 days.xone wrote:Maybe he has webserver on same box as server, and ppl download patch/client lol + torrents )
-
- Posts: 154
- Joined: Sat Dec 25, 2010 10:09 pm
- Location: Portugal
Re: Server Increase performance question.
Just dont do that. Because Trim is not supported by SSD in RAid. That means that theSSDs will became slower with time. The best to do is just buy an SSD and leave it alone. the SandForce ones allready do 285 read 275 write 250 Sustained write. If you buy a REvo Drive from OCZ ( that are in RAID 0, but are prepared for that) you will have 740MBs read 690 Write and 550 Sustained Write. And if that is not enought, you can allways get the new Z-Drive R3 (entreprise Solution) that does an amazing speed of 1GB/s Read 970MB/s Write 900MB/s Sustained write, with everything, like trim, etc etc, and allows you to add more storade if you need more.ThePhoenixBird wrote:RAID0 of SSD disks.
I just telling what the crazy people at the Overclock foruns talk about. And they test like 4 SSD in Raid etc, and most of them say the same. Anyway an SSD have allready enought speed. The great improvent for a server will be for sure the seek time of 0.1ms
My teachers XD: jurchiks
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Server Increase performance question.
@Ralm - that's some very useful info, thanks
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.