I have noticed that the cpu usage is always super high. It use to be fine just 2 days ago, around 50%, Most times now it's at 100% (I host on mcprohost) Memory (1G) is showing fine at about 50%.
I do have a lot of command blocks running off of fill clocks, and a few slower clocks. I'm assuming the problem is with command blocks because the map has only a few small maps with nothing really happening in them above the redstone. I tried killing all entities that weren't players and there were only a few item frames. So I have to go on its the command blocks / fill clocks.
Also note this is Vanilla MC
Is there anyone that knows a lot about optimizing performance to reduce cpu load with a large number of command blocks, or if it's something else, that could log on and help figure this out?
Any help would be so greatly appreciated!
I've attached a screenshot. There is one super long fill clock right in front. A smaller just behind it to the left, and another in the back right. Then theres the slow clocks right up front.
The super long clock is just a bunch of and/or gates for condition checking, the fill clock on the left, just behind the long one, is a few testfor's and then output some tellraws/titles. The one on the back right is a bunch of scoreboards and effects manipulation.
The server is hosted at freezetag.mcprohost.co ... let me know if you can help out and I'll op you.
OMG MazeCraft!!! You'r amazing... i was going to try to make some funny wording with your name and amazing but I'm not that good lol..
The fill clocks were using air, I switched them to stone and the cpu went from 100% down to 24% instantly.
Thank you so much!
Cheers!
Homichi
/gamerule logAdminCommands false
Also make sure the "previous output" setting on all of the command blocks is disabled unless you are truly relying on it, which I doubt you are. When "previous output" is on, it causes the command blocks to constantly update over and over with the feedback for the command that was executed. Disabling it can help a lot. However, depending on what you are doing with your server and how many players you have, working with 1GB of RAM isn't all that great. So if anything adding more RAM would help.
Hi,
I have noticed that the cpu usage is always super high. It use to be fine just 2 days ago, around 50%, Most times now it's at 100% (I host on mcprohost) Memory (1G) is showing fine at about 50%.
I do have a lot of command blocks running off of fill clocks, and a few slower clocks. I'm assuming the problem is with command blocks because the map has only a few small maps with nothing really happening in them above the redstone. I tried killing all entities that weren't players and there were only a few item frames. So I have to go on its the command blocks / fill clocks.
Also note this is Vanilla MC
Is there anyone that knows a lot about optimizing performance to reduce cpu load with a large number of command blocks, or if it's something else, that could log on and help figure this out?
Any help would be so greatly appreciated!
I've attached a screenshot. There is one super long fill clock right in front. A smaller just behind it to the left, and another in the back right. Then theres the slow clocks right up front.
The super long clock is just a bunch of and/or gates for condition checking, the fill clock on the left, just behind the long one, is a few testfor's and then output some tellraws/titles. The one on the back right is a bunch of scoreboards and effects manipulation.
The server is hosted at freezetag.mcprohost.co ... let me know if you can help out and I'll op you.
Cheers!
Homichi
OMG MazeCraft!!! You'r amazing... i was going to try to make some funny wording with your name and amazing but I'm not that good lol..
The fill clocks were using air, I switched them to stone and the cpu went from 100% down to 24% instantly.
Thank you so much!
Cheers!
Homichi
/gamerule logAdminCommands false
Also make sure the "previous output" setting on all of the command blocks is disabled unless you are truly relying on it, which I doubt you are. When "previous output" is on, it causes the command blocks to constantly update over and over with the feedback for the command that was executed. Disabling it can help a lot. However, depending on what you are doing with your server and how many players you have, working with 1GB of RAM isn't all that great. So if anything adding more RAM would help.