Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No effect in 1.20.5 and later (test further optimisations) #45

Open
yumunet opened this issue Oct 23, 2024 · 2 comments
Open

No effect in 1.20.5 and later (test further optimisations) #45

yumunet opened this issue Oct 23, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@yumunet
Copy link

yumunet commented Oct 23, 2024

I tested with an Intel Core i5-3470 (4 cores 4 threads, base clock is 3.2 GHz) and cannot see the effect in Minecraft 1.20.5 and later.
I can see the effect in 1.20.4 and earlier.

I don't know if this is a bug of Noisium, if it is an issue dependent on my environment, if the world generation has been optimized in 1.20.5, or if it is a compatibility issue with Chunky.
However, I found it odd that it would not be effective with such a slow CPU.

Test

Generate a 2000x2000 range with Chunky as in the benchmark on the Mod page and look at the logged times.

Fabric 0.16.7.
8GB memory is allocated (Argument: -Xms8192m -Xmx8192m -XX:+AlwaysPreTouch).
Video settings were lowered as much as possible (Render distance: 2, Simulation distance: 5, Grapchics: fast, Smooth lighting: off, Max FPS: 30, etc.).

PC Specs:

  • OS: Windows 10
  • CPU: i5-3470
  • GPU: (integrated GPU)
  • RAM: 16GB DDR3-1600
  • Disk: SATA SSD

Do this step 3 times each.

  1. Create world (Game mode: creative, Seed: 1)
  2. Run /tp @s 0 320 0 0 -90 to reduce what is rendered
  3. Wait for CPU usage to drop to about 5%
  4. Run the following commands to start world generation
    /chunky center 10000 10000
    /chunky radius 1000
    /chunky start
    

Result

1.20.5

No effect.

without

  1. 0:09:04
  2. 0:09:02
  3. 0:09:02

with Noisium 2.3.0 / Chunky 1.4.10

  1. 0:09:02
  2. 0:08:56
  3. 0:08:57

1.20.4

Faster.

without

  1. 0:09:16
  2. 0:09:13
  3. 0:09:15

with Noisium 2.3.0 / Chunky 1.3.146

  1. 0:08:18
  2. 0:08:20
  3. 0:08:17

I also confirm that it is ineffective in 1.21.1 and effective in 1.20.1.

@Steveplays28
Copy link
Owner

Hi, thanks for the detailed tests!
I've been meaning to set up a test bench to test futher optimisations, but I haven't gotten around to it.

I'll leave this issue open until I've explored various other optimisations and thoroughly tested them.

@Steveplays28 Steveplays28 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 23, 2024
@Steveplays28 Steveplays28 changed the title No effect in 1.20.5 and later No effect in 1.20.5 and later (test further optimisations) Oct 23, 2024
@yumunet
Copy link
Author

yumunet commented Oct 23, 2024

I see. Thanks for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants