I don't mean lagging as in 0 FPS, i'm talking about lagging as if you where playing on a server with a high ping, I'm seriously playing on single player, and yet it lags, every block i break comes out 10 seconds later, how do i fix this?, the only thing i know is that i always set the server seed to 1337, and my settings are at max (with 100+ FPS)
It could be something else, but not sure why it's happening. I have a world where I routinely see a ping of ~1000ms even when i don't open to lan. Found a post about using mcedit to try to repair regions, still have high ping. I made a new world and my ping is between 0 and 2 ms (which is what it should be.) On the offending world, I have ONE redstone pulsar, a large sugarcane farm, and a couple of other things. I usually have a ton of redstone contraptions, automated farms for drops/xp and usually don't break 30ms, but this one world for some reason has rediculous lag. My recomendation is to start a new world, play it for an hour or so, and monitor your ping. Hopefully, you experience what I did, and the new world has no lag. Also, note that I am on 1.7.4, with no mods installed (do any even exist yet at that version?) and have made NO other changes.
I am a programmer, though I haven't done any java in a LONG time, but I know how to troubleshoot still. Should I find an exact reason as to what is going on, I'll submit a bug report to Mojira. It is highly possible that this is a bug with the world generator that Mojang is not aware of, because as of yet, I haven't seen any reports on it (which makes sense since it's not happening every time).
It could be something else, but not sure why it's happening. I have a world where I routinely see a ping of ~1000ms even when i don't open to lan. Found a post about using mcedit to try to repair regions, still have high ping. I made a new world and my ping is between 0 and 2 ms (which is what it should be.) On the offending world, I have ONE redstone pulsar, a large sugarcane farm, and a couple of other things. I usually have a ton of redstone contraptions, automated farms for drops/xp and usually don't break 30ms, but this one world for some reason has rediculous lag. My recomendation is to start a new world, play it for an hour or so, and monitor your ping. Hopefully, you experience what I did, and the new world has no lag. Also, note that I am on 1.7.4, with no mods installed (do any even exist yet at that version?) and have made NO other changes.
I am a programmer, though I haven't done any java in a LONG time, but I know how to troubleshoot still. Should I find an exact reason as to what is going on, I'll submit a bug report to Mojira. It is highly possible that this is a bug with the world generator that Mojang is not aware of, because as of yet, I haven't seen any reports on it (which makes sense since it's not happening every time).
How do you find out the ping for single player? I thought that was for multiplayer only.
That is exactly the problem. Ping is usually only for ONLINE play, but ever since this LAN mode option has been added to minecraft, even in singleplayer you are on a server, all be it one that is not accepting any connections. This is why (usually) if you click open to lan, your ping will not change. Your ping to yourself (which is the singleplayer ping, or your ping if YOU open to LAN) should never get above 30ms, unless something on your computer is choking the server process. The problem is that minecraft itself seems to be choking its own server for resources on some worlds, even if you never open to LAN.For ANY game mode, your ping should be the P: on the 4th line of the F3 info. I will edit my post with screens as soon as I can figure out how to upload them of an offending world and a normal one.
Edit:
Non-offending world:
Offending world:
Edit2: I tried doing a "spoiler" type box for the pics, but I cannot find it on here, and the code tags just change it to the http link. notice how on picture 1 I have a P: 22, but on picture 2 it is over 800. these are both on singleplayer, within a few seconds of each other, and I am not much further in pic 2 than I am in pic 1. The entity count (E: 4/108) does not usually affect this number. Also notice that I'm using more RAM than in pic 1, and less of everything but the Entities just about (which makes sense, AI should take up more ram than a list of points and lines(chunks)). Only correlation I have noticed so far is that whatever the ALL: is for is higher with the higher ping as is whatever the I: is.
Your connection speed is not the problem. If the connection speed theory is true, then I wouldn't be able to play Minecraft (offline) on an computer without a network cable connected, but I can (and do).
It most most likely your hardware that is most likely slowing it down. What are your specs?
That is exactly the problem. Ping is usually only for ONLINE play, but ever since this LAN mode option has been added to minecraft, even in singleplayer you are on a server, all be it one that is not accepting any connections. This is why (usually) if you click open to lan, your ping will not change. Your ping to yourself (which is the singleplayer ping, or your ping if YOU open to LAN) should never get above 30ms, unless something on your computer is choking the server process. The problem is that minecraft itself seems to be choking its own server for resources on some worlds, even if you never open to LAN.For ANY game mode, your ping should be the P: on the 4th line of the F3 info. I will edit my post with screens as soon as I can figure out how to upload them of an offending world and a normal one.
Edit:
Non-offending world:
Offending world:
Edit2: Notice how on picture 1 I have a P: 22, but on picture 2 it is over 800. these are both on singleplayer, within a few seconds of each other, and I am not much further in pic 2 than I am in pic 1. The entity count (E: 4/108) does not usually affect this number. Also notice that I'm using more RAM than in pic 1, and less of everything but the Entities just about (which makes sense, AI should take up more ram than a list of points and lines(chunks)). Only correlation I have noticed so far is that whatever the ALL: is for is higher with the higher ping as is whatever the I: is.
I don't think that is the ping. The Minecraft wiki says that is the number of particles on screen.
EDIT: Yeah that is not ping. My P: was 1400 and once I set particles to minimal it went down to 0.
@matthew This makes sense. the P being particles that is. I can't believe I didn't think of that (it's always a high number when my latency indicator is low). Screen shot shows same fps in the "offending world" however, if I mine a block, it takes about 4-5 seconds to despawn the block and drop the item, and most of the time this doesn't happen. I have confirmed that the world from the first screen does NOT have this problem, even with 4 people playing and me being the host. I did one time get a failure to save warning from minecraft on the suspect world, but this was well after the strange lag issues started (probably about 4 RL days).
In general:
At least in my case, it is not the hardware. More than likely, something about that world is corrupted, and despite an article I found, MCEdit cannot fix it.
When this occurs on ONE world which now contains LESS explored area than the new one, and it doesn't happen on the new one, the only ways it could be hardware is a RAM failure, or bad sectors on the HDD/SSD or where ever minecraft is loading its info from. Its definitely not a failure of my RAM, because I have a lot of experience with the kinds of chaos that ensues with RAM failure and this is the only issue I have with anything on my pc.
Its not a USB failure (which is where I am currently keeping my unmodded minecraft). I have ran multiple integrity checks in Ubuntu and Windows, and have gotten no I/O or disk read errors from this disk. If the USB drive was failing, Ubuntu would have found it. Also, again, the new world is running fine from this world.
Finally, to assist with general troubleshooting overall, NONE of the worlds I am currently refering to (actually none of them in my 1.7.4 saves at all) are remade, nor are they imported from a previous version of minecraft. I always start over when a new version is released and I download it.
I am a programmer, though I haven't done any java in a LONG time, but I know how to troubleshoot still. Should I find an exact reason as to what is going on, I'll submit a bug report to Mojira. It is highly possible that this is a bug with the world generator that Mojang is not aware of, because as of yet, I haven't seen any reports on it (which makes sense since it's not happening every time).
How do you find out the ping for single player? I thought that was for multiplayer only.
Edit:
Non-offending world:
Offending world:
Edit2: I tried doing a "spoiler" type box for the pics, but I cannot find it on here, and the code tags just change it to the http link. notice how on picture 1 I have a P: 22, but on picture 2 it is over 800. these are both on singleplayer, within a few seconds of each other, and I am not much further in pic 2 than I am in pic 1. The entity count (E: 4/108) does not usually affect this number. Also notice that I'm using more RAM than in pic 1, and less of everything but the Entities just about (which makes sense, AI should take up more ram than a list of points and lines(chunks)). Only correlation I have noticed so far is that whatever the ALL: is for is higher with the higher ping as is whatever the I: is.
It most most likely your hardware that is most likely slowing it down. What are your specs?
At least 86% of what I say is always correct.
I don't think that is the ping. The Minecraft wiki says that is the number of particles on screen.
EDIT: Yeah that is not ping. My P: was 1400 and once I set particles to minimal it went down to 0.
In general:
At least in my case, it is not the hardware. More than likely, something about that world is corrupted, and despite an article I found, MCEdit cannot fix it.
When this occurs on ONE world which now contains LESS explored area than the new one, and it doesn't happen on the new one, the only ways it could be hardware is a RAM failure, or bad sectors on the HDD/SSD or where ever minecraft is loading its info from. Its definitely not a failure of my RAM, because I have a lot of experience with the kinds of chaos that ensues with RAM failure and this is the only issue I have with anything on my pc.
Its not a USB failure (which is where I am currently keeping my unmodded minecraft). I have ran multiple integrity checks in Ubuntu and Windows, and have gotten no I/O or disk read errors from this disk. If the USB drive was failing, Ubuntu would have found it. Also, again, the new world is running fine from this world.
Finally, to assist with general troubleshooting overall, NONE of the worlds I am currently refering to (actually none of them in my 1.7.4 saves at all) are remade, nor are they imported from a previous version of minecraft. I always start over when a new version is released and I download it.