Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Minecraft Forge
  • Support & Bug Reports
  • Cpu Lag Spikes
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
34486

Cpu Lag Spikes

By 34486, April 9, 2017 in Support & Bug Reports

  • Reply to this topic
  • Start new topic

Recommended Posts

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 9, 2017

Minecraft Forge version  12.18.3.2185  (RECOMMENDED) on server side, seems to lag as I add more mods to it.

With little to no mods, it does not lag as much, but as I add more mods the spiking gets worse. It has about a 1.5 second delay when I run (Not play on) the server! 

I also try other versions of forge, same issue.

Computer Specs: I5 4690k Overclocked to 4.27 Ghz and it runs nice n' cool with fairly low voltage, about 100-105*F.  I also have 14 GB of DDR3 Ram. Asus Maximuss VII Hero. 

 

I used to run 8 other regular bukkit/spigot and vanilla servers, It worked all fine and when at idle, 1.5% CPU usage as if they didn't exist. I now wish to host a modded server.

Now, Here is an Image with client running, server and this webpage along with speed fan so I can see my temps.

Note: I am just about unable to use the console window or the one that is open in CMD. I have set the priority to high on all 4 cores and it didn't help. I am running around 1200 ticks behind. :/

Note: I run the SAME world in single player with the same mods n' all, and I get NO lag what so ever.

 

Here is a picture of Cpu usage.

 

Now with none of the mods, 

Now with no mods, and client is not running. . . (Spike was from snipping tool)

Now without the server or client running...

 

One last time, Something is wrong with the versions of forge (1.10) idk about 1.11 but they have this lag spike issue, and with more mods it just gets worse!! I have about 73 mods! I used to be able to run 212 with my old pack on 1.7, and when I wasnt playing or anything it would idle at about 15% cpu usage, so whats up here? 

The world is not causing the problem, because it works fine on the client while playing, but on the server, no. With a fresh world on the server, same issue.

 

A while ago I tested to see if it was one particular mod, but I failed because I tested all of them individually (with their respective core mods) 

 

