Hybrid service and user install

Message boards : Questions and problems : Hybrid service and user install
Message board moderation

To post messages, you must log in.

AuthorMessage
dcdc

Send message
Joined: 29 Aug 06
Posts: 82
United Kingdom
Message 106154 - Posted: 20 Nov 2021, 15:45:39 UTC

I understand that the current options for a BOINC install each have their limitations:

A service install means BOINC will run whether a user is logged in or not, whereas a non-service install (user install?) means the computer will be idle before a user logs in and after they log out, which can be significant proportion of the time. The downside to a service install is that BOINC doesn't have access to VirtualBox or GPU(s).

A non-service install means BOINC will only run when a user is logged in, but does then have access to VirtualBox and GPU(s).

Is it possible to have a hybrid model where BOINC could be installed as a service and non-service, with the service version always running, but allows the user-space version to run VirtualBox and GPU tasks when a user is logged in?
ID: 106154 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 284
United Kingdom
Message 106156 - Posted: 20 Nov 2021, 16:23:32 UTC - in response to Message 106154.  

I understand that the current options for a BOINC install each have their limitations:

A service install means BOINC will run whether a user is logged in or not, whereas a non-service install (user install?) means the computer will be idle before a user logs in and after they log out, which can be significant proportion of the time. The downside to a service install is that BOINC doesn't have access to VirtualBox or GPU(s).

A non-service install means BOINC will only run when a user is logged in, but does then have access to VirtualBox and GPU(s).

Is it possible to have a hybrid model where BOINC could be installed as a service and non-service, with the service version always running, but allows the user-space version to run VirtualBox and GPU tasks when a user is logged in?


Or run it as a user but have the user automatically load and log in on boot with the system set to not sleep whilst connected to the mains.
ID: 106156 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 106159 - Posted: 20 Nov 2021, 16:43:43 UTC

Either solution should be possible.

My primary BOINC instance is user-mode with auto log on at power-up.

My command lines for starting and running a second user-mode instance alongside the first, for testing, are:

Start client #2:
D:\BOINC\rh_boinc_test.exe --allow_multiple_clients --allow_remote_gui_rpc --redirectio --detach_console --gui_rpc_port 31418 --dir D:\BOINCdata2
Start Manager #2:
start D:\BOINC\boincmgr.exe /m /n 127.0.0.1 /g 31418 /p password
They should still work if the primary instance is running in service mode.
ID: 106159 · Report as offensive

Message boards : Questions and problems : Hybrid service and user install

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.