Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

What causes lag?


  • Please log in to reply
49 replies to this topic

#1

Typical_Name

Posted 05 July 2012 - 08:39 PM

Minecraft seems to get progressively more laggy the longer I own it, and I'm trying to figure out why.

I used to be able to get double digit fps even on far render.  Nowadays I have 2 fps on tiny.


It irritates me, because the lag is usually so bad that I can't build anything, and even typing is slow and difficult.  I could probably do more for my server if I was able to interact with the world directly.

I noticed that when I first got the newer spoutcraft launcher, I had abnormally high fps for a while, but it dropped back to the level I described within a coupled days.  The Spout people said that the launcher did absolutely nothing that would have reduced lag, so I'm not sure why this would have been the case.



Why am I getting this insufferable lag?  My laptop is only about three years old.  It can play ridiculously new games like Civilization IV and Starcraft II just fine (not that either of those two were worth playing), but Minecraft is a consistent problem.
Adikista is not yet fully developed and open to the public.  If you're highly interested and want to help, feel free to contact me.  Otherwise, you are free to log in, but you probably won't have much to do yet.
Posted Image
directorate.asuscomm.com | http://adikista.free...s.org/index.php

Register or log in to remove.

#2

Lord_Feral
  • Location: Suffolk, UK
  • Minecraft: Lord_Feral

Posted 05 July 2012 - 08:43 PM

How does it perform on singleplayer over multiplayer?

It could be a simple connection/router/provider issue.

#3

xDesert122

Posted 05 July 2012 - 09:31 PM

Try using optifine which boost fps in most cases.

Maybe its overheating which can cause lag, but since your other games work fine its probably not.
Minecraft Modder & LWJGL Game Dev.

#4

Tempus64
    Tempus64

    Redstone Miner

  • Members
  • 620 posts

Posted 05 July 2012 - 09:58 PM

View PostTypical_Name, on 05 July 2012 - 08:39 PM, said:

Minecraft seems to get progressively more laggy the longer I own it, and I'm trying to figure out why.

I used to be able to get double digit fps even on far render.  Nowadays I have 2 fps on tiny.


It irritates me, because the lag is usually so bad that I can't build anything, and even typing is slow and difficult.  I could probably do more for my server if I was able to interact with the world directly.

I noticed that when I first got the newer spoutcraft launcher, I had abnormally high fps for a while, but it dropped back to the level I described within a coupled days.  The Spout people said that the launcher did absolutely nothing that would have reduced lag, so I'm not sure why this would have been the case.



Why am I getting this insufferable lag?  My laptop is only about three years old.  It can play ridiculously new games like Civilization IV and Starcraft II just fine (not that either of those two were worth playing), but Minecraft is a consistent problem.

The bar chart in the debug screen will show you what is probably the issue. If it's spending a lot of time on "ticks" then it's primarily the cpu, maybe more memory could help but probably not. Usually when I see lots of lag, the tick portion of the bar goes way up in size. Minecraft is a different type of game. The world is "huge" and absolutely everything in the world has to be kept track of. So that's a lot more cpu/memory required than those other games.

#5

GoldTools
  • Location: not here
  • Minecraft: no
  • Xbox:no

Posted 05 July 2012 - 11:46 PM

Rain, Snow, Jungles, and Ravines. The rain and snow has tons of particles, in each drop, so it has so much running at once. As for Jungles, it is just because of the massive terrain generating. Ravines, because of the lava, water, ores, and mine shafts generating right in front of your eyes. I have yet to wonder why ocean biomes make you lag.
nope

#6

Typical_Name

Posted 06 July 2012 - 12:15 AM

Quote

How does it perform on singleplayer over multiplayer?

It could be a simple connection/router/provider issue.

Er, tbh I haven't tried being on singleplayer in months... I'll try that now...

... Nope, singleplayer is the same fps as multiplayer :/

Quote

Try using optifine which boost fps in most cases.

Maybe its overheating which can cause lag, but since your other games work fine its probably not.

