Jump to content
  • 0

Lags caused of high Ethernet usage


Alzheimer1992

Question

Title: Lags caused of high Ethernet usage

Version: 1_0_3

OS: Windows 8 Pro

Java Version: 1.7.0_21-b11

Description of Problem:

Everytime I do something on a server, like right-clicking on a chest, it takes a few seconds until the chest opens. The longer I stay on a server, the more it lags...

In the following there are three links to pictures of my ethernet connection. How can it be, that minecraft uses my whole connection.

Yeah, I know that my internet connection is worse than every normal human beings internet connection, but minecraft worked with much less, until the new tekkit launched.

Which mod sends those incredible big packets and why??

Sorry for my bad english.

http://tinypic.com/r/2vknr5h/5

http://tinypic.com/r/33tplaw/5

http://tinypic.com/r/6ztpn5/5

Error Messages:

Error Log:


 

Link to comment
Share on other sites

Recommended Posts

  • 0

I have to confirm that! I am hosting a server for me and a friend of mine:

8 Core CPU

8 GB RAM (server started with Xms 2GB and Xmx 6GB)

50MBit up-/downstream

While playing the new tekkit, I noticed the huge amount of data downloading from the server.

I can play without any lags (quite good internet Connection), but my mate is very poor at this point.

Before the new Tekkit, we played Tekkit Lite a lot without any kind of lags on the same server hardware.

Here is my connection speed without a server connection...

apf9xs.png

...and here with an open connection:

xgaa1h.png

I also noticed (with active debug mode on [/debug start]) those errors:

2cn08z.png

As mentioned... the server has lots of power, so the connection.

We haven't noticed lag, never before!

Do you need any kind of log file? People with around 1 MBit internet speed seems to be not able to play lag-free...

One last Thing before someone asks: Java 1.7 Update 21 is installed on my pc, the server and on my mates pc!

Link to comment
Share on other sites

  • 0

No Problem, here they are:

Client:

http://pastebin.com/P6LrnnvM - ForgeModLoader-client-0.log

http://pastebin.com/xNbifGJr - ForgeModLoader-client-1.log.part1

http://pastebin.com/U8czcwTE - ForgeModLoader-client-1.log.part2

http://pastebin.com/2aH3phXf - ForgeModLoader-client-2.log

Server:

http://pastebin.com/Sz1znA23 - ForgeModLoader-server-0.log

http://pastebin.com/hAQhGKiD - ForgeModLoader-server-1.log

http://pastebin.com/teDFTtx8 - ForgeModLoader-server-2.log

Happy reading... Hope you find something related to that problem, cause I think many of the posted Network / laggy problems have the same source.

Tell me if you need more for your investigation.

Link to comment
Share on other sites

  • 0

Okay, this appears to be in the same situation as a thread I was working on before. I'd instructed him to back up his map and then remove mods individually- beginning with galacticraft, until either the lag stops or you run out of mods. We need to determine whether this is an issue with a particular mod, or with minecraft 1.5.

Link to comment
Share on other sites

  • 0

Since this is a much more appropriate place than the last topic forum I created, I'll post my stuff here.

http://www.mediafire.com/view/?b33toc615pfr9gp

I also took a log for the second picture. Although from what I see I don't see any major problems in the log output but this could just be me and my noobishness.

Also forgot to mention this is after I updated the jdk and normal java file to 7_21 from what CanVox suggested in my other thread. This also includes the 2 friends that tried to get on. One was on a Mac(Obelmont) and the other was on Windows(Paradox_cpu)

Log

---- Minecraft Profiler Results ----

// Now with extra numbers

 

Time span: 356010 ms

Tick span: 7120 ticks

// This is approximately 20.00 ticks per second. It should be 20 ticks per second

 

--- BEGIN PROFILE DUMP ---

 

[00] levels - 98.47%/98.47%

[01]  world - 99.79%/98.27%

[02]  tick - 99.01%/97.30%

[03]    tickTiles - 35.31%/34.36%

[04]    tickChunk - 82.56%/28.37%

[05]      recheckGaps - 99.63%/28.26%

[06]      unspecified - 72.27%/20.42%

[06]      getBrightness - 26.05%/7.36%

[06]      checkedPosition < toCheckCount - 1.69%/0.48%

[05]      unspecified - 0.37%/0.10%

[04]    unspecified - 7.41%/2.55%

[04]    tickTiles - 6.55%/2.25%

[05]      unspecified - 98.02%/2.21%

[05]      checkLight - 1.98%/0.04%

[06]      unspecified - 62.33%/0.03%

[06]      getBrightness - 36.70%/0.02%

[06]      checkedPosition < toCheckCount - 0.97%/0.00%

[04]    moodSound - 1.39%/0.48%

[04]    getChunk - 0.74%/0.25%

[04]    iceandsnow - 0.48%/0.16%

[04]    buildList - 0.40%/0.14%

[04]    playerCheckLight - 0.20%/0.07%

[05]      unspecified - 79.09%/0.05%

[05]      getBrightness - 20.34%/0.01%

[05]      checkedPosition < toCheckCount - 0.58%/0.00%

[04]    thunder - 0.17%/0.06%

[04]    checkLight - 0.10%/0.03%

[03]    tickPending - 30.92%/30.09%

[04]    ticking - 96.11%/28.92%

[05]      checkLight - 58.07%/16.79%

[06]      unspecified - 59.97%/10.07%

[06]      getBrightness - 38.56%/6.47%

[06]      checkedPosition < toCheckCount - 1.47%/0.25%

[05]      unspecified - 41.93%/12.13%

[04]    cleaning - 3.67%/1.10%

[04]    unspecified - 0.22%/0.07%

[03]    entities - 29.46%/28.67%

[04]    regular - 99.70%/28.58%

[05]      tick - 97.14%/27.76%

[06]      ai - 32.11%/8.91%

[07]        newAi - 92.85%/8.28%

[08]        goalSelector - 34.28%/2.84%

[09]          unspecified - 72.23%/2.05%

[09]          goalStart - 14.01%/0.40%

[10]          EntityAIWander - 56.26%/0.22%

[11]            pathfind - 99.42%/0.22%

[11]            unspecified - 0.58%/0.00%

[10]          unspecified - 32.27%/0.13%

[10]          EntityAIFleeSun - 6.46%/0.03%

[11]            pathfind - 99.12%/0.03%

[11]            unspecified - 0.88%/0.00%

[10]          EntityAILookIdle - 4.73%/0.02%

[10]          EntityAISwimming - 0.18%/0.00%

[10]          EntityAIEatGrass - 0.08%/0.00%

[10]          EntityAIRestrictSun - 0.02%/0.00%

[09]          canUse - 11.17%/0.32%

[09]          goalTick - 2.10%/0.06%

[10]          unspecified - 99.76%/0.06%

[10]          checkLight - 0.24%/0.00%

[11]            unspecified - 71.64%/0.00%

[11]            getBrightness - 28.36%/0.00%

[11]            checkedPosition < toCheckCount - 0.00%/0.00%

[09]          canContinue - 0.49%/0.01%

[08]        unspecified - 27.88%/2.31%

[08]        controls - 15.99%/1.32%

[09]          unspecified - 66.79%/0.88%

[09]          look - 26.87%/0.36%

[09]          move - 4.35%/0.06%

[09]          jump - 2.00%/0.03%

[08]        targetSelector - 15.56%/1.29%

[09]          unspecified - 92.03%/1.19%

[09]          goalTick - 3.00%/0.04%

[09]          goalStart - 2.82%/0.04%

[09]          canUse - 2.14%/0.03%

[08]        checkDespawn - 2.77%/0.23%

[08]        mob tick - 1.35%/0.11%

[08]        sensing - 1.20%/0.10%

[08]        navigation - 0.96%/0.08%

[07]        unspecified - 4.34%/0.39%

[07]        oldAi - 2.80%/0.25%

[08]        unspecified - 51.58%/0.13%

[08]        stroll - 28.47%/0.07%

[09]          pathfind - 95.21%/0.07%

[09]          unspecified - 4.79%/0.00%

[08]        ai - 16.40%/0.04%

[08]        followpath - 3.55%/0.01%

[06]      unspecified - 27.15%/7.54%

[06]      travel - 21.48%/5.96%

[07]        move - 42.67%/2.54%

[07]        rest - 29.03%/1.73%

[07]        unspecified - 28.30%/1.69%

[06]      entityBaseTick - 8.70%/2.41%

[07]        unspecified - 96.81%/2.34%

[07]        portal - 3.19%/0.08%

[06]      mobBaseTick - 6.06%/1.68%

[06]      push - 1.46%/0.41%

[06]      move - 0.89%/0.25%

[06]      headTurn - 0.69%/0.19%

[06]      rest - 0.41%/0.11%

[06]      chunkCheck - 0.40%/0.11%

[06]      looting - 0.31%/0.09%

[06]      rangeChecks - 0.15%/0.04%

[06]      jump - 0.14%/0.04%

[06]      portal - 0.04%/0.01%

[06]      checkLight - 0.00%/0.00%

[07]        unspecified - 50.40%/0.00%

[07]        getBrightness - 49.60%/0.00%

[07]        checkedPosition < toCheckCount - 0.00%/0.00%

[05]      unspecified - 2.71%/0.77%

[05]      remove - 0.15%/0.04%

[04]    tileEntities - 0.16%/0.05%

[04]    remove - 0.07%/0.02%

[04]    unspecified - 0.06%/0.02%

[04]    pendingTileEntities - 0.00%/0.00%

[04]    global - 0.00%/0.00%

[03]    unspecified - 2.76%/2.68%

[03]    mobSpawner - 0.70%/0.68%

[03]    chunkMap - 0.57%/0.56%

