{"id":3938,"date":"2026-11-29T15:30:00","date_gmt":"2026-11-29T15:30:00","guid":{"rendered":"https:\/\/vpslake.com\/blog\/?p=3938"},"modified":"2026-11-29T15:30:00","modified_gmt":"2026-11-29T15:30:00","slug":"minecraft-server-lag-fix","status":"publish","type":"post","link":"https:\/\/vpslake.com\/blog\/2026\/11\/29\/minecraft-server-lag-fix\/","title":{"rendered":"Minecraft Server Lag: Diagnose TPS, Ping, and FPS"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Minecraft server lag is easier to fix when you identify whether the problem is client FPS, network ping, or server TPS first. This guide shows you how to measure the right metric, profile the server with spark, apply low-risk configuration changes, and decide when more CPU or RAM will actually help.<\/p>\n\n\n\n<aside class=\"ap-card\" aria-label=\"Buffalo Linux VPS 8 GB (Basic KVM 8)\">\n<span class=\"ap-card__badge\">Best for Minecraft<\/span>\n<div class=\"ap-card__body\"><p class=\"ap-card__name\">Buffalo Linux VPS 8 GB (Basic KVM 8)<\/p><p class=\"ap-card__best\">Best for minecraft with mods, several apps, CI runners<\/p><ul class=\"ap-card__features\"><li>4 vCPU Intel Xeon E5-2699 v4, 8 GB reserved RAM<\/li><li>100 GB SSD (RAID 1), 5 TB traffic on a 300 Mbps port<\/li><li>1 dedicated IPv4, full root, KVM<\/li><li>Debian 12, Ubuntu 24.04, AlmaLinux 9 or Rocky Linux 9<\/li><li>Buffalo, New York (US East Coast, near Toronto\/NYC)<\/li><li>Pay by crypto, UPI or card<\/li><\/ul><\/div>\n<div class=\"ap-card__side\"><p class=\"ap-card__price\">$16.99\/mo <small>USD monthly<\/small><\/p><a class=\"ap-card__btn\" href=\"https:\/\/vpslake.com\/buy-vps\">Order now \u2192<\/a><\/div>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">What you need<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You need console or operator access, a recent backup of <code>server.properties<\/code> and your world, and a way to reproduce the problem. If you run Paper, spark is bundled from Paper 1.21 onward; otherwise, install a compatible spark plugin or mod from the spark project.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Record the loader, player count, location, and player action that trigger the lag. That context makes a profile more useful than a quiet-server snapshot.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Identify which kind of lag players mean<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: FPS, ping, and TPS have different causes, so changing server settings cannot fix every symptom.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ask two questions: does everyone feel it, and what exactly happens in the game?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li><strong>Client FPS:<\/strong> One player sees a choppy picture, especially in single-player or only near a visually busy build. Check the FPS counter with <code>F3<\/code> on Java Edition. Lower that player\u2019s render distance, particles, or shaders; do not start by changing the server\u2019s tick settings.<\/li>\n\n\n<li><strong>Network ping:<\/strong> One or a few players rubber-band, take delayed hits, or see delayed block updates while other players are fine. Check their connection and route to the server. Moving the server settings will not repair a congested Wi-Fi link or a long route.<\/li>\n\n\n<li><strong>Server TPS:<\/strong> Everyone sees mobs freeze, delayed redstone, blocks reappear, or several actions happen at once after a pause. This is the server failing to complete its game ticks on time.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If every player is affected, continue below. If only one player is affected, test that player\u2019s FPS and ping before resizing the VPS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Measure TPS, MSPT, and ping<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: a number gives you a baseline and prevents a harmless memory spike or a player\u2019s Wi-Fi problem from sending you in the wrong direction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the server console, or in game with the required permission, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/spark tps\n\/spark ping<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">TPS is ticks per second. A healthy server targets 20 TPS. MSPT is milliseconds per tick; each tick has a 50 ms budget at 20 TPS, so sustained MSPT above 50 means the server cannot keep up. The <a href=\"https:\/\/spark.lucko.me\/docs\/guides\/TPS-and-MSPT\" target=\"_blank\" rel=\"noopener\">spark TPS and MSPT documentation<\/a> explains the min, median, maximum, and 95th-percentile values shown by the command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use <code>\/spark ping --player PlayerName<\/code> when one person reports delay. If TPS is near 20 and that player\u2019s ping is high, investigate their connection or route rather than increasing RAM.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Capture the lag while it is happening<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: a profile taken during normal play can hide a five-second spike inside an average, while a profile taken during the spike can show the responsible plugin, entity system, or chunk work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start a five-minute profile when players can reproduce the problem:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/spark profiler start --timeout 300<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">When the lag event happens, let the timeout finish or stop it manually:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/spark profiler stop<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Open the returned URL. Start at the <strong>Server thread<\/strong>, then expand the largest time percentages under the tick loop. The <a href=\"https:\/\/spark.lucko.me\/docs\/Using-the-viewer\" target=\"_blank\" rel=\"noopener\">spark viewer guide<\/a> also provides a Sources view for checking plugins or mods.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a short, severe spike, first enable a monitor and then capture only slow ticks:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/spark tickmonitor --threshold-tick 50\n\/spark profiler start --only-ticks-over 100 --timeout 300<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first command reports ticks over 50 ms. The second filters out normal ticks and records only ticks over 100 ms. Choose the second threshold from what you observed; if your spikes are 300 ms, a 100\u2013150 ms filter is more useful than a 300 ms filter that may exclude borderline samples. Stop the monitor after testing by running <code>\/spark tickmonitor<\/code> again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Apply the smallest configuration fix<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: lowering the work done per tick is usually safer and cheaper than blindly adding memory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Back up <code>server.properties<\/code>, change one value, restart the server, and measure again. Start with these two settings:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>view-distance=8\nsimulation-distance=6<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>view-distance<\/code> controls how much world data the server sends to a client. <code>simulation-distance<\/code> controls how far entities are updated around players. The <a href=\"https:\/\/docs.papermc.io\/paper\/reference\/server-properties\/\" target=\"_blank\" rel=\"noopener\">Paper server-properties reference<\/a> documents both settings and their chunk-radius behavior.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use lower values when players explore quickly, generate new terrain, or spread across many areas. Keep them higher when long-distance visibility is central to the server and the profile shows that chunk work is not the bottleneck. There is no universal \u201cbest\u201d number; the right value is the highest one that keeps your measured MSPT within budget.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">World generation can spike when players enter unexplored terrain. Pre-generate the main play area with a version-compatible tool, then test exploration again during a quiet window.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Find plugins, mods, entities, and chunks causing the load<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: the profile tells you what is consuming tick time, while a plugin list alone only tells you what might be responsible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the profile\u2019s Sources view and look for these patterns:<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Profile pattern<\/th><th>Likely area to inspect<\/th><th>First action<\/th><\/tr><\/thead><tbody><tr><td>One plugin or mod dominates<\/td><td>A scheduled task, event listener, or repeating scan<\/td><td>Update it, review its task settings, then test with it disabled during a maintenance window<\/td><\/tr><tr><td><code>tickEntities<\/code> is large<\/td><td>Mob farms, item piles, villagers, minecarts, or loaded entities<\/td><td>Remove accidental piles, reduce unnecessary farms, and check entity-heavy chunks<\/td><\/tr><tr><td>World or chunk ticking dominates<\/td><td>Exploration, high distances, redstone, or a large loaded area<\/td><td>Lower distances, pre-generate safely, and inspect the busiest dimensions<\/td><\/tr><tr><td>Allocation or garbage collection appears during spikes<\/td><td>Heap pressure or an allocation-heavy plugin<\/td><td>Check memory with <code>spark health show --memory<\/code>, then inspect the relevant source<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Change one thing, repeat the same action, and compare TPS, MSPT, and the new profile. This keeps the test reversible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/vpslake.com\/blog\/wp-content\/uploads\/2026\/11\/minecraft-server-lag-fix-1.webp\" alt=\"Buffalo Linux VPS pricing table for comparing RAM, CPU, storage, and traffic when sizing a Minecraft server\"\/><figcaption class=\"wp-element-caption\">Buffalo Linux VPS pricing table for comparing RAM, CPU, storage, and traffic when sizing a Minecraft server<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Upgrade only when the measurements justify it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: RAM helps when the JVM is constrained, while tick-heavy worlds often need faster single-thread compute; buying more of the wrong resource leaves the cause untouched.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Upgrade when the profile and health report show a repeatable resource ceiling after configuration and plugin checks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li><strong>Memory pressure:<\/strong> The server approaches its memory limit, garbage collection is frequent, or the process is killed for lack of memory. Move to more RAM and leave headroom for the operating system; do not allocate every available gigabyte to Java.<\/li>\n\n\n<li><strong>Main-thread CPU pressure:<\/strong> MSPT rises during entity, chunk, redstone, or plugin work while memory is comfortable. A plan with stronger per-core performance and more available CPU is more relevant than RAM alone. Paper notes that the main tick loop can limit the benefit of simply adding more cores.<\/li>\n\n\n<li><strong>Several workloads together:<\/strong> A busy server may need more CPU and RAM because the game, plugins, backups, and monitoring share the same machine. Confirm that the profile shows this combined load before resizing.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For a self-hosted server, VPSLake\u2019s Buffalo Linux plans give you full root access and a dedicated IPv4. The 4 GB plan is $9.99\/mo, the 8 GB plan is $16.99\/mo, and the 16 GB plan is $29.99\/mo. The 8 GB plan has 4 vCPUs, 100 GB SSD storage, 5 TB traffic, and a 300 Mbps port. See the <a href=\"https:\/\/vpslake.com\/buy-buffalo-vps\">Buffalo Linux VPS plans<\/a> for the current table.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a large network with several game processes, databases, or proxy services, compare the available <a href=\"https:\/\/vpslake.com\/buy-dedicated-servers\">dedicated server options<\/a> instead of forcing every workload onto one small VPS. This is a self-hosted setup, so you retain responsibility for the server software, updates, backups, and configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verify the fix<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: a server that feels better for five minutes may still fail when players explore, join, or activate farms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Repeat the same test before and after the change:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Reproduce the same location, player count, command, farm, or travel route.<\/li>\n\n\n<li>Record <code>\/spark tps<\/code>, the MSPT values, player ping, and the server\u2019s memory state.<\/li>\n\n\n<li>Check whether the same profile branch remains dominant.<\/li>\n\n\n<li>Test an unexplored area and the busiest dimension, not only the quiet spawn area.<\/li>\n\n\n<li>Keep the change only if it improves the target symptom without causing a gameplay problem.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">A useful result is stable TPS near 20, MSPT within the 50 ms budget during normal activity, and fewer or shorter spikes during the original event.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting common Minecraft server lag cases<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TPS is 20, but players still rubber-band.<\/strong> Check per-player ping and packet loss. If only one region or player group is affected, compare routes and try a nearby server location; do not keep changing entity settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MSPT is high only while exploring.<\/strong> Lower <code>view-distance<\/code> temporarily, reduce <code>simulation-distance<\/code> if entity ticking is involved, and pre-generate the area during a quiet maintenance window. Then profile exploration again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The profile shows a plugin, but the plugin author says it is fine.<\/strong> Reproduce the issue with the plugin disabled in a test copy or maintenance window. Save both reports and share the spark URL with the author.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>More RAM did not raise TPS.<\/strong> That is expected when the profile points to the main server thread, a plugin task, entities, redstone, or chunk generation. Revert unnecessary memory changes and fix the dominant profile branch instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The server freezes during a large save or backup.<\/strong> Check disk and save-related activity in the health report and logs. Schedule heavy maintenance away from peak play, then measure the same save operation again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between Minecraft TPS and ping?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">TPS describes how quickly the server processes game ticks, while ping describes the round-trip delay between a player and the server. Low TPS affects many players and causes delayed game simulation; high ping can affect one player even when the server remains at 20 TPS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is 20 TPS always enough to prevent Minecraft server lag?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">20 TPS is the target, but it does not prove that every player has a good connection or a fast client. Check MSPT, the 95th percentile, per-player ping, and the actual symptom instead of relying on one average number.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I use spark to find Minecraft server lag?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run <code>\/spark profiler start --timeout 300<\/code> while the lag is happening, then inspect the returned report and start with the Server thread. For brief spikes, use <code>tickmonitor<\/code> first and filter with <code>\/spark profiler start --only-ticks-over 100 --timeout 300<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does increasing RAM fix low Minecraft server TPS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">It fixes low TPS only when memory pressure or garbage collection is the cause. If spark shows entity ticking, chunk generation, redstone, or a plugin task using the tick time, reduce that workload or choose a VPS with stronger per-core CPU performance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How much RAM does a Minecraft server need?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The answer depends on players, world size, loader, mods, plugins, and other services on the machine. Use the <a href=\"https:\/\/vpslake.com\/blog\/2026\/10\/27\/how-much-ram-minecraft-server\/\">Minecraft server RAM sizing guide<\/a> as a starting point, then confirm the choice with spark health data from your real workload.<\/p>\n\n\n\n<aside class=\"ap-cta\" aria-label=\"Run Minecraft on your own VPS\"><div class=\"ap-cta__content\"><p class=\"ap-cta__eyebrow\">Fix the bottleneck<\/p><p class=\"ap-cta__title\">Run Minecraft on your own VPS<\/p><p class=\"ap-cta__text\">Get reserved RAM, full root access, and a Buffalo US location for a self-hosted server.<\/p><\/div><a class=\"ap-cta__btn\" href=\"https:\/\/vpslake.com\/buy-buffalo-vps\">View Buffalo VPS plans<\/a><\/aside>\n\n\n\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"What is the difference between Minecraft TPS and ping?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"TPS describes how quickly the server processes game ticks, while ping describes the round-trip delay between a player and the server. Low TPS affects many players and causes delayed game simulation; high ping can affect one player even when the server remains at 20 TPS.\"}}, {\"@type\": \"Question\", \"name\": \"Is 20 TPS always enough to prevent Minecraft server lag?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"20 TPS is the target, but it does not prove that every player has a good connection or a fast client. Check MSPT, the 95th percentile, per-player ping, and the actual symptom instead of relying on one average number.\"}}, {\"@type\": \"Question\", \"name\": \"How do I use spark to find Minecraft server lag?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Run \/spark profiler start --timeout 300 while the lag is happening, then inspect the returned report and start with the Server thread. For brief spikes, use tickmonitor first and filter with \/spark profiler start --only-ticks-over 100 --timeout 300.\"}}, {\"@type\": \"Question\", \"name\": \"Does increasing RAM fix low Minecraft server TPS?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It fixes low TPS only when memory pressure or garbage collection is the cause. If spark shows entity ticking, chunk generation, redstone, or a plugin task using the tick time, reduce that workload or choose a VPS with stronger per-core CPU performance.\"}}, {\"@type\": \"Question\", \"name\": \"How much RAM does a Minecraft server need?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The answer depends on players, world size, loader, mods, plugins, and other services on the machine. Use the Minecraft server RAM sizing guide as a starting point, then confirm the choice with spark health data from your real workload.\"}}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"Fix minecraft server lag by separating FPS, ping, and TPS, reading MSPT, using spark, tuning view distance, and choosing the right VPS size.","protected":false},"author":1,"featured_media":3939,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[29],"tags":[924,925,927,333,926],"class_list":["post-3938","post","type-post","status-publish","format-standard","has-post-thumbnail","category-game-servers","tag-minecraft-server-lag","tag-minecraft-tps","tag-minecraft-vps","tag-server-performance","tag-spark-profiler","cs-entry"],"_links":{"self":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/3938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/comments?post=3938"}],"version-history":[{"count":1,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/3938\/revisions"}],"predecessor-version":[{"id":4269,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/3938\/revisions\/4269"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/media\/3939"}],"wp:attachment":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/media?parent=3938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/categories?post=3938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/tags?post=3938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}