Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    How to solve lag problems?


    Charles
     Share

    Recommended Posts

    When the CPU usage is about 100% or more

     

     

    In our experience, excessive use of the processor is the main cause of the offset. To maintain the best performance, try to keep your CPU usage below 100%. There are many different reasons for increased CPU usage. Mods, plugins and global entities are the most common culprits.

     

    If you're wondering if you can access more processor resources, the answer is "no". Since the Minecraft server is dependent on the performance of a core, we use the latest Intel i7 processors at more than 4.2 / 5.0 GHz and do not impose any strict limits on your usage. We also monitor our machines 24 hours a day to make sure you can always use at least one heart. As we are already giving you the best, the best way to identify the cause of CPU usage problems is to troubleshoot the game. A server that uses too much CPU probably has one of the problems below.

     

    Exploration consumes CPU

     

     

    When you start a server for the first time, you may notice that some lag occurs immediately as players explore. The world is divided into regions, which are divided into pieces, which contain a 16x16 block area. Whenever you see a new song, it is generated by Minecraft.

     

    Song generation takes CPU. It is very common that this causes a shift on your server every time someone explores the world. There is no alternative but to wait for the delay to disappear once generation is complete.

     

    If you play Minecraft with the Forge modulator, there is a mod that can help mitigate the block generation problem by silently and automatically generating blocks before you crawl, without using as much CPU time. His name is Chunk Pregenerator. Try adding this to your server to see if it helps players who are exploring.

     

    Game version or modpack too old

     

    Using too old a version of the game or a modpack contributes to the various dysfunctions that they can generate.

     

    Mods consume CPU

     

     

    If you are using a modded server, some mods may cause increased CPU usage and performance issues. Have you started to be late after you start using some elements on your server? For example, in Minecraft 1.6.4, Twilight Forest and some elements of Mekanism can be very CPU intensive. However, these experiences are general and may not be relevant to your situation.

     

    For versions 1.10 to 1.12, instead of Opis, you will want to read: How to use LagGoggles to diagnose the offset.

     

    Entities consume CPU

     

     

    Another common problem is the large number of global entities. One of your players may have exploded something, which resulted in tons of unplaced blocks. Another might have spawned hundreds or thousands of monsters. Each of these elements or mobs will use a lot of processor and memory resources and, if they are numerous, will have a noticeable impact on performance.

     

     

    To remove features, make sure that you are using a server that can support CraftBukkit plug-ins, such as CraftBukkit, Spigot, or Cauldron. Then, install Essentials or WorldEdit and run one of the appropriate commands:

     

    WorldEdit:

     

    / clear items -1

     

    Essentials:

     

    / remove all

     

    Sometimes your server may crash while trying to load because of the number of element entities everywhere. This could be due to the fact that a dishonest collector was not picking up items from a gang farm in another similar situation. There is a way to fight against this:

     

    Stop your server if it is not already.

    Open your server.properties file.

    Replace max-tick-time = 60000 with max-tick-time = -1.

    Back up your server.

    Use the following command in your console to kill all items:

     

    /kill @e [item]

     

    Too much Chunk consume CPU

     

    On Minecraft Vanilla, there is only one block that is loaded when you are not next, it's the spawn block. However, in Minecraft, many mods offer the possibility of keeping a charged piece even when people are not nearby. Some mod functions need it, so it has its uses.

     

    However, some players make it a habit to load all their songs so that objects can be created while they are offline. This ensures that many songs continue to work even when no one is on the server. Servers must always limit block loading as a rule. We also recommend disabling "easy" block loaders like the one found in FTB Utilities. Just check the mod settings and look for chunk references.

     

    The distance of view is too great

     

     

    If you have a popular server with players scattered on your map, reducing the viewing distance can improve performance. From the Minecraft wiki, the view distance from the server is based on:

     

    Sets the amount of global data that the server sends to the client, measured in chunks in each direction of the player. It determines the server-side viewing distance. The viewing distance "Far" is 9 pieces, which sends 441 songs in total (the number of songs the server will load will be visible in the debug screen).

     

    10 is the default / recommended value. Tip: If you have a large offset, reduce this value.

     

    Reducing it can reduce CPU usage when you have multiple players. This can also help players who have a slower internet connection.

     

    Log in to your panel

    In your list of servers, find the server you want to modify, and click the Manage button on the right.

    On the server that you selected, click the Configuration tab.

    Locate and open the server.properties file.

    Find the line with the distance of view.

    Reduce it from 10 to 4 or 5.

    Save the file and restart your server.

     

    When the CPU utilization is less than 100%

     

     

    Network issues

     

    Transient network connection problems or if you are physically away from your server can make your Minecraft server less responsive. Before continuing with the instructions below, we recommend that you try to use a wired connection and make sure that users on your network do not download large files or consume a lot of bandwidth.

     

    You and your players can test the quality of your computer's connection to your server by testing in-game and running ping and trace routes.

     

    Stake:

     

    Connect to your server with your Minecraft client.

    Log in to your panel

    In your list of servers, find the server you want to modify, and click the Manage button on the right.

    On the console, type "say test" and press Enter.

    Check if the test appears right away in the game window. A delay indicates the latency of the network.

    To provide additional diagnostic information, run the ping and traceroute commands.

     

    Reduce view distance

     

    Sometimes reducing the distance from the server can help players with slower connections:

     

    Log in to your panel

    In your list of servers, find the server you want to modify, and click the Manage button on the right.

    On the server that you selected, click the Configuration tab.

    Locate and open the server.properties file.

    Find the line with the distance of view.

    Reduce it from 10 to 4 or 5.

    Save the file and restart your server.

     

    FPS client side

     

     

    Your server may seem late, but in reality it is your client. To check your frames per second (FPS), press F3 in Minecraft. It will display your current FPS. Anything above 20-30 FPS should provide adequate gameplay. If it is less than 20-30 frames per second, try adjusting your video settings in-game. Try using the following settings:

     

    Graphics: fast

    Rendering distance: short or normal

    Smooth lighting: off

    Performance: Max FPS

    Advanced OpenGL: ON

    You can also try using mods like OptiFine and FpsPlus to increase your framerate and improve client-side rendering performance. However, mods like these rewrite the Minecraft rendering engine and the default game logic on which the game and other mods depend. You may encounter strange errors, visual problems or crashes. Most players exchange their stability against an increase in their performance.

    Edited by Charles
    Link to comment
    Share on other sites

     Share

    ×
    ×
    • Create New...