-
Notifications
You must be signed in to change notification settings - Fork 895
Description
Is your feature request related to a problem? Please describe.
This feature request stemmed from an issue on Windows where IPFS was randomly going full throttle, presumably to do DHT bootstrapping or the like.
Since IPFS Desktop and go-ipfs are running as a normal user app in the system try, it treats go-ipfs with the default "normal" process priority. When CPU usage gets high, it interferes with most all other user applications that are open.
As a temporary workaround, you can restrict the number of processor cores allowed, or lower the process priority from task manager.
I've seen some Linux users use a much nicer workaround -- running go-ipfs as a service and setting the priority lower by default.
Describe the solution you'd like
Having IPFS Desktop install go-ipfs as a service on Linux, Windows, etc, allows for
- Better lifecycle management
- Improved system task scheduling
- Automatic restart on failure
- Autostart on login
- Running under a different or system user.
- Automatically lowering Scheduler priority, so high CPU usage doesn't interfere with actual user apps.
Describe alternatives you've considered
- Manually setting up the service myself and using the webui instead of IPFS Desktop. A lot of hassle for something that should be enabled by default...