Jump to content

Help
Latest News Article

[1.9pr] Threaded Lag Fix


184 replies to this topic

#41

Posted 23 September 2011 - 07:58 PM

View PostiPeer, on 23 September 2011 - 05:02 PM, said:

I created this because I was one of the unfortunate people who were lagging very badly in the 1.9 pre release (and missing out on all the cool new stuff!).

It changes bn.class so that it only starts the thread when the level is actually saving and stops it when it's finished, rather than having it running all the time.

You can download the class file here.

Although this mod has been tested as stable, I still recommend backing up your saves directory. Also, I am not sure how (if at all) it effects the autosave of Minecraft, so you might want to be careful of that, too.

I know there's already another mod floating around that attempts to fix this issue, but it doesn't seem to work for everyone.

People who are saying it's the same file: Of course it's the CLASS file of the jar, it's the same fix! If you think I'm just re-hosting his file, decompile them both, I'll be happy to prove you wrong.

For those who can't decompile the classes, or don't know how, and think I just copied the other guy, here's my code and here's his code. Just because we both change the threads priority, doesn't automatically mean I copied him, or vice versa. I'm not trying to better him nor am I trying to steal his thunder. I'm just trying to help the people who have this issue.
Thanks, I will test it as soon as possible. May be tomorrow.

Register or log in to remove.

#42

Posted 23 September 2011 - 08:11 PM

Still getting the spikes every few seconds, 200fps though.
Twin Frozr III 570
2500k
8gb Corsair Vengeance Blue 1600MHz

#43

  • Location: BRAZIL !!!
  • Minecraft: thiagound

Posted 23 September 2011 - 08:24 PM

MAN how did you do this? REALLY?? I'm getting more fps than in 1.8 LOL if thanks alot ^^
(the other one didn't help me with anything, but this is ... :o)
' The future ain't what it used to be

#44

  • Location: Michigan
  • Minecraft: BlockinmyPoclet

Posted 23 September 2011 - 08:32 PM

OP get over here and do me now.

To the people claiming it's the same code, why is it this one works for me and the other one didn't work on my particular setup?

Just do us all a solid, throw your keyboards in the trash.
Posted Image

#45

  • Location: Dark open subterranean areas

Posted 23 September 2011 - 08:35 PM

Hm.. so which one is a better fix then? iPeer's fix or the other guy?

#46

  • Location: Michigan
  • Minecraft: BlockinmyPoclet

Posted 23 September 2011 - 08:43 PM

View PostGigantic Tarantula, on 23 September 2011 - 08:35 PM, said:

Hm.. so which one is a better fix then? iPeer's fix or the other guy?

The better one is the one that works for you.
Posted Image

#47

Posted 23 September 2011 - 08:48 PM

My problem is that MInecraft lags other programs like Chrome, Im trying to watch a youtube video and the video is lagging out because of minecraft, but minecraft is only taking up like 600k. and chrome is taking like 60k. but, its laggin' out youtube. and its annoying, so will this fix it?
Posted Image
Get Big.

#48

    Corbald

    Zombie Killer

  • Members
  • 248 posts

Posted 23 September 2011 - 09:28 PM

Significant improvement compared to the other fix! From ~1 fps w/o any fix, to ~3 with the other guy's. To ~16-20 w/ yours.

EDIT: please send this to Notch!
Cure for 'Summertime Blues' found! Entails painful injections to scrotum.

'Elmer Fudd Blues' Still tragically lethal.

#49

    Skull01

    Out of the Water

  • Members
  • 6 posts

Posted 23 September 2011 - 09:32 PM

Sweet man, this worked wonders

#50

  • Location: Arlington, TX
  • Minecraft: BR0BOCOP

Posted 23 September 2011 - 09:34 PM

OMG THANK YOU I'm getting like, 30-50 fps compaired to 3-6 fps before! THANK YOU

#51

Posted 23 September 2011 - 09:43 PM

This is excellent. I went from 3 fps to 35-40. Thanks a lot.

#52

  • Minecraft: TheKing027

Posted 23 September 2011 - 09:45 PM

Wow, this is a great fix! I had less lag, the second I started playing.
I scored 100% on the Minecraft Trivia Quiz. How much do you know about Minecraft?

#53

Posted 23 September 2011 - 10:17 PM

This guy deserves a medal, like now.
A proud Minecrafter Since August 2010.
Zombiecraft maps!

#54

  • Location: In the back of a scary white van and the man has good candy!

Posted 23 September 2011 - 10:38 PM

THANK YOU! My FPS went from 2 to 50-60 :D Now I can play the new stuff!

BELACMAN1039! Posted Image


#55

Posted 23 September 2011 - 11:37 PM

While this fix didn't increase normal FPS for me (still down from 30-40 to 20-30 from 1.7.3 to 1.8/1.9) it did stop the very frequent lag spikes that would bring me to 0-5fps.

AMD dual core 1.8Ghz
2GB RAM
Java 6 32bit (7 won't work for me)

#56

  • Location: BRAZIL !!!
  • Minecraft: thiagound

Posted 23 September 2011 - 11:38 PM

Like i said before, this mod is AWESOME and i got from 1~3fps to 30~50 :)
I reccomend it to everybody!
' The future ain't what it used to be

#57

  • Location: the nether
  • Minecraft: charlie6127

Posted 24 September 2011 - 12:03 AM

this one works other mod didnt so diamends for you :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond: :Diamond:

#58

  • Minecraft: GenuineSounds

Posted 24 September 2011 - 12:05 AM

TO ALL THAT FLAMED: It is different from mine. I would know... Added a link to yours from my page.

#59

  • Location: Flowery Branch, GA
  • Minecraft: mykehdoom

Posted 24 September 2011 - 12:15 AM

I just wanted to say thank you for this. I believe you when you say you didn't copy anyone. I looked at both the codes, and they are different. Yours works better for me. I really appreciate the work. Kudos.
Posted Image

#60

    Corbald

    Zombie Killer

  • Members
  • 248 posts

Posted 24 September 2011 - 12:16 AM

VERY cool cooperation guys. Here's hoping you two can get together and COMBINE these fine fixes!
Cure for 'Summertime Blues' found! Entails painful injections to scrotum.

'Elmer Fudd Blues' Still tragically lethal.