Page 1 of 1

A suggestion to help with lag and CPU utilization

Posted: Fri Sep 02, 2011 10:46 am
by Surgeonbsg
I know this may seem strange but please follow with me for a second.

I would like to suggest that automatic cactus farms be no longer allowed on the survival server. You may know the ones I'm referring to. If not these are the cactus farms that have flowing water underneath them that collect the broken cactus and flow them to a specific block for collection. You see it's not the farm that is the problem but the water bringing the collectable cactus on one or two blocks that is the problem. Minecraft, in it's current form, can only handle so many collectable items in a specific location. Once it hits this threshold CPU usage spikes and the lag around the affected area is unbearable.

I've seen this twice now. Once on a private Minecraft server I manage and once on this Survival server. Let me site the examples. On my private server one of these was set up not far from spawn. It had pushed enough cactus on one block to fill my inventory twice. Before I picked up the cactus the lag was horrible. You could barely walk around the farm. The CPU utilization was also at 50%. Once the cactus was inventoried the lag went away instantly and CPU usage went back down to between 2 and 5%. The second example was on this Survival server. There is one of these farms on CJpirres (spelling?) realm around the x300 z75 mark. A few days ago I was walking towards it to spawn and all of a sudden could barely walk. The lag was bad. Having had seen this before, I collected the cactus and again instantly the lag went away. This time though it only took the 5-6 stacks I picked up to create the problem.

tl:dr There is a glitch in Minecraft multiplayer where in collectable cactus grows much quicker than it despawns causing lag spikes and high CPU usage

Re: A suggestion to help with lag and CPU utilization

Posted: Fri Sep 02, 2011 10:55 am
by FaeynHeart
Not familiar with it, but I'll check it out too..since it seems interesting.

Re: A suggestion to help with lag and CPU utilization

Posted: Fri Sep 02, 2011 10:56 am
by Chawkk
I don't know if banning it would be the best solution, but I think people do need to be smart about how much cactus they are farming. There really isnt a reason to collect two inventories full of it that I can think of.

Re: A suggestion to help with lag and CPU utilization

Posted: Fri Sep 02, 2011 11:07 am
by Surgeonbsg
It's more of a problem with how they are farming it. If it wasn't for the water underneath them the farmed cactus would be spread out in an area and not sitting on one or two blocks.

Re: A suggestion to help with lag and CPU utilization

Posted: Fri Sep 02, 2011 12:15 pm
by Prodigy9
Given the rather limited uses of cactus, I think this is perfectly reasonable. My only concern is how enforceable it is--would a mod or admin know if 128 blocks of cactus were sitting together?