Open tuloski opened 3 years ago
Two comments:
First, you are still running version 1.5.0. The current release is 1.6.0 and the 1.7.0 build should be going out in the next few days.
Second, and perhaps more important, is that that you are doing online delete way too frequently. I don't think that's likely to be the only reason behind high CPU usage, but it probably doesn't help. I'd recommend increasing the online_delete
interval to around 25000 and restarting your server.
For my laziness I copied the data I posted on XRPchat. Now I'm running 1.6.0 and with higher online_delete and I'm in the same situation. As soon as 1.7.0 will be out I'll update this issue.
Another issue is that your node_size
is small
. Since you have 16Gb RAM, medium
will probably work better for you. As a rule of thumb, the node_size
setting trades RAM for CPU, so if you save RAM by using a smaller size, you'll use more CPU, and vice versa. You said you're running other stuff, but if they're small, they probably won't cause any problems. See https://xrpl.org/capacity-planning.html#node-size for more information.
Additionally, 1.7.0 drastically reduces memory consumption. My local huge
node is only using 8Gb of memory for the entire system with rc2. If you're still having trouble after upgrading, and want to experiment, you could try huge
and see how that does.
I was using small because I had also RAM issues before 1.5.0 (like 80% used). With 1.5 and 1.6 it improved, and with 1.7 will be better so it's a nice tip.
Upgraded to 1.7.0 with node_size medium. Using 3.6 Gb of RAM, but the CPU is VERY high.
It was way better (in terms of CPU usage) with 1.6.0 switching to node_size medium, but it was using 9+ Gb of RAM.
When you say "very high", do you mean that the CPU graphs are consistently running above some value, or do you mean that rippled is pegging your hardware such that it can't keep up with the network? Or do you mean something else?
As I mentioned above, the node_size
trades CPU usage for memory. Even though huge
is intended for systems with 32Gb of RAM or more, actual usage in 1.7 is significantly less than that, so it might be fine to use on your 16Gb system. If rippled is having problems, you can try using huge
.
With very high I mean the average CPU usage is above 60% on all 4 cores and with higher peaks. It can keep it up with the network, but the electricity usage is higher, it becomes hotter and the fan is constantly on. A problem I didn't have with some previous versions, but maybe it's a delicate choice of the parameters.
With 1.7.0 and node_size huge the RAM is around 4Gb and the average CPU usage seems 30% on all cores which is nice. From medium to huge only a tiny amount of extra memory was used with a big improvement on CPU. I'll keep you updated because usually the stats change over time.
I have a node (non validating) running v 1.6.0 (but similar performances with 1.5.0) with the following specs:
Network is GPON FFTH 1000 Mb/s download and 200 Mb/s upload, with very low ping. I don't think it's the cause. It disconects sometimes (1-2 times a day).
16Gb RAM DDR4 2133MHz. Single bank.
Disk is SSD. 250Gb. Sata III. M.2.
Almost dedicated hardware. Only running some minor things with low cpu and memory usage.
CPU is I7-7567U. Not the best i7 but not the worst.
The CPU is always between 110% and 350% usage only for rippled.
It seems an abnormal cpu usage.
The following is the rippled.cfg:
The following is the server_info answer: