cassowary icon indicating copy to clipboard operation
cassowary copied to clipboard

[Feature Request] Improve Background Client cpu usage

Open NICHOLAS85 opened this issue 3 years ago • 3 comments

It seems that when the virtual machine is suspended, the background client attempts to reconnect every 5 seconds. This is what I assume is causing the daemon to have a non-negligible amount of background CPU usage compared to other daemons on my system. As I use this program on a laptop this background usage leads to decreased battery life. Is there a way to make this process more efficient?

Also thanks for Cassowary, it has been very useful running programs for which wine has issues running in my workflow.

NICHOLAS85 avatar Feb 15 '22 23:02 NICHOLAS85

Can you check how much of background resource is being used by it ? Check for process with command line cassowary -bc

casualsnek avatar Feb 16 '22 07:02 casualsnek

Looks like it was a fluke as now the process isn't constantly using CPU as it seemed when I first opened this issue. Right now it just jumps 0.5-1% occasionaly

NICHOLAS85 avatar Feb 18 '22 05:02 NICHOLAS85

I have been seen a higher CPU usage few days ago. I'm not sure what cause it high (3-8%). But now it's normal (0.x%) in v0.6.

wastee avatar Feb 18 '22 10:02 wastee