Wow, sp614x, it's really impressive how far you've taken this mod in the past few years!
I think a major problem is that Minecraft devs mostly develop and test on powerful computers, so they rarely feel the performance issues they're causing.
A PC has dozens of potential performance bottlenecks, and games that run on varied hardware stress different combinations of them. When I developed some of the first performance mods, I was trying to play Minecraft on an extremely slow laptop. My 5400RPM hard drive meant I constantly ran into disk seek latency bottlenecks, and that pain drove me to write McRegion. My second bottleneck was a slow integrated Intel GPU, leading to Optimine and rewritten text rendering routines.
CPU speed and memory is another easy bottleneck that's triggered by large amounts of garbage being generated. If your computer can keep up, the pauses will likely be unnoticeable, but when you start falling behind it's horrible. A few days of exploratory hacking reduced garbage generation rates by 80%, but the resulting tiny scattered changes are a pain to maintain. I'm sure you've experienced the same thing.
Has Mojang performed a hardware survey? I'd expect that a decent percentage of their players are using older, slower computers, and likely feel the pain of wasteful changes like this.
- Registered Member
Member for 10 years, 8 months, and 27 days
Last active Wed, Feb, 3 2016 21:41:09
- 3 Followers
- 187 Total Posts
- 26 Thanks
Oct 20, 2014Scaevolus posted a message on OptiFine HD (FPS Boost, Dynamic Lights, Shaders and much more)Posted in: Minecraft Mods
Mar 27, 2011Unfortunately, Java limitations make this a very bad idea. MappedByteBuffers must be allocated whenever the file size changes (i.e. when a new chunk is saved), and Java will never free the old memory-mapped segments. This leads to the process gradually taking more and more memory until you start swapping like crazy.Posted in: Requests / Ideas For Mods
I tried it in McRegion prototypes. It doesn't work.
Feb 27, 2011I changed some stuff:Posted in: Minecraft Tools
* Rewrote cache to use a hashtable instead of trees (performance), fix a few memory leaks
* Fixed swapped z/x coordinates in status bar that could confuse people, add GTK Reload option, fix a few display bugs
* Recycle last freed block from cache, do more stack allocation when C99 detected, reuse zlib context (avoid mallocs)
* Use checkerboard pattern for missing tiles, reduce useless memory copies
Feb 25, 2011Scaevolus posted a message on [16x][1.1]Kas's Painterly Pack [Constently Updated]It's not like painterly pack has special microscopic transparent pixels to cause seam issues-- that's impossible.Posted in: Resource Packs
Try looking at it with the default texture pack. You'll notice the exact same problem.
Feb 24, 2011Woot pointed out an error I made in oi.class that broke modloader, here's a fix:Posted in: Minecraft Mods
Feb 24, 2011Could someone give me a screenshot of the colored text bug?Posted in: Minecraft Mods
Feb 23, 2011 Posted in: Minecraft Mods
Feb 23, 2011Posted in: Mods DiscussionQuote from ANARKY »Quote from soydaniel96 »Quote from ANARKY »Damn it how do I fix the problem of having a SPACE in my user name.....non of the tools will work b/c of that space which is freaking retarded.
Instead of the space, or with the numeric pad
Didnt work...bat file immediatly closes everytime I open it....
Put quotes around it.
Instead of java -jar RegionTool.jar unpack C:\Users\Some Dude, do java -jar RegionTool.jar unpack "C:\Users\Some Dude"
Feb 22, 2011Posted in: Mods DiscussionQuote from cwiem »I registered to post this fix i stumbled across. I had issues getting my unpacked files to load into minecraft. Out of desperation I tried renaming the files in my region folder from the *.data extension used my McRegion to *.mcr. This appears to have worked and my world appears fine.
Of course back everything up in case this doesn't work for you.
Just to warn you, this will corrupt one chunk per region file, so I don't recommend it.
Feb 20, 2011Posted in: Mods DiscussionQuote from Stickbabiga »After installing this (along with Optimine) I went down from 210 fps to aroun 30-70fps. AND I HAVE NEVER BEEN HAPPIER!!!!!!!!!! When running my game before these mods, i was getting MAJOR lag spikes EVERY time a chunk was updated. So much to the point where riding a minecart was unbearable. The only problem I had with this mod is that it no longer make MCedit work (because MCedit saves chunks in the default manner). I had to reinstall minecraft and lost all of my worlds except one. (The only one that actually mattered). I don't blame you though. I love these mods and I hope makes them default or something or other.
Try it without Optimine, Optimine usually *reduces* performance for people that were getting >100FPS.
Feb 10, 2011Posted in: Mods DiscussionQuote from djdclarke »As you get to the bigger world sizes (1.5GB+) on a lot of linux OS you will have an issue with too many open files as the code for the converter does not follow the try-catch-final principal of file handling. I've done a couple of very very small changes that fix this for my map (2gb or so).
The proper way to fix this is to call RegionFileCache.clear() after every few chunks that are written... I just haven't gotten around to doing it yet.
- To post a comment, please login.