Hello again! I will be posting here in offtopic since this does not seem to fit the others forums. Did you guys of skcraft tried turning on linux realtime capabilities ( man limits.conf , linux 1o1 every sysop thats call himself that should know this and ulimits ), when I had my own server I could feel the difference in performance ( better performances ). So lets talk about /etc/security/limits.conf, this is the file where you can set various things, from how many processes per system users ( to prevent forkbombs if you are giving free shells but thats not your case I suppose, a forkbomb can also be installed by a compromised webserver you know... ), how much memory per process and nice things like that. In this file you can also turn on linux realtime capabilities, to do so type in something like this and add the user running your process to the realtime group: Code: @realtime - rtprio 99 @realtime - memlock unlimited But BEWARE this will give free unlimited locking memory to the processes running within the group realtime, that means if your user MrX in group realtime running the java process will always be able to lock memory pages and those pages will not be unlocked for other processes needing it, on one side, if you only have the java process on the server and you already isolated memory either with jvm options or cpuset/cgroups this will ensure no other processes wil try to take over memory of the java process by making the java process swapping ( dropping stuff in swap ), for example GnuPG use mlock to not drop sensible data in swap space...if you know what I mean...please do not do this to a unrestricted java process or you'll probably forkbomb your server ( did that my self back in the days xD ). Also beware that using this method does not mean you don't need to restart the process every couple of days... And for another question, are you using Hugepages memory or not? Take your time to read this article, think about it and if you give it a shot keep me informed. Back in the days I used it for a java application of some clients of the company I worked for and I could really feel the performance change. Ciao belli! Spoiler I'm still waiting for the mod that banned me from forum to do a friendly pvp
There are other things running on the system, and given the amount of sometimes un-stable 3rd-party code that we have on the server, it's probably not best to give the server realtime access. I don't recall if I ever got around to enabling hugepages.