High CPU usage while moving
JeremyAgost opened this issue ยท 1 comments
I've noticed on my Linux 64-bit server that if a carpet of any size is used while a player is moving Minecraft CPU usage jumps considerably and stays high until the player stops moving. Now I would expect that MagicCarpet should cause some load, but we're talking ~20% usage normally jumping to ~80% while a 3x3 carpet is being used. On a 5x5 carpet it maxes out at 100% of a single CPU core.
No matter what the size, the carpet movement lags behind the player considerably. Sometimes players get a message that the carpet cannot follow them and it disappears (often causing death by falling) or the carpet starts leaving a trail of glass that replaces existing blocks.
I'm not running too many other Bukkit plugins, just these;
MagicCarpet, xWarp, PlugMan, Runecraft, Tombstone, Vault, WorldEdit, PermissionsEx, CommandBook, ChatManager, Modifyworld, WorldGuard
This is because Bukkit / Minecraft isn't multi-threaded. I'm afraid theres nothing I can do. However if you read the very bottom note of this page, it might help.