Message boards :
Number crunching :
Discussion of Ubuntu 16.04-x64 LTS installation and configuration
Message board moderation
Previous · 1 · 2 · 3 · 4 · 5 · Next
| Author | Message |
|---|---|
|
Send message Joined: 26 Feb 14 Posts: 211 Credit: 4,496,324,562 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks Keith for all that. Correct me if I'm wrong but isn't it? sudo apt-get install libwebkitgtk-1.0 Z
|
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,188,446,190 RAC: 1,336,521 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Yes, you should just drop the trailing zero. |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,188,446,190 RAC: 1,336,521 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
I wont get a chance to try this solution for another 6 hours, but... Can't tell just from the Host details which and where from the hosts obtained the BOINC 7.8.3. It very well could be the TBar version so explains why it works. This user participates in lots of projects, Seti being one of them and could very well have installed the TBar BOINC 7.8.3 version. |
Retvari ZoltanSend message Joined: 20 Jan 09 Posts: 2380 Credit: 16,897,957,044 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I've managed the BOINC client (installed from the repo) to notice the SWAN_SYNC=1 parameter (in /etc/environment). (BTW it has to be spelled with all caps to work.) By default the BOINC client runs under the account called 'boinc', as a daemon (system service). When it runs this way, it won't regard the environment settings in /etc/environment. So I stopped the BOINC daemon by opening a terminal and elevating it with sudo suthen /etc/init.d/boinc-client stopthen I changed dir to the BOINC data dir with cd /var/lib/boinc-clientthen I've started BOINC with /usr/bin/boincIt will run as 'root' and it will have the proper environmental settings, but it can't be managed through the graphical interface. The acemd will use a full thread, which is 25% CPU on my Core i3 (I've checked it) The result is amazing: 6.872 sec for a PABLO_2IDP_P01106 task (110.400 credits). It took 8.800 seconds without the SWAN_SYNC. My GTX 1080Ti got 28% faster by applying SWAN_SYNC=1. You can check my hosts:Host 391255, Host 482653 |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,188,446,190 RAC: 1,336,521 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Thanks for the update. I had a hunch the issue with the repository version was because of the account "boinc" permissions preventing the system wide environment variable not being picked up. The TBar BOINC versions avoid this issue since both the client and Manager are installed and run under the user account. |
|
Send message Joined: 4 Mar 18 Posts: 53 Credit: 2,816,976,011 RAC: 73,960 Level ![]() Scientific publications
|
Thank you and trying now. Is there a way to manage via another manager, like BAM, while in this state? |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,188,446,190 RAC: 1,336,521 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
You should still be able to control the client with the boinccmd tool. Controlling_BOINC_remotely As far as using another manager, you could install Wine and then install BoincTasks to manage the client. I found BoincTasks indispensable when I was running Windows, so the first thing I did after moving to Linux was to investigate whether BoincTasks would run under Linux. It does, quite well in fact. So I have Wine installed on my daily driver that I sit in front of 8 hours of the day and I control and monitor my 4 other hosts from that chair without having to get out of it and sit in front of the other hosts to interact with them. BoincTasks, TThrottle |
|
Send message Joined: 8 May 18 Posts: 190 Credit: 104,426,808 RAC: 0 Level ![]() Scientific publications
|
I am running SuSE Leap 15.0 on two Linux hosts. BOINC 7.8.3 is given to me by SuSE. One is running QC only, no graphic board, the other both QC and acemd on its GTX 750 Ti, CUDA 80, BLOCKED parameter. Tullio |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,188,446,190 RAC: 1,336,521 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
We think it doesn't matter what the BOINC version is . . . if it comes from a repository and is installed as a daemon with the user 'boinc', it is not going to allow the SWAN_SYNC=1 parameter to be enabled on gpu tasks. Only the Seti user developed BOINC versions which are installed in /home with the user the owner use the parameter correctly. Retvari Zoltan has figured out a method around the repository versions but without Manager control of the client. |
|
Send message Joined: 11 Sep 08 Posts: 18 Credit: 1,551,929,462 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ALAIN's second work unit returned also with BLOCKING still in the stderr. So it is not picking up the SWAN_SYNC=1 SWAN_SYNC variable is setting but BOINC don't read it
|
Retvari ZoltanSend message Joined: 20 Jan 09 Posts: 2380 Credit: 16,897,957,044 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
My workaround in my previous post is just a temporary solution (it's fine for me for the time being). To completely solve this issue we should: 1. change the owner of /var/lib/boinc-client to the user (I know how to do that, but it's pointless if I can't do the next steps). 2. change the user account under which the boinc daemon starts. There should be a Linux configuration file containing this setting, which I haven't found yet (it's not enough to change the BOINC_USER in /etc/default/boinc-client and in /etc/init.d/boinc-client) 3. the user should have the right to start a daemon (at least in Windows it works that way). |
|
Send message Joined: 4 Aug 14 Posts: 266 Credit: 2,219,935,054 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have successfully automated the start of boinc client. It does weaken the security of the installed boinc package so use at your own risk!! in the service control file /lib/systemd/system/boinc-client.service: Under [service] heading, make this the first line Environment="SWAN_SYNC=1" Under [service] heading, change User=boinc to: User=root (this is the line that weakens security) EDIT: as per testing by Retvari Zoltan, this line does not need to be changed. It can stay as User=boinc (and hence not compromise security). Thanks Retvari Zoltan You do not need to add SWAN_SYNC=1 to the /etc/environment file as a service creates it's own environment(my understanding) reboot. (easiest way to implement) run top in a terminal (or your favourite GUI task manager) to check acemd process is using 100% of cpu |
|
Send message Joined: 4 Mar 18 Posts: 53 Credit: 2,816,976,011 RAC: 73,960 Level ![]() Scientific publications
|
Success! I did the steps recommended by Retvari Zoltan and then also installed Wine and BoincTasks (thank you Keith Myers) in order to have a manager (which installed very nicely and automatically 'synced up' with the running Boinc Client). As implied by Zoltan's follow-up post, I did realize I had to leave the terminal open with the root-level Boinc Client running. Overnight, my PABLO WUs processed about 8 percent faster. http://www.gpugrid.net//results.php?hostid=487152 Looks like more ideas flowing here -- I will wait until this evening to set up my second host and see what else is discovered. |
Retvari ZoltanSend message Joined: 20 Jan 09 Posts: 2380 Credit: 16,897,957,044 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
in the service control file /lib/systemd/system/boinc-client.service:This is the configuration file I was looking for. Thanks! Under [service] heading, change User=boinc to:I've tested it without changing the user, and it's working, so you don't have to compromise the security of the system. |
|
Send message Joined: 4 Aug 14 Posts: 266 Credit: 2,219,935,054 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks for the feedback, will reset User=boinc as you suggested! |
|
Send message Joined: 21 Mar 16 Posts: 513 Credit: 4,673,458,277 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Zoltan, now that you've tried all of the potential solutions, what do you think is the easiest, safest, and most fool proof? |
Retvari ZoltanSend message Joined: 20 Jan 09 Posts: 2380 Credit: 16,897,957,044 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Zoltan, now that you've tried all of the potential solutions, what do you think is the easiest, safest, and most fool proof?Rod4x4's solution is the perfect one. I've also made a post in the "SWAN_SYNC in Linux client" thread based on his solution. |
Retvari ZoltanSend message Joined: 20 Jan 09 Posts: 2380 Credit: 16,897,957,044 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks for the feedback, will reset My tasks that are started as 'root' won't continue after I've started the BOINC manager as 'boinc', so don't be surprised if you have to manage this (aborting the task, or deleting the files from the slot as 'root'). |
|
Send message Joined: 8 May 18 Posts: 190 Credit: 104,426,808 RAC: 0 Level ![]() Scientific publications
|
I am running both python and acemd as user tullio, so I have almost the whole 1 TB disk available to BOINC 7.8.3. Tullio |
|
Send message Joined: 2 Jul 16 Posts: 339 Credit: 7,990,341,558 RAC: 3,629 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Success! I did the steps recommended by Retvari Zoltan and then also installed Wine and BoincTasks (thank you Keith Myers) in order to have a manager (which installed very nicely and automatically 'synced up' with the running Boinc Client). Add --daemon to the boinc client startup command to allow the client to run w/o an active terminal. That's how I start multiple clients on a PC. |
©2026 Universitat Pompeu Fabra