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: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
You do have to either reboot or logoff the system. /etc/environment is a system wide variable and is loaded for all users local or remote. So a logoff and login is mandatory at the least. Reboot to be sure. I will be curious to see whether this works on anyone running a repository version of BOINC. |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
So I experimented and now have changed to SWAN_SYNC=1 on all my hosts. I ran overnight on the odd BOINC 7.8.3 host to make sure that it wasn't just the BOINC 7.4.44 that was able to use the SWAN_SYNC environment variable. I have the tasks now marked with SPIN synchronization too and the cpu_times equal the run_times so I used 100% of a cpu core to support the gpu task. Looks like I shaved 30-60 minutes of the typical PABLO task. None of the recently completed tasks with swan_sync were completed within 24 hours as GPUGrid is not my main project and only has a small resource assignment. Its too bad there is no work now to test the 24 hour bonus theory. I chewed up 3 of my normal 6 task cache overnight for the test but received no replacements. Today would have been the best day to test too since it is Outage Tuesday at Seti and I run out of Seti work in the first hour the project goes down which allows my backup projects like GPUGrid to make hay for the day. |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
I would appreciate those attempting the SWAN_SYNC=1 parameter in their environment file on repository versions of BOINC to report success or not. You can check if the parameter took or not with a printenv SWAN_SYNCin Terminal which should report a "1" if successful. I also would like to hear which version people are using and reporting success or failure with. So far all the positive reports are from two users using non-repository versions of BOINC. |
|
Send message Joined: 11 Sep 08 Posts: 18 Credit: 1,551,929,462 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
OK merci beaucoup pour vos commentaires. Je test pour vous dire si c'est bon. OK thank you very much for your comments. I test to tell you if it is good. SWAN_SYNC=1 99% CORE CPU GPU FAN Setting 60% GPU load 60 to 90% T° 77° to 82%
|
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Alain, that was with repository BOINC version 7.9.3. Correct? |
|
Send message Joined: 9 May 13 Posts: 171 Credit: 4,610,046,466 RAC: 193,605 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Keith Myers asked: I would appreciate those attempting the SWAN_SYNC=1 parameter in their environment file on repository versions of BOINC to report success or not. I am running Ubuntu 18.10 and BOINC 7.12.0 from the Ubuntu software installer. I was able to get the SWAN_SYNC=1 set up in the environmental variables. When I request to printenv SWAN_SYNC, it answers back with a 1. However, my GPU tasks are still running with Synchronization mode BLOCKING. |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Did you logoff or reboot to enable the parameter to be read? [Edit] Also any task started before the parameter was set already has the old BLOCKING parameter written into the header in the slot. So only tasks started after the parameter was set will have the new SPIN synchronization set in the stderr.txt output. |
|
Send message Joined: 21 Mar 16 Posts: 513 Credit: 4,673,458,277 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Now you can edit the environment file Do I add this after PATH=bin:? And do quotations matter? |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Just drop down to a new line below the PATH statement. And just put in SWAN_SYNC=1. No quotes. But is does have to be capitalized since Linux cares about upper/lower case in names. |
|
Send message Joined: 9 May 13 Posts: 171 Credit: 4,610,046,466 RAC: 193,605 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Keith asked: Did you logoff or reboot to enable the parameter to be read? The PC was rebooted and the GPU tasks started after the reboot. You should be able to see my computers, the computer that I am testing is named Sledgehammer if you want to look. Question for you, does the version of BOINC that you are using run under your id or the id of "boinc" or other? You probably know that the repository version of BOINC runs under the id of "boinc". |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Keith asked: I have no way of knowing what your internal name for your computers are. That is not exposed to anyone but you. You have to identify computers by their host ID for anyone other than you to figure out which is which in your hosts list. My and Zalster's BOINC accounts are "owned" by us since they reside in the /home directory. Alain however is using the standard repository version 7.9.3 and the owner would be the standard "boinc" user. He has reported success in using the swan_sync variable. There might a version level that the parameter no longer works. So far, the highest level BOINC that is successful is 7.9.3. I hope others report their results of either failure or success with the version level. I was afraid that our lower level BOINC versions were the reason for success and the fact they are owned by the user and not boinc. His result proves that is not the case. So either your higher level of BOINC is the issue or their is something different in your system compared to the 3 successful cases so far. |
|
Send message Joined: 26 Feb 14 Posts: 211 Credit: 4,496,324,562 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
. I keep looking for Alain's results to see if it's working. The last one reported was done before he made the change so we wait to see what it says when his current 2 get done. Till then, we only know your and mine are working. Hopefully by tomorrow more people will have tried it and we will get a better idea. |
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Of course I have no proof, since PM's leave no record, but I'm positive he said his gpu is running at 100%, thus he has a full cpu feeding it. |
|
Send message Joined: 4 Aug 14 Posts: 266 Credit: 2,219,935,054 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I wont get a chance to try this solution for another 6 hours, but... If you check host id: 153837 and 423329. (both belong to same user, [not me]) Both running Boinc client 7.8.3 and have been using SPIN since at least 21st October (possibly longer) |
|
Send message Joined: 11 Sep 08 Posts: 18 Credit: 1,551,929,462 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Alain, that was with repository BOINC version 7.9.3. Correct? Yes 7.9.3 version.
|
|
Send message Joined: 26 Feb 14 Posts: 211 Credit: 4,496,324,562 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Alain, that was with repository BOINC version 7.9.3. Correct? For Alain, 1 of 2 just returned. The time to complete is less than other work units but they aren't the same type so can't tell if there is really any improvement due to the addition of the SWAN_SYNC Here's part of the stderr # CUDA Synchronisation mode: BLOCKING According to this, it wasn't picking up it up. Will have to wait for the other work unit to return to see if that one has it on there or not.
|
|
Send message Joined: 21 Mar 16 Posts: 513 Credit: 4,673,458,277 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Hello, I followed the instructions and typed "printenv SWAN_SYNC" and it returned with 1. Below are my tasks from last night but it appears not to have synced the CPU time with the overall time. This computer's BOINC version is 7.6.31. http://www.gpugrid.net/results.php?hostid=490728 |
|
Send message Joined: 4 Mar 18 Posts: 53 Credit: 2,816,976,011 RAC: 73,960 Level ![]() Scientific publications
|
Same thing here. printenv SWAN_SYNC returns a 1 now, but still showing Blocking on the WUs from overnight. http://www.gpugrid.net//results.php?hostid=48715 (WUs completed on 31 Oct all started after SWAN_SYNC=1) Boinc 7.9.3 from Linux Mint Software Manager. (Thank you to Keith and Zalster for trying to figure this out.) |
|
Send message Joined: 26 Feb 14 Posts: 211 Credit: 4,496,324,562 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 Thanks to everyone who is reporting back with their results. I think it maybe necessary to use the BOINC Manager version compiled by TBar at crunchers anonymous in order to get it to work properly. http://www.arkayn.us/lunatics/BOINC-7.8.3.7z The default of the BM is set to connect to Seti@home but you can always add GPUGrid as a project and then delete the Seti@home folder.
|
|
Send message Joined: 13 Dec 17 Posts: 1423 Credit: 9,189,196,190 RAC: 1,326,743 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
OK, yes I agree with Zalster's assessment now too. It looks like only the TBar BOINC versions is able to run with SWAN_SYNC=1 and have it applied to the tasks. To add to just the link that Zalster posted, I thought the full post describing the steps necessary to run TBar's BOINC versions.
I also have had to install libcurl3 for the boinc client along with the libwebkitgtk-1.0-0 for the Manager. I did discover that Ubuntu 18.10 has removed libcurl3 from the repository and the solution is to add the curl34 ppa repository and then install the libcurl4 library from that ppa which has both libcurl3 and libcurl4 libraries in the libcurl4 package. A major benefit of these BOINC versions are that you simply unpack them to location of your choice like /home. The owner is then just you with full permissions to do whatever you want with any file. Based on comments from others at SETI that have previously run the repository versions of BOINC, it is best to purge/autoremove the repository versions and reboot before installing the TBar versions to prevent old symbolic links from interfering. |
©2026 Universitat Pompeu Fabra