Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Recommended Posts

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

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

Link to post
Share on other sites

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. 

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

Link to post
Share on other sites

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?

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.

Link to post
Share on other sites

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. 

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

Link to post
Share on other sites

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... :( 

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

Link to post
Share on other sites

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 by Leomelonseeds

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.

Link to post
Share on other sites
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. 

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

Link to post
Share on other sites
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) 

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

Link to post
Share on other sites
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. 

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

Link to post
Share on other sites
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 by 34486
Saying thx m8!

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

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.   Restore formatting

  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.



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • hm... when I had a similar issue the discord pointed me towards using baked models. but multiparts does seem way simpler, and with datagen I could even do it proceduraly
    • You don't need a custom baked model for this. Look at the composter model for an example.
    • whenever you find a solution by yourself, you can leave the original question, but add a comment mentioning that you fixed it, and how. so that if anyone comes accross the same problem, they can find your solution and try it without needing to make a new topic. also, I don't see how intellij syncing with github has anything to do with forge
    • you need to create a new class which implements IBakedModel, overwrite getQuads (the one which takes an IModelData) an make it return the quads for your model, the IModelData shouls contain the info on the list and you set the info on the IModelData by overwriting getModelData in your tile entity. you need to sync the data from, the Server tile entity, to the client, which you can do by overwriting getUpdatePacket (Server sends updated data to the client), and onDataPacket  (Client handles an update packet received). then, whenever that data changes you can call World#notifyUpdate, and whenever the client receives an update (so in the end of onDataPacket) you call requestModelUpdate().   for the BakedModel, what I do is: I pass in an existing IBakedModel (that works as a base that I can add quads to) to the constructor, and store it in a field. then I can call IBakedModel#getQuads on the base model, which gives a list of BakedQuads, and add any new quads to it. and you can create your quads by using FaceBakey#bakeQuad, it takes the start and end positions of the quad (in block space, so 0 -> 16), an instance of a BlockPartFace, the sprite you want to use, which you can get from an AtlasTexture, the Direction of that quad, a transform (I just use SimpleModelTransform.IDENTITY), a rotation, which you can just pass null, a boolean that tells wether that face should be shaded or not, and then a throwaway ResourceLocation. and you can decide on all those properties, and on what faces to add, given the IModelData   EDIT: oh, and to register it you can do so through the modelRegistry in the ModelBakeEvent (this event is client-side only (I think)) if you need some examples, I used this repo to learn how to use BakedModels: https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe04_block_dynamic_block_models
    • Your code works well, I should have used the yaw player instead of taking yaw from my projectile. Thank you again
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.