Page 1 of 1
GameServer_loop configuration
Posted: Fri Jul 22, 2011 10:58 pm
by Zeldak
Code: Select all
nice -n -3 java -server -Xmx10G -Xms8G -Xmn4G -Xss256k -XX:PermSize=256m -XX:+UseThreadPriorities -XX:ParallelGCThreads=2 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -Xnoclassgc -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1
Hey i use this line for the server.
I have to mention that i have
CPU: i7 920 Quad Core
RAM: 24GB DDR3
Bandline: 100 mb.
HDD: Raid1
Also when the server reaches about lets say 700 Unique IPs, at interval of hmm lets say 3-4 minutes there are very small spikes or when a mage use spells very fast they take DCs. I assume that is from the growing population becaus ebefore i didnt had any problem.
Is my gameserver_loop ok for my mahcine? should i improve it? if yes than how.
Also should i give it more ram?
Also about the bandline its enough for 700 Unique IPs or do i need to update at 1GB?
Re: GameServer_loop configuration
Posted: Sat Jul 23, 2011 6:29 am
by Stake
You should run it with the default command, not with nice! You set the priority to -3, while the normal process priority is 0, and I think, you run mysql with default, so run the gameserver with default too. Remove that nice thing from the startup command.
Re: GameServer_loop configuration
Posted: Sat Jul 23, 2011 7:00 am
by Zoey76
Re: GameServer_loop configuration
Posted: Sun Jul 24, 2011 12:50 pm
by Zeldak
Still lag spikes. I would want to know if its possible to be from networkspeed. And if it is thats how it manifesting or should be a continous delay?
I would buy 1GB line but iw ant to be sure, also how can i check how much badpseed im using in Ubuntu>?
Also im using Ubuntu Karmic 9-10
Re: GameServer_loop configuration
Posted: Sun Jul 24, 2011 10:31 pm
by Zeldak
So...any ideas cuz its kinda really important and i think we all should now how to resist to high number of players.
Cuz i can try to buy 1 gb line or to buy 1 SSD but maybe its just a config or smth that influence this.
And im sure that lot of persons met those problems.
Re: GameServer_loop configuration
Posted: Mon Jul 25, 2011 11:11 am
by Stake
Zeldak wrote:So...any ideas cuz its kinda really important and i think we all should now how to resist to high number of players.
Cuz i can try to buy 1 gb line or to buy 1 SSD but maybe its just a config or smth that influence this.
And im sure that lot of persons met those problems.
Wtf are that 8 running java applications each allocating 9515M memory? I'm not wondering about lag spikes if it really uses 9515*8M of physical memory. You can buy an SSD of course for the swap, but I don't think, you really need that many servers. :O
Kill those processes, and run as many as you need, and test if lag still occurs. If so, I recommend you to buy a 1Gb line.
Re: GameServer_loop configuration
Posted: Mon Jul 25, 2011 12:19 pm
by Zeldak
is the server on all threads i guess because i have only 1 server opened. i can also give print of TOP
Re: GameServer_loop configuration
Posted: Mon Jul 25, 2011 8:54 pm
by Zeldak
Also this problems occurs when the players are sppamming skills they get d/c per player not whole server.