I think a great feature, for the macOS shim that overseas the Syncthing process, would be for a toggle to use Performance CPU cores.. even if only for initial establishment of a robust cluster of hosts.
I have disabled;
Set Low Priority
The macOS task policy stuff controls this, possibly the macOS wrapper could use the corresponding calls to set the policy when launching Syncthing: taskpolicy Man Page - macOS - SS64.com
If it’s run from launchd I don’t know how to set the task policy. Presumably launchd should have fields for it, but a quick google didn’t give me anything useful. Edit: looks like ProcessType
is the key there: launchd.plist(5)
Interesting. I’ve found the macOS ‘taskpolicy’ command has no effect with the ‘-b’ option, suggesting macOS is respecting the ProcessType requested by the launcher.
Any tips or pointers on how to modify the launcher?