After initial mass LOD generation, is there a big performance difference between LZ4 and LZMA2?
Aside from the end file size, it seems like the main difference between LZ4 and LZMA2 is the amount of time it takes to generate a large amount of LODs. But, between the two compression methods is there a significant difference in CPU load when loading\reading\updating the existing LODs?
I am hoping to generate LODs on my system and then distribute the resulting files to some of my friends so they can benefit from DH when we play on my home server (I am using a recent nightly, I just want to save the server\bandwidth strain of having it stream it all to the players). Some of their system specs are a lot lower than mine so if there's a chance that LZMA2 decompresion is too heavy for one of them, I want to use the compression that will work for everyone... but the LZMA2 file size is sooooo much better I would really like to use that.
The weakest CPU being used is probably an i7 4790 or a Ryzen 5 3500, so nothing too horrible, just not high end, and much different from the 5800X3D I'm using.
Thanks for your time.
3 Replies
LZMA will always load and save slower
But if your friend has a weak CPU, does they really have 200 GB of space laying around to have a LZ DH DB?
I have no idea how big of a difference it really makes, but I remember people really happy with the speed up from LZ during generation and gameplay
Thanks for the input. A 200GB DH database would make for an insanely huge world as far as I can tell, but I get what you're saying. I think 25GB (LZ4) is far more reasonable of a size for the world we're dealing with (it was generated before DH), and my friends would have no problem at all storing that amount of data. If they did need more storage, it's much easier to upgrade storage than to upgrade motherboard + CPU in the case of systems that don't have any meaningful CPU upgrade options.
Still, if anyone does know how much of a speed impact there is on an older system, I'd be interested to know. I'm curious if it impacts frame rates mainly. Not so much interested in the speed of LOD pop-in unless it is really bad. If the difference is negligible on anything less than 15 years old, then cutting the file size in half would be nice.
I don’t think it will affect frame rate much, as how much of the CPU DH is using is contorted by the CPU load preset (or advanced threading)
The only thing that might change is the fps slowdown being shorter when LODs load quicker and that should be it