4 ms·
Yup. Both vanilla minecraft and bukkit are terrible at multithreading. Bukkit's plugin API doesn't use locks (iirc), so having the plugins be able to run in a s
by wfn 12y ago
Yup. Both vanilla minecraft and bukkit are terrible at multithreading. Bukkit's plugin API doesn't use locks (iirc), so having the plugins be able to run in a safe multithreaded fashion is a clusterfuck. It's possible to do that, it's just a lot of tedious work, rewriting essential parts of the code, etc.
Mojang ain't helpin' here. If you run a server and have lots of players on, or whatever, you'll see all but one of your server's cores idling by. 'tis sad.
..so lots of things will be cpu-frequency-bound. Memory consumption is another thing, but if you have lots of memory and SSD, your server will be able to do things. Still though, I believe the way everything is written, it's a very uneconomic use of hardware resources.
Instead of focusing on core code and overall quality and performance improvements, Mojang just keeps shitting out new game features. I see their rationale (short term $, etc.), but when they then go about talking about how they don't like large expensive server operators taking money, it kind of puts me into an angry mood.