Really low tps

spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
37 Replies
Admincraft Meta
Admincraft Metaβ€’8mo 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 raptorcroissant#0
Admincraft Meta
Admincraft Metaβ€’8mo ago
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❓INFO
You are using Paper-450 (1.20.4). Latest currently is 1.20.6.
❌ Aikar's Flags
❌ ticks-per.monster-spawns
Increase this in bukkit.yml. Recommended: 4.
❌ spawn-limits.monsters
Decrease this in bukkit.yml. Recommended: 15.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml. Recommended: 5.
❌ spawn-limits.ambient
Decrease this in bukkit.yml. Recommended: 1.
❌ spawn-limits.animals
Decrease this in bukkit.yml. Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml. Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml. Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml. Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml. Recommended: 12.
❌ entity-activation-range.villagers
Decrease this in spigot.yml. Recommended: 16.
Plus 35 more recommendations
Click the buttons below to see more
Requested by raptorcroissant#0 β€’ Page 1 of 4
Skullians
Skulliansβ€’8mo ago
- don't use citizens, use ZNPCSPlus - use aikar flags - you have 638 item frames you might want to solve - your view & sim distance is too high, 8 view 6 sim max passive mobs are taking up a decent chunk of the server thread
RaptorCroissant πŸ₯β„’
how can I do so? oh alr alr
Skullians
Skulliansβ€’8mo ago
you know how to read a spark profiler to see entity counts & locations?
RaptorCroissant πŸ₯β„’
I kinda got it already set up. I'll do this the lastest thing of all not really, got it like a week ago
Skullians
Skulliansβ€’8mo ago
:ThumbsUp: (iirc znpcsplus has a migrator for citizens) - open the spark profiler - at the top click the "i" information button - in the box that comes up, click the World Tab on the left is the world list with entity counts, and the top entity counts across all worlds
Discount Milk
Discount Milkβ€’8mo ago
Looks like too many entities and worlds for your CPU to handle
Harrison
Harrisonβ€’8mo ago
Ya znpcsplus way better
Skullians
Skulliansβ€’8mo ago
on the right you can go through the regions and see where entities are
RaptorCroissant πŸ₯β„’
I'm here
Skullians
Skulliansβ€’8mo ago
in this instance there is 528 item frames in the first region
No description
Skullians
Skulliansβ€’8mo ago
the "Chunks" is the CHUNK COORDINATES of the entities (highest to lowest entity count order)
RaptorCroissant πŸ₯β„’
damn I see I see
Skullians
Skulliansβ€’8mo ago
multiply these coords by 16 to get real world coords
RaptorCroissant πŸ₯β„’
Is there an easy way of limiting the entities per chunks?
Skullians
Skulliansβ€’8mo ago
then you can go how you want to go about telling players to yeet those item frames
RaptorCroissant πŸ₯β„’
will notify them, but how to limit them
Skullians
Skulliansβ€’8mo ago
!optimise
Carl-bot
Carl-botβ€’8mo ago
You can follow these guides to optimize your server
Admincraft Canned Responses
RaptorCroissant πŸ₯β„’
um probably this is the reason on why such a low tps
No description
RaptorCroissant πŸ₯β„’
xD adding rose stacker will fix that? btw this is my current startup java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}
Harrison
Harrisonβ€’8mo ago
Could be!
RaptorCroissant πŸ₯β„’
how would this look but with the aikar flags? I don't understand what to change I mean, I don't have any XmX in mine so idk what the value should be https://www.spigotmc.org/resources/znpcs.80940/ this one?
Harrison
Harrisonβ€’8mo ago
No Plus
RaptorCroissant πŸ₯β„’
oh it doesn't support 1.20.6 yet so :Sad_cat: https://www.spigotmc.org/resources/znpcsplus.109380/
RaptorCroissant πŸ₯β„’
java -Xms128M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -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 -jar server.jar nogui Would it look like thiss? thankss :Heart5:
ProGamingDk
ProGamingDkβ€’8mo ago
you kinda dont have memory flags here you arent setting xmx
RaptorCroissant πŸ₯β„’
I didn't have it on my current one so idk what to set it to :Sad_cat: Anyone? :P
ProGamingDk
ProGamingDkβ€’8mo ago
it looks fine other than^^
Skullians
Skulliansβ€’8mo ago
don't use alwayspretouch
RaptorCroissant πŸ₯β„’
what does that do?
Skullians
Skulliansβ€’8mo ago
it preallocates all the memory
RaptorCroissant πŸ₯β„’
oh Thankss :Heart5: I can't find it inside the plugin, is there a wiki to follow to migrate it?
Skullians
Skulliansβ€’8mo ago
GitHub
Converting
A Spigot plugin for creating interactable fake entities - Pyrbu/ZNPCsPlus

Did you find this page helpful?