I have this machine:
*4 x Intel(R) Xeon(R) CPU E5405 @ 2.00GHz
*4 gb ram
*line 1gb
*os 64b
*debian 6
I use this string to lunch the GS, is it good?
java -server -Xmn1024m -Xms2048m -Xmx3072m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:PermSize=256m -XX:MaxPermSize=756m -XX:SurvivorRatio=16 -Xnoclassgc -XX:+AggressiveOpts
Thank
[Info] JVM
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 277
- Joined: Fri Apr 17, 2009 2:29 pm
[Info] JVM
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
-
- Posts: 271
- Joined: Wed Mar 19, 2008 10:16 am
Re: [Info] JVM
Well, it depends on the other services that may be on your server...
4Gb RAM -> GS, Login, OS, crond, httpd, mysqld, sendmail, ... 'you didn't tell if server is used only for GS or other services also)
And don't forget other softwares like the shell and so on...
If GS is the only L2J part running on your server, it's fine (1Gb for OS + Crond + MTU + ... should be enough)
If you've other services running (web server, DB, login server, ...) then you should probably go back to 2Gb RAM max for GS.
Also, something that may help is to have scheduled restarts for the GS. This will reset the Java memory space (my small experience with L2J told me that an unused server running long enough will end up eating so much of it's allowed ram that you'll be in trouble (in my case, it was telnet not responding)... Long enough was several month (yes, I still haven't upgraded to Gracia Epilogue)
4Gb RAM -> GS, Login, OS, crond, httpd, mysqld, sendmail, ... 'you didn't tell if server is used only for GS or other services also)
And don't forget other softwares like the shell and so on...
If GS is the only L2J part running on your server, it's fine (1Gb for OS + Crond + MTU + ... should be enough)
If you've other services running (web server, DB, login server, ...) then you should probably go back to 2Gb RAM max for GS.
Also, something that may help is to have scheduled restarts for the GS. This will reset the Java memory space (my small experience with L2J told me that an unused server running long enough will end up eating so much of it's allowed ram that you'll be in trouble (in my case, it was telnet not responding)... Long enough was several month (yes, I still haven't upgraded to Gracia Epilogue)
- badboy29
- Posts: 417
- Joined: Fri Apr 24, 2009 5:34 am
- Location: Brazil
Re: [Info] JVM
Much cpu usage with this parameter.
With this one, the usage is much lower, but someone more experienced could tell which one is better?Mage wrote:java -server -Xmn1024m -Xms2048m -Xmx3072m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:PermSize=256m -XX:MaxPermSize=756m -XX:SurvivorRatio=16 -Xnoclassgc -XX:+AggressiveOpts
java -server -Xms768m -Xmx3g -Xmn256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DoEscapeAnalysis -XX:+UseCompressedOops -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts
Aka UnHoly