Anybody able to help out here??? (Also, I don't have the /timings command, thought that was built in though but whatever)

Img1all.PNG

img2none.PNG

noclient.PNG

nothinboi.PNG

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 9, 2017

Since I am on my Windows 10 PC tablet, The small buttons like edit do not work. :(

I try running the forge server on this tablet, and it had the same issue, so It can't be a cpu compatibility problem like there used to be back in 1.2 or something with Xeons. 

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 12, 2017

Help, Please?

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 15, 2017 (edited)

I still need help...

Edited April 16, 2017 by 34486
  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted April 15, 2017

The java process(app)is using all of the cpu right? I don't know your problem, but something is up... restarting your pc doesn't help?

  • Quote

Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 16, 2017

Restarting my pc does not help. :(

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

_RedTech    0

_RedTech

_RedTech    0

  • Tree Puncher
  • _RedTech
  • Members
  • 0
  • 4 posts
Posted April 16, 2017

I also have a Forge server that takes up a ridiculous amount of CPU, there must be a solution.

  • Quote

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 16, 2017

Yea. I try every version of forge that works with my pack. They have PLENTY of information here to look at and try to even guess, if not, have a solution. I have now updated java, still, no fix. Updated all drivers. No. Fix. 

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56376 posts
Posted April 16, 2017

Do you have enough RAM allocated to Minecraft? What are your JVM arguments?

  • Quote

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 17, 2017

For the server, Its -Xmx6g -Xms6g along with the client. 6 Gb of ram for the server, but without mods, it still lags, withthe spike too but as I add more it spikes constantly more and the lag intensifies... :( 

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted April 17, 2017 (edited)

Must be a bug with forge itself. I wonder if anyone else has this problem? If so, then problem must be forge's.

 

EDIT: Do you have any log output?

Edited April 17, 2017 by Leomelonseeds
  • Quote

Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56376 posts
Posted April 17, 2017

Please post the complete JVM arguments.

  • Quote

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 17, 2017
1 hour ago, diesieben07 said:

Please post the complete JVM arguments.

 

8 hours ago, Leomelonseeds said:

Must be a bug with forge itself. I wonder if anyone else has this problem? If so, then problem must be forge's.

 

EDIT: Do you have any log output?

 

 

There is no errors in console accept for the can't keep up one..

 

And here are your JVM Arguments for the server, which is the only lagy thing on it or not on it. 

 

title HHSModded - Console - 1.10.2
E:
cd Servers
cd HHS10Modded
cls
java -Xmx6G -Xms6G -jar Forge.jar -o true
pause;

 

Thats it. "-Xmx6g -Xms6g" for the ram amount. I tried with -o true and without it, no change. 

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56376 posts
Posted April 17, 2017

And you 100% sure that it's the server lagging, not the client?

  • Quote

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 19, 2017
On 4/17/2017 at 10:34 AM, diesieben07 said:

And you 100% sure that it's the server lagging, not the client?

I am 101% sure that this is server lagg. As I show in one of the pictures, or two I forget but the client is closed, with the server running, causing the lag spikes. (And terrible TPS I would assume, because it can take about 5 seconds to open an interface) 

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56376 posts
Posted April 19, 2017

Next step would be to use a profiler (VisualVM is free) to see what is taking up all the CPU.

  • Like 1
  • Quote

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 19, 2017
17 minutes ago, diesieben07 said:

Next step would be to use a profiler (VisualVM is free) to see what is taking up all the CPU.

I'll try that.

I looked in Task Manager, and it said the server "Javac . . . " or something similar to that was taking up the usage, I set it to two cores and then the two cores (1 and 2) were maxed, stopped server, no longer maxed. 

  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

MoeBoy76    20

MoeBoy76

MoeBoy76    20

  • Creeper Killer
  • MoeBoy76
  • Forge Modder
  • 20
  • 127 posts
Posted April 19, 2017 (edited)

i would first try using -nogui to disable the server GUI

Edited April 19, 2017 by MoeBoy76
  • Like 1
  • Quote

Share this post


Link to post
Share on other sites

34486    0

34486

34486    0

  • Tree Puncher
  • 34486
  • Members
  • 0
  • 21 posts
Posted April 19, 2017 (edited)
10 minutes ago, MoeBoy76 said:

i would first try using -noguii to disable the server GUI

Alright I will try that too. I was looking how to disable that anyways, thanks! 

 

EDIT: Worked! That was something I guessed would be last resort, and well, disabling the UI helped a lot! Thanks! Wonder why it was like that, probably trying to live update the ram/tps information. 

Hey, Also the VisualVM Program will come in handy someday, Thanks again! :) #lyfesaverz

 

Edited April 19, 2017 by 34486
Saying thx m8!
  • Quote

Gregtech FOR THE WIN! (I miss GT from 1.4)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • brok4d
      OBJ MODELS

      By brok4d · Posted 7 minutes ago

      Hello, this mod is the source, you have to get boredhttps://gitlab.com/Lycanite/LycanitesMobs
    • JayNeedsHelp
      Logger not working

      By JayNeedsHelp · Posted 36 minutes ago

      So I'm currently creating a forge mod and I'm having an issue where the console stops logging after some errors. It seems to be connected to the access transformers that I'm using as before I added at's my console was working fine.   Here is my at file:  public-f net.minecraft.client.Minecraft session public net.minecraft.client.Minecraft timer public net.minecraft.client.gui.GuiScreen buttonList public net.minecraft.util.Timer tickLength public net.minecraft.network.play.client.CPacketPlayer onGround public net.minecraft.network.play.server.SPacketEntityVelocity motionX public net.minecraft.network.play.server.SPacketEntityVelocity motionY public net.minecraft.network.play.server.SPacketEntityVelocity motionZ public net.minecraft.network.play.server.SPacketExplosion motionX public net.minecraft.network.play.server.SPacketExplosion motionY public net.minecraft.network.play.server.SPacketExplosion motionZ public net.minecraft.client.renderer.entity.RenderManager renderPosX public net.minecraft.client.renderer.entity.RenderManager renderPosY public net.minecraft.client.renderer.entity.RenderManager renderPosZ   Any help is greatly appreciated thank you!
    • cadbane86140
      Minecraft: Hunger Games Game #36- Shear FIGHT!

      By cadbane86140 · Posted 1 hour ago

      Hello There! Today we are back on Hunger Games after a little break but we are finally back! In this episode we are on the good ol' map Survival Games 4 and it ACTUALLY went well for once. Also we have so many great battles on rooftops, small rooms and just out in the open! We also use shears to fight at one point and that was pretty crazy! There are so many hilarious moments in this episode that I know you guys are gonna love! I hope you all enjoy this video and if you did don't forget to like and sub for more Hunger Games in the future!  
    • Sad Whale
      Game crashes whenever I try to increase the RAM

      By Sad Whale · Posted 2 hours ago

      latest.log
    • diesieben07
      Game crashes whenever I try to increase the RAM

      By diesieben07 · Posted 2 hours ago

      In the logs folder of your game directory.
  • Topics

    • Milk_Shak3s
      1
      OBJ MODELS

      By Milk_Shak3s
      Started 15 hours ago

    • JayNeedsHelp
      0
      Logger not working

      By JayNeedsHelp
      Started 32 minutes ago

    • cadbane86140
      0
      Minecraft: Hunger Games Game #36- Shear FIGHT!

      By cadbane86140
      Started 1 hour ago

    • Sad Whale
      6
      Game crashes whenever I try to increase the RAM

      By Sad Whale
      Started 3 hours ago

    • Unusualty
      0
      GUI'S and player editing

      By Unusualty
      Started 2 hours ago

  • Who's Online (See full list)

    • JayNeedsHelp
    • brok4d
    • Chumbanotz
    • _Traficantefav_
  • All Activity
  • Home
  • Minecraft Forge
  • Support & Bug Reports
  • Cpu Lag Spikes
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community