wongerlt Posted November 17, 2016 Posted November 17, 2016 Hello, Im using aCis. Now example when i click on ground i need to wait maybe 0.4~0.5 sec. when start run where i click.. And with all actions same situation. Im tested on vps and on local pc where ping [0], on vps ping maybe ~60-100. How i can increase it, that work faster? Thanks ;)
0 Tryskell Posted November 18, 2016 Posted November 18, 2016 (edited) If you terribly configured your server, the GC can potentially burn your ressources. Using vanilla aCis, and since aCis exist, what you refer never happened on my own setup, even during the middle of any revision. The only known "lag" is the GC while STW action, and the behavior is amplified if you raised settings or is still using the vanilla GC type. Next revision of aCis is already setted to use CMS GC to avoid those lag spikes (and I hope G1GC will be improved on next Java revision). But it got nothing to do with permalag - it's more like a one second lag every 10min where absolutely everything freezes - until your GC empty itself every second, which means you fucked up hard on something. About STW effect : http://stackoverflow.com/questions/16695874/why-does-the-jvm-full-gc-need-to-stop-the-world Use VisualVM to see how your server reacts, to exclude (or confirm) GC issues out of the list of possible troubles. Edited November 18, 2016 by Tryskell
0 Tryskell Posted November 17, 2016 Posted November 17, 2016 Your server got latency, nothing related to serverpack. If you are alone on your server and you don't keep pressing keys, that's not even floodprotectors.
0 AccessDenied Posted November 17, 2016 Posted November 17, 2016 (edited) Hello, Im using aCis. Now example when i click on ground i need to wait maybe 0.4~0.5 sec. when start run where i click.. And with all actions same situation. Im tested on vps and on local pc where ping [0], on vps ping maybe ~60-100. How i can increase it, that work faster? Thanks ;) You said it on your own, you tested it on a VPS. (Virtual Machine) not a dedicated server. Thats why VPS's price has a range of 15-20 euro while dedicated 50-60+ Cause the same pc is being shared by others. Afcourse you gonna have latency and delay. What you expect? To have 0.001% delay in a 15e VPS? Also if your pack had problem it would had delay in Localhost also. So.. Edited November 17, 2016 by AccessDenied
0 xxdem Posted November 17, 2016 Posted November 17, 2016 packet.setSpeed(0); //set latency What you expect? To have 0.001% delay in a 15e VPS? Also if your pack had problem it would had delay in Localhost also. So.. Forum's clown, zero knowledge
0 AccessDenied Posted November 17, 2016 Posted November 17, 2016 (edited) packet.setSpeed(0); //set latency Forum's clown, zero knowledge Pathetic what you just wrote.. but go ahead entertain me. Even elfo make fun of you in programming ROFL. You try too hard but we are in 2k16 you lost ur leadership. RIP and cya Edited November 17, 2016 by AccessDenied
0 wongerlt Posted November 18, 2016 Author Posted November 18, 2016 (edited) i say same situation on vps and on local pc, same delay.. Edited November 18, 2016 by wongerlt
0 Red-Hair-Shanks Posted November 18, 2016 Posted November 18, 2016 packet.setSpeed(0); //set latency Forum's clown, zero knowledge Pathetic what you just wrote.. but go ahead entertain me. Even elfo make fun of you in programming ROFL. You try too hard but we are in 2k16 you lost ur leadership. RIP and cya edw uparxei enas erwtas megaloosss
0 Reborn12 Posted November 18, 2016 Posted November 18, 2016 i say same situation on vps and on local pc, same delay.. Cpu is getting to much or maybe ram is low
0 wongerlt Posted November 18, 2016 Author Posted November 18, 2016 /** MMO settings */ public static int MMO_SELECTOR_SLEEP_TIME = 20; // default 20 public static int MMO_MAX_SEND_PER_PASS = 22; // default 12 public static int MMO_MAX_READ_PER_PASS = 22; // default 12 public static int MMO_HELPER_BUFFER_COUNT = 20; // default 20 MMOCORE sleep Is good?
0 Versus Posted November 19, 2016 Posted November 19, 2016 /** MMO settings */ public static int MMO_SELECTOR_SLEEP_TIME = 20; // default 20 public static int MMO_MAX_SEND_PER_PASS = 22; // default 12 public static int MMO_MAX_READ_PER_PASS = 22; // default 12 public static int MMO_HELPER_BUFFER_COUNT = 20; // default 20 Is good? Just keep these configs on default and use CMS GC like Tryskell recommended. To do that, add this -XX:+UseConcMarkSweepGC to your gameserver startup parameters.
0 Red-Hair-Shanks Posted November 19, 2016 Posted November 19, 2016 java -XX:+UseConcMarkSweepGC -Xmx4G -cp ./libs/*; net.sf.l2j.gameserver.GameServer
0 wongerlt Posted November 19, 2016 Author Posted November 19, 2016 thanks all for help :) its working
Question
wongerlt
Hello,
Im using aCis.
Now example when i click on ground i need to wait maybe 0.4~0.5 sec. when start run where i click.. And with all actions same situation.
Im tested on vps and on local pc where ping [0], on vps ping maybe ~60-100.
How i can increase it, that work faster?
Thanks ;)
14 answers to this question
Recommended Posts