Lag Problem with other Players

Discussion in 'Bukkit Help' started by nightshadowz, Apr 30, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    nightshadowz

    OS Name Microsoft Windows 7 Home Premium
    Version 6.1.7601 Service Pack 1 Build 7601
    Other OS Description Not Available
    OS Manufacturer Microsoft Corporation
    System Name JJ-PC
    System Manufacturer Dell Inc.
    System Model XPS 8300
    System Type x64-based PC
    Processor Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)
    BIOS Version/Date Dell Inc. A03, 2/15/2011
    SMBIOS Version 2.6
    Windows Directory C:\Windows
    System Directory C:\Windows\system32
    Boot Device \Device\HarddiskVolume2
    Locale United States
    Hardware Abstraction Layer Version = "6.1.7601.17514"
    User Name jj-PC\jj
    Time Zone Central Daylight Time
    Installed Physical Memory (RAM) 8.00 GB
    Total Physical Memory 7.98 GB
    Available Physical Memory 5.29 GB
    Total Virtual Memory 16.0 GB
    Available Virtual Memory 11.7 GB
    Page File Space 7.98 GB
    Page File C:\pagefile.sys
    Java Version: 1.6.0_24

    Not running wrappers (port forwarded)

    Running Bukkit 1.2.5-R1.o

    Plugins:

    Autosneak
    Essentials
    EssentialsChat
    EssentialsGroupManager
    iConomy
    Lockette
    Mobdisguise
    OpenInv
    SimpleSpawn
    Spectate
    SpoutPLugin
    VanishNopacket

    Command:

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx7168M -Xms7168M -jar craftbukkit.jar
    PAUSE
    No error, just claimed lag for others.

    I have made my server run on more RAM
    Only running Minecraft and the server on the comp.
    Setting 6 proccesors to only focus on the server and setting priority to high, only leaving 2 processors to run mc.

    None of the solutions apply to me.

    Description:
    I was attempting to make an open Hunger Games server for a map I have made, but due to lag, people could not play. I've heard that running the server on a different computer then your playing on helps, but ts that true?
     
  2. Offline

    nightshadowz

  3. Offline

    Generation Blue

    im not an expert on these things but seeing as though no one will answer the question you might try not running minecraft on the same computer as your server, try another cpu! i kept having the [severe] message of the server lagging until i switched to another pc (one pc running the server and another pc running mc)
     
  4. Offline

    nightshadowz

    yea thats what everyone suggested, i just wanted to make sure so i can run the server well on the open server date.

    should i run the server on the worse computer or on the better one?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  5. Offline

    Omnitv

    It might be the internet speed ie: download speed / upload speed you may have the best specs but having the worst internet kinda defeats the porous
     
  6. Offline

    Killburner

    Yep, your upload bandwidth may be your limiting factor. Factor in about 250Kbps per player.

    Also, I wouldn't set your initial java heap size (Xmx) so high. That doesn't leave much breathing room for Windows 7.
     
  7. Offline

    Omnitv

    Although 250k/bps per player isn't *accurate* It varies. (sorry just wanted to add that in there)
     
  8. Offline

    Killburner

    250Kbps is a guideline, such that when everyone is spread across different regions, you should expect this much traffic to be generated. I've seen it spike as high as 325Kbps.
     
  9. Offline

    nightshadowz

    so should i set the mb of RAM to about 5gb?
     
  10. Offline

    ashley

    try this first:

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    java -server -Xmn4G -Xms7G -Xmx7G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:parallelGCThreads=5 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -jar craftbukkit.jar
    PAUSE

    this reduces you're lag by using the power of you're CPU
     
  11. Offline

    Killburner

    Yes, 5GB should be fine, unless you have 30+ players.
     
  12. Offline

    nightshadowz

    i will have 30+ players
    and ashley is that smiley face supposed to be there? i get the errorsaying "Unrecognized option"
     
    Omnitv likes this.
  13. Offline

    ashley

    no it isn't supposed to be there
    it has to be
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    java -server -Xmn4G -Xms7G -Xmx7G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=5 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -jar craftbukkit.jar
    PAUSE
     
  14. Offline

    nightshadowz

    ok it runs the server but i would need to test it on many peoples, feel free to join serverofminecraft1.no-ip.org for a random server if you'd like to help. put the ip into direct connect fo it to work.

    yes people say its better thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
Thread Status:
Not open for further replies.

Share This Page