Replies: 2 comments 6 replies
-
If you run off master, I just made a change right after the 5.0.2 release to set "append_only no" in redis.conf. That made a huge difference on the Raspberry pi. The AOF persistence in Redis was causing 10+ seconds block to Redis, After that I would love to know some details about your target. Key details are: number of packets per second, total bytes per second, number of tlm items with conversions per second. |
Beta Was this translation helpful? Give feedback.
-
Please try the 5.0.5 release as we made a bunch of performance enhancements. Additional enhancements will be coming (probably 5.0.6) to support very large DBs (10s of thousands of commands). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, we're evaluating using cosmos and really liking the new web interface. However, we're running into some pretty serious performance issues with it once telemetry starts flowing. I know performance issues may be tough to debug through a forum like this, but I was hoping maybe you had some insight into what I could try to resolve this. I've tried a bunch of things that I'll detail more below, but the basic problem statement is that we're running COSMOS inside an ubuntu VM, and once we get a bunch of telemetry flowing (about 250 different packets per second), the system pretty much grinds to a halt. The telemetry viewer sometimes updates telemetry every ~10 seconds inconsistently, pages take a while to load (sometimes they don't at all), the processor is heavily loaded to the point where it's not quite usable.
System Info
tcpip_client_interface
with theLENGTH
protocol for tlm.Redis?
I kind of suspect that it may be related to running Redis inside the VM, but I'm not totally sure. I tried a few suggestions from this page: https://redis.io/docs/reference/optimization/latency/, but it seems to suggest that intrinsic latency of Redis is just bad in VMs and there's not much you can do about it? I did try the "AOF + fsync never" suggestion by adding
appendonly yes
toredis.conf
in cosmos and relaunching. Didn't seem to have an impact.Too many telemetry defs?
In the plugin that we've created we have about 450 pages defined across 41 files. I don't think that's too excessive, but not sure what amount of telemetry cosmos has been tested with sooo maybe it is haha. I've noticed that when I open the packet viewer tool, it does take about 5 seconds to even load the available pages even with no telemetry flowing, so maybe it's a slowness parsing/accessing the tlm database? Really a shot in the dark here, but wondering if you've tested with this amount of telemetry.
Virtual Memory Config
I saw that in the rasberry pi setup in the docs there's some steps to configure the linux kernel:
from: https://cosmosc2.com/docs/v5/raspberrypi
I tried this, and unfortunately didn't seem to alleviate the problem.
Anything else you think I can try, or have you observed any performance problems in testing? That's also totally fine if you don't, I can continue to investigate, but I thought I'd ask.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions