• 0

    posted a message on Why does my locally hosted Minecraft server cause server lag?

    Okay. I'll post again with more data as soon as I can.

    Posted in: Server Support and Administration
  • 0

    posted a message on Why does my locally hosted Minecraft server cause server lag?

    Okay. Do the results given show anything as of now?

    Posted in: Server Support and Administration
  • 0

    posted a message on Why does my locally hosted Minecraft server cause server lag?

    The lag is at it's worst when the other person is online. Should I repeat the test with someone online? If so, I can't do that for until we both play, which could be either tomorrow, next day, etc, etc.


    Here are the results of the timings command. https://timings.spigotmc.org/?url=wetiseqiwe

    I know it says the average tps is pretty much 20, but I do experience a lot of erratic movements when fighting mobs/when there are a lot of them, like at the enderman farm. Chests also sometimes take a bit to open.

    Posted in: Server Support and Administration
  • 1

    posted a message on Why does my locally hosted Minecraft server cause server lag?

    I'm wondering why my Minecraft server causes server lag for me, and the one other person playing. I am using Spigot because of the lag, but it still doesn't alleviate most of it. My Internet speeds are attached. If the upload is not up to par with most locally hosted server owners, then what else could I do? Also, don't just say "spend 7 dollars a month to have it hosted by a server hosting company" because I *know* I can do it without paying.

    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)
    Quote from lekrosa»

    It is highly likely that running Spigot instead of vanilla minecraft will increase performance. If you don't add any plugins, there is basically no difference from vanilla, except more options and more server optimization.


    As for your client, you really can run that with 512-768 MB of RAM - in vanilla you don't even need a gigabyte. Save it all for the server.

    If you're only running Minecraft and a Minecraft server on this machine, you could even consider installing Linux (some lightweight distro) to save even more RAM - that way you can give some 256 MB to OS, 512 MB to client, 7 GB for server. But that's only if you're running only minecraft and a server. Otherwise, you will have to account for extra RAM used by a web browser, etc.


    Another thing - CPU and RAM speed (not just clock speed) and hard disk performance also matter! If a player is generating enough terrain, the hard disk or CPU can also be the bottleneck.


    Thanks for the reply. If I was to use Spigot, what kinds of server optimizations would I be able to use? Also, would running a Minecraft server from a virtual machine running Linux be out of the question?
    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)
    Quote from sujal1208»

    Hey matt. What kind of command do you use for the start up for your server?

    Start.bat?


    Do you have mods on your server?
    You can install clearlagg for your server as well. Make sure you are not running anything in your background.

    Can i ask how fast your internet speeds are?
    It could be a chance that you might need higher speeds for upload.


    Try running your server with a .bat file!

    if you are already running with a .bat file


    @echo off
    java -Xms1024M -Xmx6144M -jar minecraft_server.jar nogui
    pause


    Here are the startup parameters I use : java -server -d64 -Xms3G -Xmx6G -XX:+UseLargePages -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseBiasedLocking -Xincgc -XX:MaxGCPauseMillis=10 -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=15 -Djava.net.preferIPv6Stack=true -Djava.net.preferIPv4Stack=true -jar server.jar pause

    I'm not sure if that's too over the top, but these have helped a bit.
    I have no mods on the server.
    I have not set the server up for plugins using Bukkit, Spigot, etc.. I may do so, not sure.
    I've attached my internet speed from speedtest.net.
    I already run the server from a .bat file using the parameters I have shown.
    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)

    Yes, I know, but I already uninstalled Skype lol... mind just PM'ing each other here?

    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)

    add me on skype:

    live:ethan2260


    Do you have Discord? https://discordapp.com/ I prefer to not talk.. I'd rather type.
    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)

    yeah but you seem to be having lag problems heres a offer:


    next month im opening a small private host and ill host you server for free it will have full ddos protection


    Errrr... I'll think about it, I suppose... PM when you can, I guess...? I don't know, I made this thread to get see what kind of tricks and stuff people have to improve performance.
    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)

    hosting a server on Ur own PC isn't recommended



    Yes, I understand this, but I don't want to buy a server from a company if I know I can make it run better on my computer. I'm just wondering what sort of network "tricks" or java server parameters I could add to make it run a bit better. There has got to be something..

    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)
    Quote from sujal1208»

    Where it says -Xms5G -Xmx6G


    I would change it to -Xms2G -Xmx6G


    I was told the s means how much its allowed to start up and how much its allowed to dump error files.


    since you only have 8GB on your computer: you are create alot of lag because you have to keep in mind that windows need regular amount of ram to keep it running. I would say on idle windows takes about close to 1GB


    Now you are down to 7. Your game itself shouldn't need more than 3GB (not the server) if you are playing basic not modded minecraft (if with mods, 3GB should be good enough).


    For server wise, its wise to have alot of ram so it doesn't lag but you have to factor in how much you have left useable on your computer.

    If it was an actual server, you are allowed to use all 8GB. But this is hosted on your own computer.


    -Try the first step i mentioned above and than change numbers around to see if that helps. If anything just turn off monsters or reduce the spawning rate.



    Thanks for the reply! :) I just changed the Xms argument to 2G, and I'm currently seeing how it's going.

    EDIT: After testing, I have not noticed much difference at all... Would there be any other tricks or parameters I could use?

    Posted in: Server Support and Administration
  • 0

    posted a message on Any way to increase TPS on my server? (Vanilla;Not Spigot,Bukkit, etc)

    Hello. I host a server that my friend and I play on, and we notice a lot of TPS lag. Even when there are 20 or so hostile mobs the server starts to lag a lot. Mind you that we both have decent computers and usually get around 150-250 FPS, so we're not confusing the two. I also have 6 gigabytes allocated to the server, and one to Minecraft. I used to have 3 allocated to Minecraft, but I bumped it down to 1 to see if it made any difference.. It didn't. I have my computer specs in an image here for you to check them out and see if there is any hope. The computer is also running Windows 10 with the latest version of Java if that helps at all. I also tried adding additional Java parameters to the .bat file where I start the server. If they helped, the increase was negligible because I didn't notice a thing. I have the parameters linked in an image, as well. I'm not sure if these parameters would help in the first place, but this is what I found online so I thought I would give it a try. I also wanted to say that I'm not too good with "server stuff" or anything like that, so please bear with me.

    Any and all help is very appreciated. :)

    -Matt

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft 1.11 Update Opinion Thread
    Quote from DrWeegee»

    Why? What purpose would adding random structures serve? To look a them and say "Neat" and forget they even exist 10 minutes later, like the desert well? (Bet you forgot that existed, huh?)

    You're forgetting quality > quantity. I for sure do not want to always have random structures shoved in my face that are ugly, small and serve no purpose at all.

    In my opinion, at least, "random structures" would give me a reason to explore. Currently, all we have is the same biome's to explore.. If we had, like, 3 things to eye while exploring, I feel like it would be much more worth it to explore.
    Who says the structures that are small have to be "ugly" and serve no purpose? They can be given a purpose, and be the size of a desert well...
    Posted in: Recent Updates and Snapshots
  • To post a comment, please .