4mil Chunk generation slowdown.
#13
I believe it's mostly due to the caches.

Take the biome cache, for example. By default it stores up to 4 * 64 chunks worth of biomes. When the spawn generator goes from left to right for the first time, it primes the cache. When it goes back from right to left, it re-uses most of the values in the cache, adding only those that are one chunk below. However, that only works as long as the values from the first pass stay in the cache. When the left-to-right pass is too long, the values from the start of the run get pushed off out of the cache before the left-to-right pass is completed, so the following right-to-left pass has to generate them again. In my opinion that's what happens at the first drop in the graph, at around 40 % of the X axis.
First the biome cache gets depleted like this, because it's the most heavily used one. Then the composition cache gets depleted, and that's when the line starts going all wiggly.
Reply
Thanks given by:


Messages In This Thread
4mil Chunk generation slowdown. - by ThuGie - 10-06-2015, 04:46 AM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 04:55 AM
RE: 4mil Chunk generation slowdown. - by NiLSPACE - 10-06-2015, 04:57 AM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 04:59 AM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 05:02 AM
RE: 4mil Chunk generation slowdown. - by NiLSPACE - 10-06-2015, 05:32 AM
RE: 4mil Chunk generation slowdown. - by ThuGie - 10-06-2015, 05:16 AM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 05:44 AM
RE: 4mil Chunk generation slowdown. - by NiLSPACE - 10-06-2015, 06:13 AM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 06:38 AM
RE: 4mil Chunk generation slowdown. - by ThuGie - 10-06-2015, 06:46 AM
RE: 4mil Chunk generation slowdown. - by NiLSPACE - 10-06-2015, 04:52 PM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 06:27 PM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 06:36 PM
RE: 4mil Chunk generation slowdown. - by xoft - 10-06-2015, 09:54 PM
RE: 4mil Chunk generation slowdown. - by ThuGie - 10-07-2015, 02:34 AM
RE: 4mil Chunk generation slowdown. - by xoft - 10-07-2015, 06:59 AM
RE: 4mil Chunk generation slowdown. - by ThuGie - 10-07-2015, 07:43 AM



Users browsing this thread: 1 Guest(s)