canton7/SyncTrayzor

Tuning for less CPU usage?

オープン

#608 opened on 2021/01/03

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)C# (425 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,199 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

I am migrating from NextCloud to syncthing/synctrayzor. Nextcloud permanently has CPU usage "<0.01".

With Synctrayzor, syncthing.exe itself unfortunately has more CPU usage (there are two syncthing.exe processes and one conhost.exe process; these three processes combined use idle approximately 0.5% CPU).

However, SyncTrayzor.exe itself permanently uses ~0.5% CPU. With Process Explorer I see that most of it is caused by clr.dll!LogHelp_TerminateOnAssert as well as a thread with a Start Address 0x0. Furthermore, there is a CefSharp.BrowserSubprocess.exe that uses CPU cycles although I am not using Synctrayzor interactively.

I am well aware that this may sound knitpicky ... <1% CPU is really not that much. However, on my laptop I'd prefer to keep any activity to a minimum. Clearly I could terminate SyncTrayzor and only use it when needed.

I wonder if I can still tune it to make it a bit more CPU cycle efficient (maybe at the expense of more delays). I completely understand that it will eat CPU if I use it interactively. But in background I would expect it to have zero CPU cycles (the syncing itself is done via syncthing.exe so there shouldn't be any CPU cycles required).

コントリビューターガイド