Unfortunately, Optifine is not compatible with Spoutcraft (however, Spoutcraft offers most of the same lag-reducing features.)

Well, the last time I played a new game that wasn't Minecraft (Tropico IV, specifically), it played fine, but that was months ago.  Is it possible for my computer to suddenly develop overheating issues?

Quote

The bar chart in the debug screen will show you what is probably the issue. If it's spending a lot of time on "ticks" then it's primarily the cpu, maybe more memory could help but probably not. Usually when I see lots of lag, the tick portion of the bar goes way up in size. Minecraft is a different type of game. The world is "huge" and absolutely everything in the world has to be kept track of. So that's a lot more cpu/memory required than those other games.

Er... I don't see a chart on my debug screen.  I think I turned that off to reduce lag (and because the annoying bars would obscure my coordinates).

EDIT:  Turning the chart on, it appears that about a fourth of the circle is ticks and the remaining three fourths is render.

Quote

Rain, Snow, Jungles, and Ravines. The rain and snow has tons of particles, in each drop, so it has so much running at once. As for Jungles, it is just because of the massive terrain generating. Ravines, because of the lava, water, ores, and mine shafts generating right in front of your eyes. I have yet to wonder why ocean biomes make you lag.

Well, I do spend a lot of time in a jungle biome, but all the nearby trees have been cut down.  It also has an ocean by it, where I spend a good deal of my time (the spawn city sprawls into the ocean).  Would that make a difference?
Adikista is not yet fully developed and open to the public.  If you're highly interested and want to help, feel free to contact me.  Otherwise, you are free to log in, but you probably won't have much to do yet.
Posted Image
directorate.asuscomm.com | http://adikista.free...s.org/index.php

#7

BApenguin982
  • Location: Helena, Montana
  • Minecraft: demonsoul982
  • Xbox:BA penguin982

Posted 06 July 2012 - 12:42 AM

The main reason anyone has lag is because notch coded it on java... meaning that if your computer does not run java very well it will give you lag in minecraft, if Jeb codes it in to a different system then it would probably run better, but that is very doubtful because it would take too much time to code it over. One other thing i have found that if you have a laptop it runs infinitly better with the charger connected instead of having it run on the battery alone.

#8

Typical_Name

Posted 06 July 2012 - 01:00 AM

Quote

The main reason anyone has lag is because notch coded it on java... meaning that if your computer does not run java very well it will give you lag in minecraft, if Jeb codes it in to a different system then it would probably run better, but that is very doubtful because it would take too much time to code it over. One other thing i have found that if you have a laptop it runs infinitly better with the charger connected instead of having it run on the battery alone.

That might be it; I don't know how well my computer runs on java.

I always have my laptop plugged in.  My battery can't charge properly for some reason.
Adikista is not yet fully developed and open to the public.  If you're highly interested and want to help, feel free to contact me.  Otherwise, you are free to log in, but you probably won't have much to do yet.
Posted Image
directorate.asuscomm.com | http://adikista.free...s.org/index.php

#9

MagicCreeper
  • Location: New Zealand
  • Minecraft: MagicCreeper

Posted 06 July 2012 - 03:26 AM

View PostTypical_Name, on 05 July 2012 - 08:39 PM, said:

Why am I getting this insufferable lag?

Answer;

You don't have a good enough computer.

View PostTypical_Name, on 05 July 2012 - 08:39 PM, said:

laptop

View PostTypical_Name, on 05 July 2012 - 08:39 PM, said:

three years old

ITT: People believing it isn't the computer, and blaming it on the game.

Posted Image


#10

Jarid
    Jarid

    Carpenter

  • Members
  • 52 posts

Posted 06 July 2012 - 03:26 AM

*DELETED*

#11

MagicCreeper
  • Location: New Zealand
  • Minecraft: MagicCreeper

Posted 06 July 2012 - 03:28 AM

View PostBApenguin982, on 06 July 2012 - 12:42 AM, said:

