Jump to content

Server lag 1.4.6?


huldu

Recommended Posts

Using the minecraft_server.jar from minecraft.net, I assume it's 1.4.6. I inject forge 473 into it and and some mods for 1.4.6. What I first noticed was some block flickering going on every now and then but mostly a lot of "Can't keep up!". I barely ever saw any of those in 1.4.5 now they appear way too often. This might not even have anything to do with forge and could be a mod or just something with the minecraft server jar.

 

Just wondering if anyone else noticed this. My server ran 1.4.5 perfectly fine, just me playing on it. Something just isn't right with the 1.4.6 server. But anyways, maybe someone knows what might cause the problem.

Link to comment
Share on other sites

Not sure what you mean? The client seems to run fine as far as I can tell at least. But since you're the only one responding I suspect the issue is a little bit more complicated. I'm going to download a new minecraft_server.jar and add inject .473 to it and make it run a pure vanilla server and see if the problem is still there.

 

Mods running: RP2, BC, Forestry, Computercraft, Factorization and Thermal Expansion. It's quite bare due to mods not being updated or rather, now most are, but when I had the server going those were the addons.

Link to comment
Share on other sites

Vanilla minecraft 1.4.6 with forge .473 runs fine. Just like 1.4.5 did filled with mods. However once I start add some mods... I keep seeing at times "can't keep up", the server lvl0 tick around 40-50ms with me on the server(alone). Once I disconnect the ms drops down to around 7-8(I assume the chunk is still loaded for a little bit). Then after a few minutes it's down at 0.660ms. But the worst part is the block flickering going on. Especially when you're digging downwards with you on the block.

 

What's wrong? What has *changed* since 1.4.5 that made a HUGE performance drop all of the sudden? Started up my old 1.4.5 server(45-50ish mods, ie ic2, bc, forestry, railcraft and so forth) and joined in, the lvl0 tick was around 15-20ms.

 

<edit> Forgot to mention that's with a CLEAN newly created world, each time.

 

Anyways, the computer running the server is a 2.7ghz dual core with 2gb ram. The server only runs a minecraft server, nothing else.

Link to comment
Share on other sites

I have the same problem. I've just updated server to 1.4.6 and server is lagging a lot more. I also experience the block flickering, but no “Can't keep up!” messages.  Server is running about 20 mods, ic2, bc, forestry, railcraft and etc.

The server had no problems with 1.4.5, but after I installed 1.4.6 the performance dropped significantly.

 

The server is running an Intel 3.2 Ghz quad-core CPU with 4 GB ram.

I am using Build 6.5.0.474

 

Link to comment
Share on other sites

Just a warning for people, Forge does not add any extra stress on the game. Well, minimalistic extra functionality needed to run out hooks.

However, profile data or i'm closing the thread.

If you don't know how to profile it, go search google its a really simple procress.

Next person to post without profile data gets banned.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

  • 3 weeks later...

I used JProfiler.

http://www.filehosting.org/file/details/410917/All_Objects.html

http://www.filehosting.org/file/details/410918/Thread_History.html

 

Sample from All Objects file:

All Objects

Session: Local attach

Time of export: Saturday, January 12, 2013 7:01:06 PM CET

JVM time: 10:28

 

Sorted by:  Instance count

Aggregation level:  Classes

 

Name Instance count Size

java.util.HashMap$Entry 342Â 236 8Â 213 kB

java.util.HashMap$Entry[ ] 176Â 826 15Â 321 kB

java.util.HashMap 175Â 614 8Â 429 kB

java.util.jar.Attributes 135Â 505 2Â 168 kB

sun.reflect.GeneratedConstructorAccessor9 109Â 830 8Â 749 kB

java.lang.String 109Â 537 2Â 628 kB

sun.reflect.GeneratedConstructorAccessor42 41Â 925 2Â 109 kB

sun.reflect.GeneratedConstructorAccessor19 38Â 846 25Â 518 kB

java.util.Hashtable$Entry 33Â 014 792 kB

ur 27Â 876 892 kB

java.util.ArrayList 27Â 702 664 kB

java.util.LinkedList 24Â 974 599 kB

bq 22Â 643 362 kB

buildcraft.core.blueprints.BptSlot 21Â 836 1Â 048 kB

java.lang.Integer 19Â 782 316 kB

java.util.HashMap$KeySet 18Â 366 293 kB

java.util.LinkedList$Node 17Â 624 422 kB

sun.reflect.GeneratedConstructorAccessor6 15Â 634 863 kB

sun.reflect.GeneratedConstructorAccessor18 15Â 006 7Â 827 kB

java.lang.Class 9Â 531 4Â 504 kB

java.util.ArrayList$Itr 8Â 107 194 kB

yv 7Â 430 178 kB

java.util.HashMap$Values 7Â 403 118 kB

 

Is that in any way help full?

 

Edit: I should have added that. There was really no issue at the beginning. But now our world is over 600MB large. Average tick jumps from 20 to 50ms with no one logged and 400 chunks loaded. No artificially loaded chunks. Is it possible for just size of world to affect tick? 

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.