[03]    chunkSource - 0.17%/0.17%

[03]    portalForcer - 0.06%/0.05%

[03]    village - 0.04%/0.04%

[02]  tracker - 0.89%/0.88%

[02]  unspecified - 0.07%/0.07%

[02]  pools - 0.02%/0.02%

[02]  timeSync - 0.00%/0.00%

[01]  unspecified - 0.21%/0.21%

[00] connection - 0.96%/0.96%

[01]  packetflow - 61.95%/0.60%

[02]  unspecified - 69.48%/0.41%

[02]  travel - 12.63%/0.08%

[03]    move - 38.41%/0.03%

[03]    unspecified - 35.48%/0.03%

[03]    rest - 26.12%/0.02%

[02]  entityBaseTick - 5.88%/0.04%

[03]    unspecified - 88.20%/0.03%

[03]    portal - 11.80%/0.00%

[02]  mobBaseTick - 3.65%/0.02%

[02]  move - 2.43%/0.01%

[02]  ai - 2.12%/0.01%

[03]    unspecified - 54.19%/0.01%

[03]    oldAi - 45.81%/0.01%

[02]  rest - 1.98%/0.01%

[02]  push - 0.79%/0.00%

[02]  headTurn - 0.43%/0.00%

[02]  looting - 0.41%/0.00%

[02]  rangeChecks - 0.08%/0.00%

[02]  jump - 0.07%/0.00%

[02]  checkedPosition < toCheckCount - 0.03%/0.00%

[02]  getBrightness - 0.00%/0.00%

[02]  checkLight - 0.00%/0.00%

[03]    unspecified - 61.22%/0.00%

[03]    getBrightness - 38.78%/0.00%

[03]    checkedPosition < toCheckCount - 0.00%/0.00%

[01]  unspecified - 37.14%/0.36%

[01]  keepAlive - 0.74%/0.01%

[01]  playerTick - 0.17%/0.00%

[00] save - 0.44%/0.44%

[00] unspecified - 0.06%/0.06%

[00] tallying - 0.02%/0.02%

[00] dim_unloading - 0.01%/0.01%

[00] snooper - 0.01%/0.01%

[00] players - 0.01%/0.01%

[00] tickables - 0.00%/0.00%

--- END PROFILE DUMP ---

Link to comment
Share on other sites

  • 0

@CanVox I just tried removing the galacticmod and after doing so my connection is how it used to be with Tekkit Classic and Tekkit Lite. My only hope is that if it is really the cause of the issue that it is due to inefficient coding that can easily be fixed. If it isn't though then its likely Tekkit 1.5.1 will only be reserved for people with a outstanding internet connection.

http://www.mediafire.com/view/?bq9ya4ax201a500

Link to comment
Share on other sites

  • 0

I removed Galactacraft from my server and client and I'm still experiencing high latency. I'm connected by LAN and a friend is connected by WAN. We have a consistent upload between 2.5 - 3.0 mbs.

a screen shot of my server.

my forgemodloader file. http://pastebin.com/DjCma7Hq

Tat's really interesting- can you remove additional mods until you identify the culprit?

Link to comment
Share on other sites

  • 0

i've tried redownloading the entire pack. and started a new world without galactacraft. It went well for about 15 mins then lagged out again. i've started going through the different mods but have not had any significant improvement. its getting late. i will continue troubleshooting tomorrow.

Link to comment
Share on other sites

  • 0

I found the culprit. in my case it was buildcraft that was causing the issue. I also had to remove aditionalpipes in order to get the server to load. I have all mods except buildcraft and additional pipes running and my server is running lag free again. What do I need to do to get these mods back in the game. They are highly used by my users.

Link to comment
Share on other sites

  • 0

We're investigating at the moment... stay tuned, mod by mod is flying to trash.

After trying just to remove buildcraft (and additional pipes), we can play lag-free! No more 1 MBit/s downloadspeed, just around 50 kbit/s!

Link to comment
Share on other sites

  • 0

We tested to play around with some values in the buildcraft.conf:

# delay between full client sync packets, increasing it saves bandwidth, decreasing makes for better client syncronization.

I:network.stateRefreshPeriod=100

 

# increasing this number will decrease network update frequency, useful for overloaded servers

I:network.updateFactor=100

Nothing helped. Removing the mod (and with it also all items from the world...) and putting the mod back in the server, there was no lag - and also no BC Items in the whole world!

We mentioned that without any BC items and an active BC mod - there is no lag!

But it starts with the first crafted item (eg. a redstone Engine).

Link to comment
Share on other sites

  • 0

We're trying to play around some more with those values at the moment...

# delay between full client sync packets, increasing it saves bandwidth, decreasing makes for better client syncronization.

I:network.stateRefreshPeriod=1000

 

# increasing this number will decrease network update frequency, useful for overloaded servers

I:network.updateFactor=1000

Nope, just with no BC items and / or the removed mod the Bandwith is very small :/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...