The main reason anyone has lag is because notch coded it on java... meaning that if your computer does not run java very well it will give you lag in minecraft, if Jeb codes it in to a different system then it would probably run better, but that is very doubtful because it would take too much time to code it over. One other thing i have found that if you have a laptop it runs infinitly better with the charger connected instead of having it run on the battery alone.

No, not the computer. All Java's fault. It's not very reliable, you know. I don't even know why they use it on like everything in existence.

Posted Image


#12

Jarid
    Jarid

    Carpenter

  • Members
  • 52 posts

Posted 06 July 2012 - 03:35 AM

*DELETED*

#13

HakimAthalla21

Posted 06 July 2012 - 03:48 AM

Optifine can make it better
Like what you see, darling? why not click the green button :) it sure does help me

#14

starlinvf
    starlinvf

    Glowstone Miner

  • Members
  • 3169 posts

Posted 06 July 2012 - 04:05 AM

When was the last time you gave your computer a good system clean up or a fresh reinstall?    I built a gaming system for my cousin using upper mid-range parts....  less then a year later it was a complete train wreak, and even had problem running WoW.  I'm talking a sheet of dust wool on every vent, at least 2 fake anti-spyware programs, tons of malware, takes a few minutes to boot, browsers ran like crap, 3 visible tool bars, and system wide pausing every few minutes.

Moral of the story... if you don't take care of it, it will run like crap.

#15

Typical_Name

Posted 06 July 2012 - 04:52 AM

Quote

Answer;

You don't have a good enough computer.

I used to be able to get double digit fps just fine though...

Quote

No, not the computer. All Java's fault. It's not very reliable, you know. I don't even know why they use it on like everything in existence.

I think it's because it's easy to work with and is able to be used on all operating systems.

Quote

When was the last time you gave your computer a good system clean up or a fresh reinstall?

Er... a what?  I is confused.
Adikista is not yet fully developed and open to the public.  If you're highly interested and want to help, feel free to contact me.  Otherwise, you are free to log in, but you probably won't have much to do yet.
Posted Image
directorate.asuscomm.com | http://adikista.free...s.org/index.php

#16

fm87
    fm87

    Beyond the Horizon

  • Members
  • 22016 posts

Posted 06 July 2012 - 06:00 AM

You may have malware, run a full scan with Malwarebytes.

If that is not the case, you might have a lot of background programs running, or your antivirus might be running a scan while you play.

#17

Typical_Name

Posted 06 July 2012 - 07:31 AM

View Postfm87, on 06 July 2012 - 06:00 AM, said:

You may have malware, run a full scan with Malwarebytes.

If that is not the case, you might have a lot of background programs running, or your antivirus might be running a scan while you play.

I'm extremely noob with this sort of stuff.  What is this and how do I use it?
Adikista is not yet fully developed and open to the public.  If you're highly interested and want to help, feel free to contact me.  Otherwise, you are free to log in, but you probably won't have much to do yet.
Posted Image
directorate.asuscomm.com | http://adikista.free...s.org/index.php

#18

fm87
    fm87

    Beyond the Horizon

  • Members
  • 22016 posts

Posted 06 July 2012 - 07:38 AM

View PostTypical_Name, on 06 July 2012 - 07:31 AM, said:

I'm extremely noob with this sort of stuff.  What is this and how do I use it?
Download Malwarebytes, install it, and run a full scan.

#19

NotSpeltWrong
  • Location: The event horizon of a black hole,where time and space are so warped that people looking at me see me as standing still, while in fact the gravity is so strong it turns me into a long strand of spaghetti right before i fall into infinite nothingness.
  • Minecraft: ownzyaface
  • Xbox:NotSpeltWrong

Posted 06 July 2012 - 07:42 AM

Minecraft is coded in java :\
Posted Image

#20

fiteallison

Posted 06 July 2012 - 07:48 AM

It could be a simple connection/router/provider issue
Posted ImagePosted ImagePosted ImagePosted Image