My minecraft is really laggy, and it is bugging me a lot. I must have graphics on fast, sound and music off and render distance on tiny to stop the lag and let the game run smoothly. I can just forget to record anything, that makes the game get an unbearable lag. I have tried removing anything that can make the game laggy, like lava and TNT, but it doesn't help. I have noticed the CPU usage go straight to 100% the moment I boot up Minecraft, so that can suggest my processor sucks really hard. My PC is about a year old. I use CCleaner, Spybot S&D and Norton VirusScan regularly.
I really suck at these PC hardware things, so maybe I can get the opinion of somebody who has a bit more knowledge on this matter? I have here put all details on my PC hardware. I want to know, what here is bad, what should i upgrade, is upgrading that thing hard, and is it worth it? Can you suggest other reasons my game lags?
Thanks for your help!
Processor: Intel(R) Celeron(R) CPU 900 @ 2.20GHz
Memory (RAM): 3,00 GB
Graphics: Mobile Intel(R) 4 Series Express Chipset Family
Game graphics: 1309 Total available screen memory (MB)
Primary hard disk: 193GB available (287GB total)
Windows Vista Home Basic
System
--------------------------------------------------------------------------------
Producer: Hewlett-Packard
Model: Compaq Presario CQ61 Notebook PC
Total system memory: 3,00 GB RAM
System type:32-bits OS
Processor cores: 1
Compilable with 64-bits: Yes
Total size of hard disk(s): 298 GB
Disk part(C:): 193 GB available (287 GB total)
Disk part (D:) 2 GB available (11 GB total)
Media station (E:): CD/DVD
Screen card type: Mobile Intel(R) 4 Series Express Chipset Family
Total available screen memory: 1309 MB
Dedicated screen memory: 64 MB
Dedicated system memory: 64 MB
Shared system memory: 1181 MB
Driver version for screen card: 7.15.10.1591
Resolution on primary screen: 1366x768
DirectX-version: DirectX 10
processor could use a boost but the thing holding that one back is definitely the video "card". Get a decent discrete video card such as an AMD 5670 1GB, they are just $100ish nowadays. Onboard + minecraft = SUCK.
~edit~
I see it's a notebook. sorry to say, there's no way to replace video in one of those.
I would suggest you build a desktop to play minecraft or put up with it's sluggishness.
Rollback Post to RevisionRollBack
am2 x2 2.2GHz with 4GB on 15/3 comcast home connection hosting two private minecraft servers on windows 7 x64
Blame Java, also try looking in the Guide to increasing fps in the support section, It reduced most of my lagg.
You look at the specs of his computer and pound out "Blame Java" on your keyboard? Facepalm?
---------------------------------
The processor is pretty bad and the integrated graphics are ****. This laptop I've been borrowing has a similar graphics chip and they are NOT designed to play games. Most games I've tried playing on this computer have crashed the graphics drivers and caused the computer to blue screen. I can run Minecraft on normal and sometimes at about 10 FPS on far.
I am endeavoring to remember that you are a miracle, a wondrous human being created in the image of God and that I shouldn't wish for your balls to spontaneously combust.
Wow, these mods actually works!
OMG! I just saw the fps go over 50! That is the highest fps I have Ever experienced! Nice!
NP anytime, I had the same issue with the Intel Graphics Cards, took me a while (Google searching)
and BTW it also heaps with server lag as well, (FPS wise).
Rollback Post to RevisionRollBack
Quote from Rycorinator »
Quote from KarkasmolenKlok »
HAH
wheres your "use search bar" now???
I am endeavoring to remember that you are a miracle, a wondrous human being created in the image of God and that I shouldn't wish for your balls to spontaneously combust.
It shouldn't, but it seems that most kids (in age and/or computer experience) these days think that anything under 4 cores and 3GHz can't run a toaster.
An example of good code and efficient code in a game is the first roller coaster tycoon. That was written mostly in assembler and would run rather well on quite slow and old computers. I think the oldest comp I had ever run it on was a K6-2 400MHz with 128MB ram, and it ran quite well even with quite a large "park" running. To those too young in computer experience or age or both to remember, the K6-2 was not very fast cpu even for the MHz, and compared to cpus of today I think it would equal 200MHz or less of any current CPU core, but there were worse CPUs out there like the Cyrix MII and MIII.
There is someone making a C++ based minecraft server who posts right here on these forums, and it would run equally well on that same 400MHz K6-2 as the java server runs on a dual core 2GHz machine. I actually own a pentium II 300MHz which can accept 768MB ram, a celeron 800MHz which can accept 512MB ram, and a P3 1GHz which can accept 512MB ram and I have tested that server on a few of these machines with rather good results, so yes, good code can indeed run on much lesser machines then inefficient code - and java is a very inefficient language.
And then there is the matter of embedded systems. I won't even go into those except to say that you would be surprised what a little 20MHz CPU with a few KB of ram can do in an embedded task with proper programming...
Don't mind this rant, I just woke up from the worst nightmare I can remember and am quite grumpy.
Rollback Post to RevisionRollBack
am2 x2 2.2GHz with 4GB on 15/3 comcast home connection hosting two private minecraft servers on windows 7 x64
Blame Java, also try looking in the Guide to increasing fps in the support section, It reduced most of my lagg.
You look at the specs of his computer and pound out "Blame Java" on your keyboard? Facepalm?
Doesn't excuse bad code does it?
Never said anything about Notch's code.
Quote from jaqiefox »
It shouldn't, but it seems that most kids (in age and/or computer experience) these days think that anything under 4 cores and 3GHz can't run a toaster.
An example of good code and efficient code in a game is the first roller coaster tycoon. That was written mostly in assembler and would run rather well on quite slow and old computers. I think the oldest comp I had ever run it on was a K6-2 400MHz with 128MB ram, and it ran quite well even with quite a large "park" running. To those too young in computer experience or age or both to remember, the K6-2 was not very fast cpu even for the MHz, and compared to cpus of today I think it would equal 200MHz or less of any current CPU core, but there were worse CPUs out there like the Cyrix MII and MIII.
There is someone making a C++ based minecraft server who posts right here on these forums, and it would run equally well on that same 400MHz K6-2 as the java server runs on a dual core 2GHz machine. I actually own a pentium II 300MHz which can accept 768MB ram, a celeron 800MHz which can accept 512MB ram, and a P3 1GHz which can accept 512MB ram and I have tested that server on a few of these machines with rather good results, so yes, good code can indeed run on much lesser machines then inefficient code - and java is a very inefficient language.
And then there is the matter of embedded systems. I won't even go into those except to say that you would be surprised what a little 20MHz CPU with a few KB of ram can do in an embedded task with proper programming...
Don't mind this rant, I just woke up from the worst nightmare I can remember and am quite grumpy.
Yes, Java has its issues.
<-- Java fan boy (because I'm too stupid and/or lazy to figure out C++)
I sure would like a 3GHz+ quad core, but that's out of reach. This laptop I'm using right now has a 2.1GHz core 2 duo and I've never seen it go to 100% while playing Minecraft. I've also never seen Minecraft use all the RAM available on this computer. So whats left to blame? Crappy Intel Integrated graphics? Unoptimized code? The reason I said the processor was "bad" is that I've always heard that Celerons were all junk.
processor could use a boost but the thing holding that one back is definitely the video "card". Get a decent discrete video card such as an AMD 5670 1GB, they are just $100ish nowadays. Onboard + minecraft = SUCK.
~edit~
I see it's a notebook. sorry to say, there's no way to replace video in one of those.
I would suggest you build a desktop to play minecraft or put up with it's sluggishness.
To call any laptop video upgradable is a drastic overstatement in my opinion. Yes, there are a very few you can get a proprietary better card for during the narrow window the manufacturer decides it's profitable to sell a select few video cards designed specifically for that laptop series, but after that you're out of luck entirely.
Rollback Post to RevisionRollBack
am2 x2 2.2GHz with 4GB on 15/3 comcast home connection hosting two private minecraft servers on windows 7 x64
The reason I said the processor was "bad" is that I've always heard that Celerons were all junk.
You may want to rethink that statement, because celerons are the exact same chips that intel sells for much more, with some level 2 cache disabled, and underclocked.
One good example is the one I am running right now, in my main gaming computer, a wolfdale e3200. Here's some stats: http://www.cpu-world.com/CPUs/Celeron_D ... 00%29.html
to put it simply, it's a wolfdale 45nm core 2 duo which has been limited to 1MB L2 cache and factory clocked to 200x11.
Multipliers are hard locked so you can't go over the one set at factory, but if you check there are some high end wolfdales both dual core and quad core which are being sold as 333x10 and even higher, the only true difference with this one and those is that the factory limited the L2 cache and set it to tell the motherboard to run it slowly.
So what to do? I got this cpu for $52 shipped retail with fan, and simply told my motherboard to ignore the 200 and go for 333x10 instead. Result? 3.333GHz core 2 duo at stock voltage with 1MB L2 which on a core-per-core basis outperforms an i7-920 and is what is called prime stable (completely mathematically stable) without actual overclocking, just manually re speedbinning the cpu.
Why the odd numbers that seem low like 200 and 333? Because that is the actual clock rate that core2 series runs at... it runs at QDR, quad data rate, and sends data four times for each clock tick. So when you see 200 think of what the advertisers call 800, and when you see 333, think of what the advertisers call 1333.
Also: the reason you never saw MC use all of your dual core is because it's single threaded, it can't. It can only max out one core, and windows swaps tasks between cores/processors in an SMP machine to keep the heat generated even and avoid thermal damage over long periods of time.
Rollback Post to RevisionRollBack
am2 x2 2.2GHz with 4GB on 15/3 comcast home connection hosting two private minecraft servers on windows 7 x64
Only poor programmers, that can't program fast code, spread such misconceptions as an excuse for their incompetence.
1) I am not a programmer, so that does not apply to me.
2) I see thousands upon thousands of nice fast C family programs, especially PC games.
3) I see NO good, efficient java programs, especially PC games.
Ever hear the expression "The proof is in the pudding"?
as for Jake2... look at their benchmark chart... K6-2 400MHz, the C++ beats the pants off of their java port.
I also have a P2 300MHz, but it seems that even their own benchmarks are showing what I have said already.
Rollback Post to RevisionRollBack
am2 x2 2.2GHz with 4GB on 15/3 comcast home connection hosting two private minecraft servers on windows 7 x64
To the original poster: you may also increase the speed of Minecraft by running it under the server JVM. Under Windows, you need to download the latest JDK (you should always run the latest JRE/JDK because the latest are usually the fastest), and add the -server JVM option, and also adjust the memory sizes, e.g.:
The -server flag turns on some heavy optimisations in the JVM HotSpot compiler (comparable with that used by the GCC -O3 option). The -Xmx option will tell Minecraft to use more RAM (this trades RAM for speed).
JDK, JRE, JVM, GCC -O3, -Xmx? Wtf? I didn't get a single grain of usable information from that, as you should have noticed at my first post, I totally SUCK at those things. I don't know if it even is possible to explain this to a person who doesn't know a huge lot about programming, but can someone give it a try?
... I must seem like a total moron to you guys, not knowing these things.
To the original poster: you may also increase the speed of Minecraft by running it under the server JVM. Under Windows, you need to download the latest JDK (you should always run the latest JRE/JDK because the latest are usually the fastest), and add the -server JVM option, and also adjust the memory sizes, e.g.:
The -server flag turns on some heavy optimisations in the JVM HotSpot compiler (comparable with that used by the GCC -O3 option). The -Xmx option will tell Minecraft to use more RAM (this trades RAM for speed).
JDK, JRE, JVM, GCC -O3, -Xmx? Wtf? I didn't get a single grain of usable information from that, as you should have noticed at my first post, I totally SUCK at those things. I don't know if it even is possible to explain this to a person who doesn't know a huge lot about programming, but can someone give it a try?
... I must seem like a total moron to you guys, not knowing these things.
... Gawd I suck. :sad.gif:
JDK = Java Development Kit (used to make Java programs)
JRE = Java Runtime Environment (used to run Java programs)
JVM = the Java Virtual Machine (a program that acts as a computer, so that the same code can be run on multiple computers. Basically, when you run a Java program, your computer is running the JVM which in turn runs the program you want to run).
GCC = (Gnu Compiler Collection. It is a suite of compilers which will take programs written in various languages and turn them into machine code. It is run at the command line and you can supply "flags" to it to change it's behaviour. One such flag is the optimization flag. "-03" produces code that contains the same optimizations as "-01" and "-02" as well as a few other things. The idea is basically that the computer often knows better than the programming, and can optimize your code so that it runs faster, without the programmer having to be super duper careful.)
-Xmx = maximum heap size that Java is allowed to use. Programs use memory to store information. The memory they use can be separated into two sections, the Stack, and the Heap. The Stack is used for calling and running different procedures, etc, whereas the Heap is what is used to store the majority of the program data (in memory). When running a Java program, you can specify a maximum amount of Ram that the heap is allowed to use, using -Xmx. Similarly, you can specify the minimum amount using -Xms. For example, "-Xmx2048M" means that the program is allowed to use 2048 Megabytes of memory, or 2GB.
-XX = an option that is not officially supported. In the example given "+UseConcMarkSweepGC" is used. While I'm not familiar with it, I can make an educated guess. Java uses what is known as "Garbage Collector." This goes through the program and frees up un-used memory so that it can be used later. In some languages, like C++, the programmer has to keep track of this themselves, but in Java, the Garbage Collector does it for you. This one sounds like "Use Concurrent Mark and Sweep Garbage Collector," which I would assume means that it runs at the same time as the program and operates by first marking all freeable memory, and then in a second pass, frees it. One of the problems with automatic garbage collection is that the programmer has no real control over when it happens, so it might be stealing valuable CPU cycles at a performance critical portion of the game, thus, some Garbage Collectors work better in different situations.
These are basically just things that manipulate how Java uses your computer resources as it runs the game. Of course, if you know what you are doing, and what the game needs, and what you have, then you can tweak it to run optimally on your computer.
Also: the reason you never saw MC use all of your dual core is because it's single threaded, it can't. It can only max out one core, and windows swaps tasks between cores/processors in an SMP machine to keep the heat generated even and avoid thermal damage over long periods of time.
I was watching each core separately. The max any core ever went to was 75%.
Bingo.
it's maxing one core and is being swapped over between the two cores so fast that the average cpu use (what is shown on that chart) for them stays at 50% for each core, and the "extra" use is from other apps and the os itself and overhead.
Rollback Post to RevisionRollBack
am2 x2 2.2GHz with 4GB on 15/3 comcast home connection hosting two private minecraft servers on windows 7 x64
1) I am not a programmer, so that does not apply to me.
2) I see thousands upon thousands of nice fast C family programs, especially PC games.
3) I see NO good, efficient java programs, especially PC games.
Ever hear the expression "The proof is in the pudding"?
as for Jake2... look at their benchmark chart... K6-2 400MHz, the C++ beats the pants off of their java port.
I also have a P2 300MHz, but it seems that even their own benchmarks are showing what I have said already.
So true. Sure java is fast, but no matter how good you are at programming:
1) Java will ALWAYS take longer to execute than the program needs to.
2) Java will ALWAYS use more memory than the program needs to.
I really suck at these PC hardware things, so maybe I can get the opinion of somebody who has a bit more knowledge on this matter? I have here put all details on my PC hardware. I want to know, what here is bad, what should i upgrade, is upgrading that thing hard, and is it worth it? Can you suggest other reasons my game lags?
Thanks for your help!
Processor: Intel(R) Celeron(R) CPU 900 @ 2.20GHz
Memory (RAM): 3,00 GB
Graphics: Mobile Intel(R) 4 Series Express Chipset Family
Game graphics: 1309 Total available screen memory (MB)
Primary hard disk: 193GB available (287GB total)
Windows Vista Home Basic
System
--------------------------------------------------------------------------------
Producer: Hewlett-Packard
Model: Compaq Presario CQ61 Notebook PC
Total system memory: 3,00 GB RAM
System type:32-bits OS
Processor cores: 1
Compilable with 64-bits: Yes
Saving
--------------------------------------------------------------------------------
Total size of hard disk(s): 298 GB
Disk part(C:): 193 GB available (287 GB total)
Disk part (D:) 2 GB available (11 GB total)
Media station (E:): CD/DVD
Graphics
--------------------------------------------------------------------------------
Screen card type: Mobile Intel(R) 4 Series Express Chipset Family
Total available screen memory: 1309 MB
Dedicated screen memory: 64 MB
Dedicated system memory: 64 MB
Shared system memory: 1181 MB
Driver version for screen card: 7.15.10.1591
Resolution on primary screen: 1366x768
DirectX-version: DirectX 10
Network
--------------------------------------------------------------------------------
Network card Realtek PCIe FE Family Controller
Network card Atheros AR5007 802.11b/g WiFi Adapter
Network card Microsoft Tun Miniport Adapter
~edit~
I see it's a notebook. sorry to say, there's no way to replace video in one of those.
I would suggest you build a desktop to play minecraft or put up with it's sluggishness.
You look at the specs of his computer and pound out "Blame Java" on your keyboard? Facepalm?
---------------------------------
The processor is pretty bad and the integrated graphics are ****. This laptop I've been borrowing has a similar graphics chip and they are NOT designed to play games. Most games I've tried playing on this computer have crashed the graphics drivers and caused the computer to blue screen. I can run Minecraft on normal and sometimes at about 10 FPS on far.
CPU: Intel Core 2 Duo T6570 2.10GHz
RAM: 3GB
Graphics chip: Intel GMA 4500MHD
Use the Optimine mod:
viewtopic.php?f=1032&t=132717&p=3050780&hilit=optimine#p3050780
and cause you got an Intel Integrated use:
viewtopic.php?f=1032&t=163101&hilit=intel+intergrated
GL.
Wow, these mods actually works!
OMG! I just saw the fps go over 50! That is the highest fps I have Ever experienced! Nice!
NP anytime, I had the same issue with the Intel Graphics Cards, took me a while (Google searching)
and BTW it also heaps with server lag as well, (FPS wise).
Doesn't excuse bad code does it?
An example of good code and efficient code in a game is the first roller coaster tycoon. That was written mostly in assembler and would run rather well on quite slow and old computers. I think the oldest comp I had ever run it on was a K6-2 400MHz with 128MB ram, and it ran quite well even with quite a large "park" running. To those too young in computer experience or age or both to remember, the K6-2 was not very fast cpu even for the MHz, and compared to cpus of today I think it would equal 200MHz or less of any current CPU core, but there were worse CPUs out there like the Cyrix MII and MIII.
There is someone making a C++ based minecraft server who posts right here on these forums, and it would run equally well on that same 400MHz K6-2 as the java server runs on a dual core 2GHz machine. I actually own a pentium II 300MHz which can accept 768MB ram, a celeron 800MHz which can accept 512MB ram, and a P3 1GHz which can accept 512MB ram and I have tested that server on a few of these machines with rather good results, so yes, good code can indeed run on much lesser machines then inefficient code - and java is a very inefficient language.
And then there is the matter of embedded systems. I won't even go into those except to say that you would be surprised what a little 20MHz CPU with a few KB of ram can do in an embedded task with proper programming...
Don't mind this rant, I just woke up from the worst nightmare I can remember and am quite grumpy.
Never said anything about Notch's code.
Yes, Java has its issues.
<-- Java fan boy (because I'm too stupid and/or lazy to figure out C++)
I sure would like a 3GHz+ quad core, but that's out of reach. This laptop I'm using right now has a 2.1GHz core 2 duo and I've never seen it go to 100% while playing Minecraft. I've also never seen Minecraft use all the RAM available on this computer. So whats left to blame? Crappy Intel Integrated graphics? Unoptimized code? The reason I said the processor was "bad" is that I've always heard that Celerons were all junk.
Is that for just netbooks or all laptops?
You may want to rethink that statement, because celerons are the exact same chips that intel sells for much more, with some level 2 cache disabled, and underclocked.
One good example is the one I am running right now, in my main gaming computer, a wolfdale e3200. Here's some stats:
http://www.cpu-world.com/CPUs/Celeron_D ... 00%29.html
to put it simply, it's a wolfdale 45nm core 2 duo which has been limited to 1MB L2 cache and factory clocked to 200x11.
Multipliers are hard locked so you can't go over the one set at factory, but if you check there are some high end wolfdales both dual core and quad core which are being sold as 333x10 and even higher, the only true difference with this one and those is that the factory limited the L2 cache and set it to tell the motherboard to run it slowly.
So what to do? I got this cpu for $52 shipped retail with fan, and simply told my motherboard to ignore the 200 and go for 333x10 instead. Result? 3.333GHz core 2 duo at stock voltage with 1MB L2 which on a core-per-core basis outperforms an i7-920 and is what is called prime stable (completely mathematically stable) without actual overclocking, just manually re speedbinning the cpu.
Why the odd numbers that seem low like 200 and 333? Because that is the actual clock rate that core2 series runs at... it runs at QDR, quad data rate, and sends data four times for each clock tick. So when you see 200 think of what the advertisers call 800, and when you see 333, think of what the advertisers call 1333.
Also: the reason you never saw MC use all of your dual core is because it's single threaded, it can't. It can only max out one core, and windows swaps tasks between cores/processors in an SMP machine to keep the heat generated even and avoid thermal damage over long periods of time.
1) I am not a programmer, so that does not apply to me.
2) I see thousands upon thousands of nice fast C family programs, especially PC games.
3) I see NO good, efficient java programs, especially PC games.
Ever hear the expression "The proof is in the pudding"?
as for Jake2... look at their benchmark chart... K6-2 400MHz, the C++ beats the pants off of their java port.
I also have a P2 300MHz, but it seems that even their own benchmarks are showing what I have said already.
JDK, JRE, JVM, GCC -O3, -Xmx? Wtf? I didn't get a single grain of usable information from that, as you should have noticed at my first post, I totally SUCK at those things. I don't know if it even is possible to explain this to a person who doesn't know a huge lot about programming, but can someone give it a try?
... I must seem like a total moron to you guys, not knowing these things.
... Gawd I suck. :sad.gif:
JDK = Java Development Kit (used to make Java programs)
JRE = Java Runtime Environment (used to run Java programs)
JVM = the Java Virtual Machine (a program that acts as a computer, so that the same code can be run on multiple computers. Basically, when you run a Java program, your computer is running the JVM which in turn runs the program you want to run).
GCC = (Gnu Compiler Collection. It is a suite of compilers which will take programs written in various languages and turn them into machine code. It is run at the command line and you can supply "flags" to it to change it's behaviour. One such flag is the optimization flag. "-03" produces code that contains the same optimizations as "-01" and "-02" as well as a few other things. The idea is basically that the computer often knows better than the programming, and can optimize your code so that it runs faster, without the programmer having to be super duper careful.)
-Xmx = maximum heap size that Java is allowed to use. Programs use memory to store information. The memory they use can be separated into two sections, the Stack, and the Heap. The Stack is used for calling and running different procedures, etc, whereas the Heap is what is used to store the majority of the program data (in memory). When running a Java program, you can specify a maximum amount of Ram that the heap is allowed to use, using -Xmx. Similarly, you can specify the minimum amount using -Xms. For example, "-Xmx2048M" means that the program is allowed to use 2048 Megabytes of memory, or 2GB.
-XX = an option that is not officially supported. In the example given "+UseConcMarkSweepGC" is used. While I'm not familiar with it, I can make an educated guess. Java uses what is known as "Garbage Collector." This goes through the program and frees up un-used memory so that it can be used later. In some languages, like C++, the programmer has to keep track of this themselves, but in Java, the Garbage Collector does it for you. This one sounds like "Use Concurrent Mark and Sweep Garbage Collector," which I would assume means that it runs at the same time as the program and operates by first marking all freeable memory, and then in a second pass, frees it. One of the problems with automatic garbage collection is that the programmer has no real control over when it happens, so it might be stealing valuable CPU cycles at a performance critical portion of the game, thus, some Garbage Collectors work better in different situations.
These are basically just things that manipulate how Java uses your computer resources as it runs the game. Of course, if you know what you are doing, and what the game needs, and what you have, then you can tweak it to run optimally on your computer.
I was watching each core separately. The max any core ever went to was 75%.
it's maxing one core and is being swapped over between the two cores so fast that the average cpu use (what is shown on that chart) for them stays at 50% for each core, and the "extra" use is from other apps and the os itself and overhead.
So true. Sure java is fast, but no matter how good you are at programming:
1) Java will ALWAYS take longer to execute than the program needs to.
2) Java will ALWAYS use more memory than the program needs to.