Comments (3)
ever found an answer to that?
from docs.
ever found an answer to that?
I haven't actually lookes through the code after all this time 😂
But from my experience io-threads
is responsible for loading/reading and saving chunks operations. Still don't know other options for the parallelism one and not sure about worker threads. I just set worker threads equal to io-threads
and it gives Nx performance boost for chunks (N = number of threads) (chunky was generating ±20 chunks at a time and with that changed to 5 the number went up to ±80).
from docs.
So, after some looking through the code, basing on these lines
ChunkTaskScheduler.newChunkSystemGenParallelism = useParallelGen ? newChunkSystemWorkerThreads : 1;
ChunkTaskScheduler.newChunkSystemLoadParallelism = newChunkSystemWorkerThreads;
I assume that
worker-threads
is responsible for the number of threads that will work on generating new chunks- 'io-threads' is responsible for loading chunks (I believe all read/write operations)
And the valid options for gen-parallelism
are true
, on
, enabled
and false
, off
, disabled
. This option controls whether to use the parallel generation or not; the default value is true
at the time (bcd8dc2c1).
String newChunkSystemGenParallelism = config.genParallelism;
if (newChunkSystemGenParallelism.equalsIgnoreCase("default")) {
newChunkSystemGenParallelism = "true";
}
boolean useParallelGen;
if (newChunkSystemGenParallelism.equalsIgnoreCase("on") || newChunkSystemGenParallelism.equalsIgnoreCase("enabled")
|| newChunkSystemGenParallelism.equalsIgnoreCase("true")) {
useParallelGen = true;
} else if (newChunkSystemGenParallelism.equalsIgnoreCase("off") || newChunkSystemGenParallelism.equalsIgnoreCase("disabled")
|| newChunkSystemGenParallelism.equalsIgnoreCase("false")) {
useParallelGen = false;
}
from docs.
Related Issues (20)
- Overall structuring of the site feels awkward HOT 4
- don't crash on new files because they have no git history
- Brigadier Command API Docs
- Document Recent Configuration Changes
- Make conversion tool drop down a fixed size
- Remove Teleport API from experimental apis
- "smarter" binary search
- Recipe System
- explain when and why to use the async teleportation methods
- Make classes in plugin examples `public` HOT 1
- add velocity dependency example
- tool to deobfuscate stacktraces
- Document Plugin Hotswapping
- Version for 1.21 HOT 1
- Document disable-sprint-interruption-on-attack issue when attacking player
- Migrate off of Vercel HOT 1
- Document `max-block-ticks` and `max-fluid-ticks`
- Document new server.properties entries
- Document datapack registration lifecycle event
- More information for Paper Plugins (Experimental) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.