1.7.10 server best JVM settings?

i have tested a lot of settings and honestly lost on what to do as i can clearly see cpu usage is very low (25-30% on allocated cores, have 4 allocated as it seems to be giving best performance) and tps is like 4-6tps at best, lows less than 1 tps using custom hybrid forge server with openjvr9 as java
318 Replies
Admincraft Meta
Admincraft Meta9mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by abltraumthebigsergal#0
1-3-AbltraumTheSu-35-amine
actually.. somehow i managed to get it to do everything on single core and i can clearly see bottleneck now.. 1 core pinned to 100% and tps is 8 now. i would assume without upgrading system i am not getting more performance?
blobfish
blobfish9mo ago
why are you using openj9 (i assume openjvr9 is openj9) openj9 performs much worse on minecraft servers than normal openjdk
1-3-AbltraumTheSu-35-amine
in my case it is faster.. significantly so if i am wrong what even i should use then
blobfish
blobfish9mo ago
are you on a linux server?
1-3-AbltraumTheSu-35-amine
nope windows
blobfish
blobfish9mo ago
id probably just try like temurin jre 11 (or use jre 8 if 11 doesnt work with 1.7.10 idk i used to use 11 on 1.8.8) https://adoptium.net/en-GB/temurin/releases/?version=11&os=windows&arch=x64&package=jre and other than that id just use aikars flags i guess
1-3-AbltraumTheSu-35-amine
i use aikars flags slightly modified but mostly his flags oddly enough changing from xms10G to xms1G somehow gave me nearly 30% performance gain
Skullians
Skullians9mo ago
um what?
blobfish
blobfish9mo ago
if youre gonna try out temurin jre then switch back to default flags because i imagine thats just openj9 being cursed
Skullians
Skullians9mo ago
yeah openj9 is weird as hell
1-3-AbltraumTheSu-35-amine
i mean only 2.5gb ram usage is pretty insane for server than usually needs 5gb+ to run at decent speed also for some reason actually fix the cpu usage being all over the place
blobfish
blobfish9mo ago
openj9 does have better memory usage but its slower in general for minecraft servers
1-3-AbltraumTheSu-35-amine
by how much? approximately? as i seem to be bottlenecked by GC in most cases for some reason especially at higher ram usage
blobfish
blobfish9mo ago
i found this from some old tests on github
No description
Skullians
Skullians9mo ago
i mean You could try GraalVM CE 8
1-3-AbltraumTheSu-35-amine
chunkgen is not even bottleneck for me
blobfish
blobfish9mo ago
if hes gonna use graalvm atleast use EE no? (like isnt it faster)
1-3-AbltraumTheSu-35-amine
it is entity processing like tile entity
Skullians
Skullians9mo ago
i was told pauseless GC was actually merged into CE remove the entities send a spark report?
blobfish
blobfish9mo ago
im not sure but generally EE is supposed to have the biggest optimisations have you atleast tested with the jre i sent? atleast test it once first with normal aikar flags
1-3-AbltraumTheSu-35-amine
it takes 15 minutes to restart server..
blobfish
blobfish9mo ago
wha how what are you sure that isnt openj9 cursed moment that isnt normal
Skullians
Skullians9mo ago
what is your hardware that sounds like a fucked up JDK or some shitty hardware
1-3-AbltraumTheSu-35-amine
6700hq.
blobfish
blobfish9mo ago
laptop?
Skullians
Skullians9mo ago
what OS….
blobfish
blobfish9mo ago
windows
Skullians
Skullians9mo ago
GOD
1-3-AbltraumTheSu-35-amine
windows 10
Skullians
Skullians9mo ago
💀💀💀💀💀💀
blobfish
blobfish9mo ago
wait thats a good point is windows not eating like 90% of cpu
Skullians
Skullians9mo ago
i die a little bit inside every time i head that make a spark report
1-3-AbltraumTheSu-35-amine
like 5% or something working on it
blobfish
blobfish9mo ago
that just isnt true is it no actually tho youre not gonna be able to get anywhere without restarting your server atleast try using a normal jre
Skullians
Skullians9mo ago
fair, but EE is a hassle to get and CE has improved my performance greatly pauseless GC is the main need for me
blobfish
blobfish9mo ago
wait thats a thing is that in any hotspot based JREs
1-3-AbltraumTheSu-35-amine
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Skullians
Skullians9mo ago
only graal
Admincraft Meta
Admincraft Meta9mo ago
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Forge
Requested by abltraumthebigsergal#0
blobfish
blobfish9mo ago
is zgc good i know some people use it now ive never tried it
1-3-AbltraumTheSu-35-amine
also you know how to stop spam in console that something took a bit longer than it should have
blobfish
blobfish9mo ago
looks like either a JRE or hardware (or possibly OS if windows is eating everything) issue to me like nothing seems super abnormal except trash performance i dont know but at 5 tps that should NOT be your main issue
Skullians
Skullians9mo ago
there is a mod called LogBegone but I don’t think it goes down to your version I’ve heard it is
1-3-AbltraumTheSu-35-amine
so what do i do
blobfish
blobfish9mo ago
switch your JRE and take another spark report using normal aikar flags
1-3-AbltraumTheSu-35-amine
to which
blobfish
blobfish9mo ago
https://adoptium.net/en-GB/temurin/releases/?version=11&os=windows&arch=x64&package=jre you can switch from 11 to 8 if minecraft 1.7.10 doesnt support java 11 but i think its fine (not 100% sure)
Skullians
Skullians9mo ago
yeah 11 probably wouldn’t work
blobfish
blobfish9mo ago
i used to use it on minecraft 1.8.8 servers a lot and it worked fine and hes on windows so native transport with newer java versions wont be an issue
1-3-AbltraumTheSu-35-amine
got 8 version
blobfish
blobfish9mo ago
k
1-3-AbltraumTheSu-35-amine
last time it took 15min to boot, now like almost done probably something went wrong
blobfish
blobfish9mo ago
is it their default serial gc which is pauseless? i told u it is just cursed openj9
Skullians
Skullians9mo ago
I think so..?
1-3-AbltraumTheSu-35-amine
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta9mo ago
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Forge
Requested by abltraumthebigsergal#0
1-3-AbltraumTheSu-35-amine
no difference tps difference because last one ran for 3 hours also using much more ram like i said GC bottleneck
Skullians
Skullians9mo ago
you’re using a ton of swap which is slow as hell
1-3-AbltraumTheSu-35-amine
because ram is completely full anyway. going back i dont want to have 100% of ram
Skullians
Skullians9mo ago
Honestly, just use a free server host (mcho.st or fps.ms), or oracle cloud
1-3-AbltraumTheSu-35-amine
my modpack too custom
1-3-AbltraumTheSu-35-amine
also this is a thing. also free plans dont have sufficent ram/cpu
Skullians
Skullians9mo ago
are you using a VPN
Skullians
Skullians9mo ago
hmm honestly your only option is deal with the lag or go oracle cloud
1-3-AbltraumTheSu-35-amine
oracle is blocked.
1-3-AbltraumTheSu-35-amine
guess the country from 1 try
Skullians
Skullians9mo ago
I swear like the only country that is geoblocked by oracle is Russia
1-3-AbltraumTheSu-35-amine
true lol also fun fact actually ibm still has stuff in russia.
1-3-AbltraumTheSu-35-amine
oh yeah russia is not blocked it is important customer or something ibm has a lot of high end shit if honest i am a bit ibm shill lol but really they have VERY cool stuff anyway
SpaceCowPie
SpaceCowPie9mo ago
It isnt just slower in chunkgen, its pretty much everything, chunkgen is just the metric being used. only thing openj9 is good for is conserving ram which doesn't seem to be an issue for you
SpaceCowPie
SpaceCowPie9mo ago
this shows a comparison between openj9 and openjdk notice openjdk beats openj9 except resource-wise
Snowz
Snowz9mo ago
How are you measuring performance
SpaceCowPie
SpaceCowPie9mo ago
it makes sense considering openj9 is supposed to work with a lot less ram and too much ram is not good for gc
1-3-AbltraumTheSu-35-amine
basically i am keeping openj9 as it is much better for me
Snowz
Snowz9mo ago
.
1-3-AbltraumTheSu-35-amine
spark also just looking at tps
Snowz
Snowz9mo ago
Too many factors, needs to be controlled
QarthO
QarthO9mo ago
Funny guy… actually believes openj9 is better
SpaceCowPie
SpaceCowPie9mo ago
compared to what?
1-3-AbltraumTheSu-35-amine
in my case for whatever reason everything else just perfoms worse kek
SpaceCowPie
SpaceCowPie9mo ago
are you heavily constrained on ram?
1-3-AbltraumTheSu-35-amine
16gb is pretty constrained
SpaceCowPie
SpaceCowPie9mo ago
no that isn't 1-2 GB is barely constrained 16 GB is a lot what does "everything else" entail, like what JREs?
1-3-AbltraumTheSu-35-amine
-oracle JRE -whatever jre this dude recommended -couple more JREs that don't really perform better than oracle
SpaceCowPie
SpaceCowPie9mo ago
any openjdk? ah ok I see well one problem you have is you didnt set the xms and xmx to the same thing during testing the ram issue isnt caused by the java running but instead something else on your machine
1-3-AbltraumTheSu-35-amine
having xms set to 1g or 5g doesn't change anything for me
SpaceCowPie
SpaceCowPie9mo ago
xms and xmx need to be set to exactly the same value -Xms6G -Xmx6G- XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:MaxInlineLevel=15 -XX:MaxVectorSize=32 -XX:+UseCompressedOops -XX:ThreadPriorityPolicy=1 -XX:+UseDynamicNumberOfGCThreads -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=350M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseFPUForSpilling -XX:ConcGCThreads=2 -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:G1ConcRSHotCardLimit=16 try these flags
Skullians
Skullians9mo ago
remove AlwaysPreTouch
SpaceCowPie
SpaceCowPie9mo ago
you right they probably don't have large pages
QarthO
QarthO9mo ago
this isn't true
SpaceCowPie
SpaceCowPie9mo ago
wdym
QarthO
QarthO9mo ago
they do not need to be set to the same thing most mc hosts actually keep xms quite low
ProGamingDk
ProGamingDk9mo ago
tbf thats in the best interest of the host
SpaceCowPie
SpaceCowPie9mo ago
yea
ProGamingDk
ProGamingDk9mo ago
you dont need xms=xmx, but the reason most hosts dont do it is because its beneficial for them
SpaceCowPie
SpaceCowPie9mo ago
but you aren't using all your memory unless xms=xmx
ProGamingDk
ProGamingDk9mo ago
so? you... dont want to
QarthO
QarthO9mo ago
**allocating ur still not using it all if xms=xms
SpaceCowPie
SpaceCowPie9mo ago
why wouldnt you
QarthO
QarthO9mo ago
why would you?
ProGamingDk
ProGamingDk9mo ago
larger heap = larger pauses you get no real performance increase
QarthO
QarthO9mo ago
and if ur minecraft server is using 5gb, but you've set xms to 16gb, ur server still only uses 5gb
SpaceCowPie
SpaceCowPie9mo ago
so aikar and other are just wrong?
ProGamingDk
ProGamingDk9mo ago
well never understood why he said "unused ram is wasted ram" when it comes to minecraft because if you dont need it, dont allocate it in the first place just leads to longer pauses
QarthO
QarthO9mo ago
i've seen sources on both sides saying xms should or shouldnt = xmx and at the end of the day, both parties agree the difference is negligible someone shared a nice article here i think in #general a while back
SpaceCowPie
SpaceCowPie9mo ago
so g1 works worse with xms=xmx because he seems to be suggesting the opposite
ProGamingDk
ProGamingDk9mo ago
well thats how garbage collections works the more you have in hea heap the longer it takes to clean it out
SpaceCowPie
SpaceCowPie9mo ago
yes, but say a modpack recommends 8 GB of ram, should you not set xms and xmx both to 8gb? so that you are always using the amount of ram recommendes
QarthO
QarthO9mo ago
we're saying it doesnt matter, its not better or worse imo
Skullians
Skullians9mo ago
that's not how it works
QarthO
QarthO9mo ago
this is strictly for xms, not xmx
Skullians
Skullians9mo ago
yeah, the more things that go on, the more RAM the server will use in short not the most perfect explanation
SpaceCowPie
SpaceCowPie9mo ago
so if it does not matter, why is a change in performance even suggested ?
ProGamingDk
ProGamingDk9mo ago
theres like a 0.5% increase once
QarthO
QarthO9mo ago
once again, its one of those things that there are valid arguments for both sides, but in practice there hasnt been a noticible difference in performance for setting a lower or high heap size
ProGamingDk
ProGamingDk9mo ago
And a slower startup because instead of allocating while its doing other things (running your server) it does it at the start
SpaceCowPie
SpaceCowPie9mo ago
so theres a tradeoff, but still a slight performance improvement
ProGamingDk
ProGamingDk9mo ago
eh
QarthO
QarthO9mo ago
not necesarrily
SpaceCowPie
SpaceCowPie9mo ago
dzone.com
Setting Initial, Maximum Memory Size to Same Value - DZone
Setting the initial memory size the same as the maximum memory size has certain "cool" advantages. Let’s discuss them in this post.
SpaceCowPie
SpaceCowPie9mo ago
this is what ive seen as sited a lot for the reason behind setting xms and xmx the same
QarthO
QarthO9mo ago
bigger heaps generally mean longer pauses for the gc so if u got a bigger xms it could mean longer pauses but if u got lots of dynamic objects the jvm consistently changing the heapsize in run time can hurt ur performance. its a push and pull. u will find articles supporting both sides of the argument
SpaceCowPie
SpaceCowPie9mo ago
do you have one of the other side?
QarthO
QarthO9mo ago
and the end all be all, is the difference is neglible in minecraft
ProGamingDk
ProGamingDk9mo ago
also xms = xmx very much depends on the program itself
QarthO
QarthO9mo ago
^
ProGamingDk
ProGamingDk9mo ago
example
No description
QarthO
QarthO9mo ago
the setting exists because depending on the use case one might be better one might be worse
SpaceCowPie
SpaceCowPie9mo ago
but we are solely talking about minecraft
QarthO
QarthO9mo ago
exactly, so a generalized article doesnt have much meaning but this discussion kinda has no value here, if u want to set xms=xmx sure, go for it
QarthO
QarthO9mo ago
https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/sizing.html bascially every minecraft version, mod, plugin u add might have some funky objects in memory that can totally change what heap size is the most optimal
No description
SpaceCowPie
SpaceCowPie9mo ago
but it would explain the performance difference that people that test flags receive from it
QarthO
QarthO9mo ago
so u might get a .1% boost in performance or u might actually lose performance, but its pretty much agreed upon that it just isn't noticible
ProGamingDk
ProGamingDk9mo ago
i havent seen any proper benchmarks in mc when it comes to this also not with this specific setting the biggest benchmarking flag repo thing, used a not great testing method, and only client and 3 years or so old tests
QarthO
QarthO9mo ago
a big factor that no benchmark is testing is random plugins or mods u might have
SpaceCowPie
SpaceCowPie9mo ago
2 years, but why is the testing method not great?
ProGamingDk
ProGamingDk9mo ago
because it doesnt take into affect other processes afaik like background processes windows updates being windows updates minecraft being minecraft
SpaceCowPie
SpaceCowPie9mo ago
thats just an assumption though
ProGamingDk
ProGamingDk9mo ago
ok /shrug/
SpaceCowPie
SpaceCowPie9mo ago
im just more inclined to believe aikar, forge devs, etc when it comes to this
ProGamingDk
ProGamingDk9mo ago
ok, as we said you do you
QarthO
QarthO9mo ago
i dont think anyone here is saying u shouldnt have xms = xmx, all im saying that it doesnt really matter. right now u can go and run some tests 4 servers just the minimum flags to run a jar + - one where xms = xmx - one where xms != xmx aikar flags (+/- the xms=xmx) - one where xms = xmx - one where xms != xmx u will notice a big difference from the minimum vs the aikar flags however in both sets, u will not notice any difference between the xms/xmx equalling no one is saying AIKAR FLAGS ARE WRONG!!!!!
SpaceCowPie
SpaceCowPie9mo ago
I never said anyone said aikar's flags are wrong
humik58
humik589mo ago
@Cracker : ) this is your thing
Cracker
Cracker9mo ago
WHO pinged
humik58
humik589mo ago
are you blind i did smh
ProGamingDk
ProGamingDk9mo ago
well no
humik58
humik589mo ago
i mean, cracker's.. dealing with startup flags
1who¡ssus?
1who¡ssus?9mo ago
don't use j9 with forge or fabric it breaks 100% use adoptium jdk or graalvm ee as some stated
Cracker
Cracker9mo ago
Who are you again?
humik58
humik589mo ago
cracker..
ProGamingDk
ProGamingDk9mo ago
lmfao bro has dementia
humik58
humik589mo ago
hes trying to learn java he slept for 2 hours 🙏
1-3-AbltraumTheSu-35-amine
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta9mo ago
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Forge
Requested by abltraumthebigsergal#0
1-3-AbltraumTheSu-35-amine
better. not perfect but better
Skullians
Skullians9mo ago
a lot of the lag is GC and gregtech
Snowz
Snowz9mo ago
>windows 10 >shit cpu Modded not gonna run well Maybe paper fine
QarthO
QarthO9mo ago
>openj9
1who¡ssus?
1who¡ssus?9mo ago
Run this server on Ubuntu at least And no openj9
1-3-AbltraumTheSu-35-amine
openj9 perfoms better than anything i tried. also... if i were going to dedicated Minecraft server what would better for pure performance 12600k or 5600x? (both with HT off of course and same ddr4 3600mhz cl18 ram)
ihatehimsofuckingmuchUcantbeliev
hey. what link what site ddi you take these flags from? I wanna include them in my server starting script im on java8 on forge 1.7.10 server they dont work, i wanna link, read a bit more about it where you took them from?
Skullians
Skullians9mo ago
you can try https://flags.sh/ if you remove the —add modules flag
flags.sh
flags.sh
A simple script generator to start your Minecraft servers with optimal flags.
Skullians
Skullians9mo ago
Minecraft Flags Generator - Birdflop
A simple script generator to start your Minecraft servers with optimal flags. Birdflop is a registered 501(c)(3) nonprofit Minecraft host aiming to provide affordable and accessible hosting and resources. Check out our plans starting at $2/GB for some of the industry's fastest and cheapest servers, or use our free public resources.
Snowz
Snowz9mo ago
Use the paper one
ihatehimsofuckingmuchUcantbeliev
paper doesnt work with orespawn biomesoplenty chocolatequest etc
SpaceCowPie
SpaceCowPie9mo ago
GitHub
GitHub - Mukul1127/Minecraft-Performance-Flags-Benchmarks: Sane, Be...
Sane, Benchmarked Java Flags and Tweaks for Minecraft - Mukul1127/Minecraft-Performance-Flags-Benchmarks
ProGamingDk
ProGamingDk9mo ago
ah yes non tested flags again love em And again a fork of a repo with only clientsided test done etc
SpaceCowPie
SpaceCowPie9mo ago
so the creator just be lying? oh so untested on serverside the title be lying i guess!
ProGamingDk
ProGamingDk9mo ago
No description
ProGamingDk
ProGamingDk9mo ago
literally doesn't test his own flags
SpaceCowPie
SpaceCowPie9mo ago
guess they dont work
blobfish
blobfish9mo ago
what did you change to get a pauseless gc because like as far as i can see graalvm just has g1gc and zgc
blobfish
blobfish9mo ago
also isnt this graal EE https://www.graalvm.org/downloads/
Download GraalVM
GraalVM is an advanced JDK with ahead-of-time Native Image compilation.
blobfish
blobfish9mo ago
community just has releases on their github and EE got renamed to oracle graalvm yea its EE i guess EE doesnt need an email anymore
Snowz
Snowz9mo ago
EE and CE and just one no?
Skullians
Skullians9mo ago
I was informed EE’s pauseless gc feature was merged into CE
blobfish
blobfish9mo ago
yea but I can’t find anything about a pauseless gc in either ee or ce
1-3-AbltraumTheSu-35-amine
maybe i should just send my server files and have ya all actually test if performance i am getting is actually normal for my Minecraft world or not and maybe we will able to find explanation why openj9 performs so well for me because bottleneck is not chunks as it is usual for server but processing of chunks like 700+ tile entities
Snow Kit
Snow Kit9mo ago
Unsure if anyone else said this, but Java flags can’t fix gregtech using more than 50% of each tick No matter what you do, gc will run frequently because (in the last timings link), the process only had 2gb of memory assigned
1-3-AbltraumTheSu-35-amine
because it decided itself to have 2gb only forcing more ram wouldn't fix issue when like 2gb are actually used
Snow Kit
Snow Kit9mo ago
it was using more than 2gb of memory here
1-3-AbltraumTheSu-35-amine
yeah i will try again different java i was recommended nahh.. it doesn't even load properly and uses all ram awesome java version.. finding graavvm is tricky but i found it there is a java8 version but openj9 JUST works now Minecraft server barely runs.. it actually might be extreme memory bottleneck
blobfish
blobfish9mo ago
@1-3-AbltraumTheSu-35-amine this is why you shouldnt be using windows
No description
No description
1-3-AbltraumTheSu-35-amine
and if i have to?
Skullians
Skullians9mo ago
at this point use an oracle cloud free tier instance or a free host like mcho.st / fps.ms
blobfish
blobfish9mo ago
why are you forced to?
1-3-AbltraumTheSu-35-amine
it wouldn't even boot also they are banned
Skullians
Skullians9mo ago
oh yeah forgot about that
blobfish
blobfish9mo ago
if you cant remove windows from the laptop you could even like run a bootable linux usb with persistence (like ubuntu or something) (though avoid storing the minecraft server files in the USB persistence, store those on the main drive)
1-3-AbltraumTheSu-35-amine
not possible too. i will soon build new pc and will use linux there i doubt there is any performance difference between windows and Linux i wanna just main linux
blobfish
blobfish9mo ago
so whats taking up that extra 9.2 gb of ram
1-3-AbltraumTheSu-35-amine
Minecraft instance i am using to actually do stuff it is not dedicated Minecraft server
SpaceCowPie
SpaceCowPie9mo ago
thats just not correct
Cracker
Cracker9mo ago
1-3-AbltraumTheSu-35-amine
like.. how that even be
Skullians
Skullians9mo ago
linux is way lighter no bloatware
Cracker
Cracker9mo ago
Linux for performance is a huge difference Atleast I use it for my desktop
Skullians
Skullians9mo ago
linux server has no ui so no ui burder just ssh
Cracker
Cracker9mo ago
Minecraft starts up in about 1-3 seconds Vanilla On windows it took its sweet old time Just disclaimer don’t switch to Linux yet with a nvidia gpu U will regret
Snow Kit
Snow Kit9mo ago
windows server also has no ui if you install server core
Skullians
Skullians9mo ago
good point but windows
1-3-AbltraumTheSu-35-amine
so question 12600k with tuned ram or 5800x with tuned everything? 12600k as i could see could do around 1800 single core in r23 but thats on z chipset mobo and i can find only b chipset that were reasonably priced ryzen does 1600 in r23 but thats with 40 watts less it seems in java performance difference between is about ~10% and it is all core also ddr4 vs ddr5 that would add around 10% (java seems to like ram bandwidth a lot) no about nothing of difference but thats multi core.. not sure about single core
blobfish
blobfish9mo ago
id pick 5800x out of those because single core performance is probably similar and for multicore in the case of running multiple minecraft server instances, the ryzen one will be way better because it has 8 good cores instead of just 6 good cores (with 4 trash cores)
1-3-AbltraumTheSu-35-amine
hm and if i running 1 instance and using other part of cpu for something else
blobfish
blobfish9mo ago
tbh id still get the AMD one
1-3-AbltraumTheSu-35-amine
why is that? just curious
blobfish
blobfish9mo ago
because 8 vs 6 good cores
1-3-AbltraumTheSu-35-amine
so last... like couple days everyone screaming at me that 5800z is e waste wasn't true :upvote:
ihatehimsofuckingmuchUcantbeliev
-Xms6G -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:MaxInlineLevel=15 -XX:MaxVectorSize=32 -XX:+UseCompressedOops -XX:ThreadPriorityPolicy=1 -XX:+UseDynamicNumberOfGCThreads -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=350M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseFPUForSpilling -XX:ConcGCThreads=2 -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:G1ConcRSHotCardLimit=16
-Xms6G -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:MaxInlineLevel=15 -XX:MaxVectorSize=32 -XX:+UseCompressedOops -XX:ThreadPriorityPolicy=1 -XX:+UseDynamicNumberOfGCThreads -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=350M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseFPUForSpilling -XX:ConcGCThreads=2 -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:G1ConcRSHotCardLimit=16
why these flags dont work on my forve 1.7.10 jar java 8 and these work?
java -Xms6G -Xmx6G -Dterminal.jline=false -Dterminal.ansi=true -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui
java -Xms6G -Xmx6G -Dterminal.jline=false -Dterminal.ansi=true -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui
I cant work out why it doesnt work , how to check if theyre for pufferfish server only or somehyting?
Skullians
Skullians9mo ago
"it doesn't work" is not very useful what do you mean by "it doesn't work" send logs
ihatehimsofuckingmuchUcantbeliev
it cant start, it was something like a one liner
Skullians
Skullians9mo ago
that doesn’t help
ihatehimsofuckingmuchUcantbeliev
tomorow i will start the server up i dont wanna heat up the room before going sleep with this fx8350, it is too hot already where i live cya tomorw
1-3-AbltraumTheSu-35-amine
a big note is linux support as i know Linux alike windows have no fucking idea what to do with e cores (and probably never will) and in general it seems amd is just better for linux across board in terms of stability and performance especially with potential of intel cpu frying itself from mobo overvolting it ..
Skullians
Skullians9mo ago
try these
java -Xms6144M -Xmx6144M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar minecraft_server_1.17.10.jar --nogui
java -Xms6144M -Xmx6144M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar minecraft_server_1.17.10.jar --nogui
ihatehimsofuckingmuchUcantbeliev
i do have similar ones that are already working bro the second one
Skullians
Skullians9mo ago
then why are you changing them
ihatehimsofuckingmuchUcantbeliev
]i wanted to use these larger ones
Skullians
Skullians9mo ago
you're using java 8 they likely don't work
ihatehimsofuckingmuchUcantbeliev
how to check why im unable to use those larger flags
Skullians
Skullians9mo ago
nothing you can do about that
ihatehimsofuckingmuchUcantbeliev
okay,, java compat.
Skullians
Skullians9mo ago
what java are you using as in who from
ihatehimsofuckingmuchUcantbeliev
from alpine community repos
Skullians
Skullians9mo ago
have you tried temurin 8
ProGamingDk
ProGamingDk9mo ago
incubator one dont work on older javas and doesnt do anything unless you use pufferfish or a fork
Skullians
Skullians9mo ago
I forgot about removing that xd
ihatehimsofuckingmuchUcantbeliev
hey what is this graal vm btw? would i benefit from it here on alpine? i saw something on youtube , developer descibing something i didnt understood gonna look it up and try
Skullians
Skullians9mo ago
GraalVM is it’s own JDK GraalVM EE requires to to register an oracle account with a company
ihatehimsofuckingmuchUcantbeliev
okay, so a nono for me, and im not using jdk but jre which is lighter i think nvm im using a jdk :<
ihatehimsofuckingmuchUcantbeliev
without it starts just fine ^^ so graalvm will be better jdk than temurin8? i will first try temurin 8
Skullians
Skullians9mo ago
Assuming you can sign up for it actually nevermind Graalvm EE 8 doesn’t exist it’s 17+
humik58
humik589mo ago
Thanks.
Skullians
Skullians9mo ago
????
humik58
humik589mo ago
Ill steal it Wait thats java 8 Smh
Skullians
Skullians9mo ago
I took that from flags.sh and with the incubator flag that’s not java 8 kek that’s like 17+ how’s your geopol performance going @humik58
humik58
humik589mo ago
Outside of OOM crashes Its fine Had to remove ZGC
ProGamingDk
ProGamingDk9mo ago
not surprised
Skullians
Skullians9mo ago
dare you to get graalvm EE kek
ProGamingDk
ProGamingDk9mo ago
dont use zgc if you dont know exactly what your doing, or specifically have a issue on that part
humik58
humik589mo ago
But we dont have that many players atm, its definetly more stable in terms of playerbase but we overexpected a bit
Skullians
Skullians9mo ago
ah
humik58
humik589mo ago
That was crackers doing
ihatehimsofuckingmuchUcantbeliev
really neat thing
No description
humik58
humik589mo ago
All i know about is that its experimental, more intense but spread on all threads
Skullians
Skullians9mo ago
yup
humik58
humik589mo ago
And works better with more ram
ProGamingDk
ProGamingDk9mo ago
which you dont have
Skullians
Skullians9mo ago
:KEKW:
humik58
humik589mo ago
20 gigs dawg Plenty
ProGamingDk
ProGamingDk9mo ago
thats not "more ram" in the eyes of zgc
humik58
humik589mo ago
Zgc has no eyes
ProGamingDk
ProGamingDk9mo ago
also you arent allocating 20 gb
Skullians
Skullians9mo ago
if you’re allocating 20GB something is wrong with you
humik58
humik589mo ago
Na na 87% alloc rn
Skullians
Skullians9mo ago
GraalVM EE + pauseless gc :hehehe:
humik58
humik589mo ago
Funny thing. Cracker put me on graal But enterprise
Skullians
Skullians9mo ago
did you change your flags to actually use graalvm
humik58
humik589mo ago
Its java 17 rn Aikar
Cracker
Cracker9mo ago
Graalvm EE flags work now with the current Graalvm actually no need for oracle account
ihatehimsofuckingmuchUcantbeliev
The main issue is that Temurin 8 is not compatible with the musl libc used by Alpine Linux
ihatehimsofuckingmuchUcantbeliev
i discovered i can use newer java
Snowz
Snowz9mo ago
Asking ai?? 💀
blobfish
blobfish9mo ago
I thought you don’t need an account to download EE anymore like the normal one from the graalvm site is EE now and community one is only on their GitHub
Cracker
Cracker9mo ago
^
ihatehimsofuckingmuchUcantbeliev
yeah gc something btw i will try java 21 on the server then java 11 it might start someone told me but modded one might be problematic
Snow Kit
Snow Kit9mo ago
I thought minecraft threw errors on new versions of java because of encryption stuff being different? at least java 16+ I also would recommend against using musl based containers if you're concerned about performance. Musl has been known to perform worse than glib in multithreaded environment
1-3-AbltraumTheSu-35-amine
graalvm is most stable for me so my go-to java now also for java 8 you need to go github and look for older version at some point at you should see java 8 version also alpine Linux is fucking goated
blobfish
blobfish9mo ago
you can probably get the enterprise version (faster) from https://www.oracle.com/downloads/graalvm-downloads.html (the graalvm enterprise 21 lts tab)
1-3-AbltraumTheSu-35-amine
can you get direct file for me? oracle is blocked in my country
blobfish
blobfish9mo ago
no it requires (free) account cant you use a vpn?
1-3-AbltraumTheSu-35-amine
vpn wouldn't work unfortunately so can you help? since to register you need phone number graalvm is quirky..
Skullians
Skullians6mo ago
!spark
Carl-bot
Carl-bot6mo ago
Spark Profiler
Spark can be used to see why your server or client is lagging. Users can share a spark report via /spark profiler start --timeout 300 which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support. Download | Website | Docs
From An unknown user
Admincraft Canned Responses
Skullians
Skullians6mo ago
If you’re experiencing lag Download spark and follow the command mentioned here
1-3-AbltraumTheSu-35-amine
a oh finally hell well have to wait till i get home i will need to experiment with it and find the server too.. it is somewhere
Mortis
Mortis6mo ago
i mean not going to lie why do you need performance on a < 1.8 server?
1-3-AbltraumTheSu-35-amine
mods i dearly love
Mortis
Mortis6mo ago
host specs?
1-3-AbltraumTheSu-35-amine
i7 6700hq gtx 960m 16gb ddr4 2400mhz cl17
Mortis
Mortis6mo ago
how much ram do u like allocate
1-3-AbltraumTheSu-35-amine
10gb. above 6 no performance gain
Mortis
Mortis6mo ago
I wonder if its slighlty because of windows and the jdk also the fact you're on 1.7.10
1-3-AbltraumTheSu-35-amine
i had opportunity to test on much faster cpu performance scales about linearly so having better hardware will not do much but performance shouldn't be bad.
Mortis
Mortis6mo ago
Do you still need the graalvm jars lol
1-3-AbltraumTheSu-35-amine
graalvm doesn't give more performance.
Skullians
Skullians6mo ago
I’ve had perf boosts with graal but I guess it depends
1-3-AbltraumTheSu-35-amine
my theory it is a bug in my jar
Skullians
Skullians6mo ago
possibly Doubt it
1-3-AbltraumTheSu-35-amine
or recursion bug somewhere that is just impossible i get tps of 4
Skullians
Skullians6mo ago
send a spark
Desolate Intention
can i steal this thread? how the hell do i install graalvm their documentation doesnt explain anything im completely lost
Skullians
Skullians6mo ago
GraalVM
GraalVM is an advanced JDK with ahead-of-time Native Image compilation.
Desolate Intention
oh
No description
Desolate Intention
i swear this wasnt here the last time i tried installing it thanks
Skullians
Skullians6mo ago
xd np
Desolate Intention
im serious i kept reading the installation guide over and over again because it skimmed over the installation in like two sentences without explaining anything weird
Snowz
Snowz6mo ago
or you can use sdkman
Skullians
Skullians6mo ago
that too

Did you find this page helpful?