• 0

    posted a message on [1.7.3] [SSP] OptiTick
    Quote from Lanceros

    Doesn't work at all for me, vanilla minecraft with just this installed and still didn't it crashes while trying to generate a world, and I've also tried it with Optifine installed and it didn't even get to the menu screen.


    Vanilla minecraft works for you?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    Quote from mikeydoom1988

    Here's my proof! Vanilla mincraft with Optitick+Optifine:




    Getting over 130 FPS on my 8 year old computer.


    Wow that's nifty stuff, thanks. Almost no white on the tops of those bars.


    Hey that's a mac... interesting :wink.gif:


    If you don't have a lot of CPU cache (Celeron or Core-i3) then OptiTick might help, but won't give you a huge boost.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    Quote from mikeydoom1988

    The 100+ FPS comes from using default minecraft 16x16 textures. I forgot I was using HD textures in the screenshots. =/ I can retake them if yall would like.


    That'd be great actually. Theoretically I see how it's possible on a machine faster than mine, but it'd be nice to see it.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    Quote from roxicodine

    how do u make itcompatable with modloader.


    remove ok.class from OptiTick


    answered x3, done
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    Quote from Justin17

    Modloader uses ok.class btw :ohmy.gif:


    That's fine, most of the benefit comes from fd.class - use ModLoader's version of ok.class.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    Quote from IX iTzRogue XI

    Edit: OT, I think I removed OptiTick since it made chunks appear slower. I was trapped inside a straight sided box floor.


    If anyone else sees this result in single player please post here.

    Quote from sp614x

    Can someone post a debug screenshot before/after?


    I wasn't sure why/how people were getting those huge numbers... notch said pretty much the same thing, you won't see a big fps improvement
    https://twitter.com/#!/notch/status/98804377673936899

    The best thing to look at is the rate of memory allocation. Here's VisualVM when I ran the same 1.5 minute path along a new world beach:
    BEFORE (OptiFine only run from Minecraft.exe)

    AFTER (OptiTick+OptiFine run from Minecraft.exe)


    Of course, JVM options and a big beefy CPU will reduce or eliminate the need for OptiTick. Running with the -XX:+DoEscapeAnalysis option (enabled by default in JDK7!) will nearly hide the benefits of OptiTick.

    Quote from mikeydoom1988

    Vanilla Minecraft:

    With Optitick:

    With Optitick + Optifine:



    Where did your 100+fps come from?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    I have issued a pull request for CraftBukkit. The server version uses trove4j.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    Quote from Sko

    Nice addition to OptiFine, thank you. Is it the same mechanism as in Tall Grass Lag Fix?


    No, but it does affect related logic. That logic is what draws a 144x144(?) cube around every player in minecraft single player and on a minecraft server and randomly updates blocks in those chunks.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    I'll gladly work with any addon dev out there. Here is a link to the subset of the Java library I'm using:
    http://dl.dropbox.com/u/2792753/fastutil-6.3-int2obj.jar

    The full library is available at:
    http://fastutil.dsi.unimi.it/


    My first priority today is getting this in a pull request for CraftBukkit. I'll have client and server side patches against MCP and CraftBukkit patches posted in pastebin after that's done.
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.3] [SSP] OptiTick
    WOW WOW WOW

    I just saw this
    Quote from @notch »

    HashMap<Integer, Chunk>().hasKey(12) will allocate ram each time you call it. Our IntHashMap that uses native int keys instead, and doesn't.



    So OptiTick might give you 1.8 performance characteristics in minecraft 1.7.3!

    This means that MC 1.8 stock just might play nicer with lowspec machines.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [SSP] OptiTick
    Ok I repro'd your problem. Recompiling with Java 6.

    Version 1.0.1: recompiled with jdk6, added CHANGELOG
    Posted in: Minecraft Mods
  • 8

    posted a message on [1.7.3] [SSP] OptiTick
    Download OptiTick 1.0.1 (same url/filename)

    *What is this?*

    OptiTick is a quick optimization of one critical part of the World.tick method on the client.

    In short, this avoids creating Integer and ChunkCoordIntPair objects where they were most common. This helps keep memory usage down and saves a lot of CPU cycles.

    In greater detail, this uses a subset of the "fastutil" Java library to avoid object creation and get a good speed improvement.

    It replaces HashMap<Integer,Object> with Int2ObjectOpenHashMap and HashSet<Integer> with IntOpenHashSet.


    *How do I use it?*

    I recommend MCPatcher, select "/" folder on import.

    Otherwise follow directions for some of the other fantastic mods out there.


    *What other mods? What do you recommend?*

    Try OptiFine by sp614x. It's great and combined with OptiTick will make MC playable on lower-end gaming laptops.


    *What kind of performance change might I get?*

    You should NOT see an FPS improvement. You will see your memory increase slower and you will see less GC "thrashing" which massively improves playability on slower machines. Fast CPUs and JDK7 reduces the visibility of the problems this mod fixes.

    Anecdotally OptiFine + OptiTick has made MC a painless experience for me on my travel laptop.


    *When I connect to my server XYZ happens*
    You will not see any benefit from using this patch and connecting to a server. No stability improvement, no reduction of lag or network usage. This is for single player performance improvement only.


    *I get conflicts!*

    The relative importance of classes I changed:
    fd.class *****
    ok.class ***
    cg.class *


    *I want to integrate your mod into my megapack!*

    Feel free to do so. If you like, contact me via PM and I will provide diffs from MCP or whatever other decompile method you instruct me on.


    *License & Misc*

    Minecraft is copyright Mojang AB.

    The OptiTick modifications are public domain.

    Fastutil uses the Apache-2.0 license. Fastutil has been modified: it has been repackaged to only use the required classes so to improve the distribution of this mod.

    Download OptiTick 1.0.1
    Posted in: Minecraft Mods
  • 0

    posted a message on Come At Me Bro - Extra-Hardcore / No Rules SMP
    Added experimental multiplayer throughput changes. Server could crash & burn, I'll check at lunch.
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on Come At Me Bro - Extra-Hardcore / No Rules SMP
    Reverted the data queue restrictions - should be almost no force disconnects now, we'll see how the server does.

    I also may have fixed the long standing mark/reset bug.
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on Come At Me Bro - Extra-Hardcore / No Rules SMP
    New networking code is frequently disconnecting everyone. I will disable it tonight and work on a better way of throttling slow clients.
    Posted in: Minecraft Survival Servers (archive)
  • To post a comment, please or register a new account.