Re: Server Increase performance question.
Posted: Tue Jan 18, 2011 10:27 pm
DB engine - memory, and real time replication on different server. Hard drive will be used only for backups.
L2J Server Discussion Board
https://l2jserver.com/forum/
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
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
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 ?
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
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
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
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
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 )
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.