I'm using Ubuntu 16.04, from the terminal i can start BOINC just fine however I can't start the manager at all. How can I fix this?

Message boards : Questions and problems : I'm using Ubuntu 16.04, from the terminal i can start BOINC just fine however I can't start the manager at all. How can I fix this?
Message board moderation

To post messages, you must log in.

AuthorMessage
Sol33t303

Send message
Joined: 29 Jan 17
Posts: 13
Australia
Message 79574 - Posted: 13 Jul 2017, 10:28:09 UTC

I'll try to provide more info if anybody needs it. Also, a second question, is it possible to set BOINC to use certain threads? As I want to use a program that only takes advantage of 3 CPU cores, specifically the first 3 cores, is it possible to let BOINC work on my other 5 threads? This is why I wanted to get into the manager in the first place.
ID: 79574 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5081
United Kingdom
Message 79575 - Posted: 13 Jul 2017, 11:12:24 UTC

You might be asking the wrong question here. The Manager won't give you thread (or CPU core ID) level control, even if you get it running.

The best you can do is limit the total number of cores that BOINC is allowed to use, and let your other program pick the ones it wants first: BOINC will use whatever's left over, under OS control.

The manager would let you create a global_prefs_override.xml file using a GUI tool, but that's all it would do. You could create the file yourself, containing something like

<global_preferences>
   <max_ncpus_pct>62.5</max_ncpus_pct>
</global_preferences>
(to use five out of eight cores for BOINC)

Or - even more simply - you could make the same change via the global preferences page of any project your computer is attached to.
ID: 79575 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 79578 - Posted: 13 Jul 2017, 11:44:02 UTC - in response to Message 79575.  

Or - even more simply - you could make the same change via the global preferences page of any project your computer is attached to.
Better do it there, else at the next contact with the project website, the value that the project sends out overwrites the manually edited value in the global_preferences.xml file.
ID: 79578 · Report as offensive
Sol33t303

Send message
Joined: 29 Jan 17
Posts: 13
Australia
Message 79580 - Posted: 13 Jul 2017, 11:48:13 UTC - in response to Message 79575.  

Thanks for the reply, since I posted the question I have been able to get into the manager, but unfortunately as you said I can't control specifically which threads BOINC can use, though at least it's good I can control how many. Maybe it might be a good feature to add in the future? I'm sure some of the more technical users would definitely appreciate it. Right now my PC is only doing projects from World Community Grid and I didn't see any options that would allow me to configure the specific threads BOINC could use. I wanted to make specifically use the other 5 threads because my application would probably cause BOINC to lower the work on all of the threads rather than just the ones I needed.
ID: 79580 · Report as offensive
Sol33t303

Send message
Joined: 29 Jan 17
Posts: 13
Australia
Message 79581 - Posted: 13 Jul 2017, 11:53:44 UTC - in response to Message 79578.  

Or - even more simply - you could make the same change via the global preferences page of any project your computer is attached to.
Better do it there, else at the next contact with the project website, the value that the project sends out overwrites the manually edited value in the global_preferences.xml file.

I have BOINC set to use local preferences, shouldn't this remove that issue?
ID: 79581 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5081
United Kingdom
Message 79582 - Posted: 13 Jul 2017, 12:08:44 UTC - in response to Message 79581.  

Or - even more simply - you could make the same change via the global preferences page of any project your computer is attached to.
Better do it there, else at the next contact with the project website, the value that the project sends out overwrites the manually edited value in the global_preferences.xml file.
I have BOINC set to use local preferences, shouldn't this remove that issue?
Yes, if you use the _override version of the file (the version that the manager, er, manages), that's persistent across project contacts.
ID: 79582 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 79585 - Posted: 13 Jul 2017, 12:32:45 UTC
Last modified: 13 Jul 2017, 12:32:54 UTC

Whereby I then of course wonder how you use the local preferences, if you cannot use the BOINC Manager. But on the other hand, if you know how to write the file contents, the global_prefs_override.xml file is easily made. ;-)

As for the actual problem of not being able to start the manager, I'll wait for a Linux guru to pass by, but suspect it's to do with:
- missing X server.
- permissions.

Which BOINC do you use?
And is it installed from repository, or from the BOINC website?
ID: 79585 · Report as offensive
Sol33t303

Send message
Joined: 29 Jan 17
Posts: 13
Australia
Message 79586 - Posted: 13 Jul 2017, 13:23:24 UTC - in response to Message 79585.  

Whereby I then of course wonder how you use the local preferences, if you cannot use the BOINC Manager. But on the other hand, if you know how to write the file contents, the global_prefs_override.xml file is easily made. ;-)

As for the actual problem of not being able to start the manager, I'll wait for a Linux guru to pass by, but suspect it's to do with:
- missing X server.
- permissions.

Which BOINC do you use?
And is it installed from repository, or from the BOINC website?

I already said that I was able to get into the BOINC manager since I asked the question, I presume because I forgot to quote you, you didn't receive a notification for it? Also it's installed from the website.
ID: 79586 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5081
United Kingdom
Message 79587 - Posted: 13 Jul 2017, 13:32:30 UTC - in response to Message 79585.  

Some things I should have added, and will add for the benefit of future readers:

One advantage of using the Manager GUI tool is that it issues an automatic 'Read local prefs file' after an edit, so the new setting takes effect immediately. If you create or edit the file at the command line, you have to issue a separate

boinccmd --read_global_prefs_override
(or wait until the next client restart) before they take effect.

One disadvantage of using the Manager GUI tool is that it creates a fully-populated override file, taking control of all web-editable values. My hypothesis in suggesting a single-entry override file was that web settings would remain in control for all other values. But that hypothesis is untested.

[The command-line approach seemed appropriate in this case because the OP seemed familiar with that mode of working]
ID: 79587 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 79592 - Posted: 13 Jul 2017, 16:23:47 UTC - in response to Message 79580.  

Right now my PC is only doing projects from World Community Grid and I didn't see any options that would allow me to configure the specific threads BOINC could use. I wanted to make specifically use the other 5 threads because my application would probably cause BOINC to lower the work on all of the threads rather than just the ones I needed.


BOINC intentionally doesn't run tasks on specific cores. It just starts tasks and leaves it up to operating system to assign a core to the task. Distributing running programs to available cores is one of operating systems' jobs.
ID: 79592 · Report as offensive
Sol33t303

Send message
Joined: 29 Jan 17
Posts: 13
Australia
Message 79600 - Posted: 14 Jul 2017, 12:01:40 UTC
Last modified: 14 Jul 2017, 12:05:45 UTC

Just fixed my problem by using the command taskset (from utils-linux). I set BOINC to only use 5 cores then after finding out the processor IDs of the tasks BOINC was running, I was able to use taskset to make each task run on threads 3-7. Thank you for the information that the OS is the one that assigns the tasks to the cores and not the program itself. (as a side note, it seems like those threads are getting used
a bit more efficiently then when the tasks weren't assigned to any specific cores)
ID: 79600 · Report as offensive

Message boards : Questions and problems : I'm using Ubuntu 16.04, from the terminal i can start BOINC just fine however I can't start the manager at all. How can I fix this?

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.