Message boards : Number crunching : Discussion of Ubuntu 16.04-x64 LTS installation and configuration
Author | Message |
---|---|
This thread is to allow discussion of the following (locked) FAQ thread, | |
ID: 43504 | Rating: 0 | rate: / Reply Quote | |
This thread is to allow discussion of the following (locked) FAQ thread, Thank you VERY MUCH for doing this guide! It's greatly appreciated! | |
ID: 43505 | Rating: 0 | rate: / Reply Quote | |
You are welcome and I hope you find it useful. | |
ID: 43506 | Rating: 0 | rate: / Reply Quote | |
I think, this is the more appropriate thread for the discussion I started over in COOLBITS as LUBUNTU and LINUX MINT are UBUNTU derivates. | |
ID: 43955 | Rating: 0 | rate: / Reply Quote | |
THANK YOU so much for doing this. | |
ID: 44015 | Rating: 0 | rate: / Reply Quote | |
If you use the USB-stick for installation on a Hard Disk it is not so important if you use USB 2.0 or 3.0, although the latter is noticeable faster during installation or running LINUX from the USB-stick (The start-up process is much slower on the USB 2.0). | |
ID: 44017 | Rating: 0 | rate: / Reply Quote | |
If you use the USB-stick for installation on a Hard Disk it is not so important if you use USB 2.0 or 3.0, although the latter is noticeable faster during installation or running LINUX from the USB-stick (The start-up process is much slower on the USB 2.0). I have a 32GB USB 3.0 stick to which I was hoping to install Linux. Not run as a live distro (I'm assuming one cannot create, edit, and save persistent files within a live copy - is this incorrect?) or install from, but install Linux to the stick such that when the stick is plugged in, I will have a fully installed copy of Ubuntu, but when the stick is not plugged in, the PC will boot to Windows as normal from the internal drive. After reading through skgiven's How To, I'm not sure whether this is the scenario in mind or not. EDIT: I've tried twice to get Ubuntu up and running using UUI and also Rufus (as recommended on Ubuntu's site). Both times have resulted in absolutely nothing happening after the initial Install/Live selection screen. I would just get 20 minutes of black screen and the indicator light on the USB would not be flashing either. After 20 minutes I gave up - figured something should have loaded by then if it was working as it should. I hope I'm doing something wrong, but can't figure out what it would be. | |
ID: 44028 | Rating: 0 | rate: / Reply Quote | |
My intention was to cover a basic/standard installation to an internal drive, rather than an external USB stick to create a multi-boot environment. | |
ID: 44030 | Rating: 0 | rate: / Reply Quote | |
My intention was to cover a basic/standard installation to an internal drive, rather than an external USB stick to create a multi-boot environment. I tried both the "Install" option and the Live session option, both just went to black screen immediately afterward. When I saw your install instructions and you had us using USB sticks rather than optical discs I just assumed we were actually installing Linux TO the USB rather than just using it load the image for install to an internal drive. I'd rather not set-up a dual boot situation due to bad past experiences, but I have an extra SSD I could swap in for the Linux install. Never tried it, but I'm assuming that unplugging the Windows drive and replacing it with a drive on which I would then install Linux would allow me to just switch which SATA cable I have plugged in to switch OS (and files, etc.). | |
ID: 44041 | Rating: 0 | rate: / Reply Quote | |
I've been slowly moving my DC machines to Ubuntu 16.04 LTS. There's been some trials along the way but I was able to search for answers. The only problem I have not been able to solve is getting the Boinc manager to connect to the boinc client again. It was working fine until I did a sudo service boinc-client restart command in a terminal. After that the manager is shown as disconnected and it will not reconnect even after a restart or a complete power down and restart. I think it may have something to do with the client_state.xml file. The is no ip addy listed but when I edit the file and add one it doesn't stick. When I restart boinc it's empty again. When I check that file on other Linux hosts it shows the ip 127.0.0.1. On my lone windows host it shows the assigned ip addy I gave it (192.168.1.xx). Have no idea what else to try and asking for help @ askubuntu.com has resulted in no responses. | |
ID: 44103 | Rating: 0 | rate: / Reply Quote | |
The only problem I have not been able to solve is getting the Boinc manager to connect to the boinc client again. This is the issue I've always had with BOINC in Ubuntu. I've never been able to get it working because the Manager and the Client don't seem to want to talk to each other. | |
ID: 44104 | Rating: 0 | rate: / Reply Quote | |
nanoprobe, | |
ID: 44105 | Rating: 0 | rate: / Reply Quote | |
The only problem I have not been able to solve is getting the Boinc manager to connect to the boinc client again. I have had this problem on every BOINC installation I have done in Ubuntu 16.04 on four machines. The solution is: Copy "gui_rpc_auth.cfg" from the /etc/boinc-client folder to the home directory and reboot to allow BM to connect. Since you are only reading from the /etc/boinc-client it should work, but if you have a permission problem let me know. Why they did not get this right to begin with is beyond me, but I am new to Ubuntu myself and don't know what worked before. | |
ID: 44107 | Rating: 0 | rate: / Reply Quote | |
nanoprobe, Thanks but none of your suggestions worked. The boinc client and manager were both installed from the repositories. The system monitor did not show boinc, only boinc manager but I know the client is running because I can control it with BoincTasks and the sensors show temp and 100% core load. Maybe things are different in this version of ubuntu. | |
ID: 44112 | Rating: 0 | rate: / Reply Quote | |
The only problem I have not been able to solve is getting the Boinc manager to connect to the boinc client again. I copied the gui_rpc_auth.cfg from the /etc/boinc-client folder but I was not able to paste it into the home directory. The paste option was greyed out which means I have a permissions issue. Did a lot of searching and tried some terminal commands but have not found an answer yet. | |
ID: 44113 | Rating: 0 | rate: / Reply Quote | |
I copied the gui_rpc_auth.cfg from the /etc/boinc-client folder but I was not able to paste it into the home directory. The paste option was greyed out which means I have a permissions issue. Did a lot of searching and tried some terminal commands but have not found an answer yet. Here is a more complete list of what I do to allow access to /etc/boinc-client. Note that I copy a modified "gui_rpc_auth.cfg" into that folder, but you may not need to modify it. Also, it allows for creating (or changing) a "cc_config.xml" file, if you need to do that. I also use a "remote_hosts.cfg" file to allow access over the LAN, but you may not need it. I have also included the commands to allow access to /var/lib/boinc-client, where the project folders are located. You will need that to copy an "app_config.xml" file into the GPUGrid project folder, for example. -> Just replace "user_name" with you actual user name. Join the root group: sudo adduser user_name root Join the BOINC group: sudo adduser user_name boinc Allow group to read, write and execute in /etc/boinc-client folder: sudo chmod -R g+rwx /etc/boinc-client Allow group to read, write and execute in /var/lib/boinc-client: sudo chmod -R g+rwx /var/lib/boinc-client Reboot Copy “gui_rpc_auth.cfg” to /etc/boinc-client folder Copy “remote_hosts.cfg” to /etc/boinc-client folder Copy “cc_config.xml” to /etc/boinc-client folder Copy "gui_rpc_auth.cfg" to the home directory Reboot Copy the "app_config.xml" files to the project folders in /var/lib/boinc/ | |
ID: 44114 | Rating: 0 | rate: / Reply Quote | |
I copied the gui_rpc_auth.cfg from the /etc/boinc-client folder but I was not able to paste it into the home directory. The paste option was greyed out which means I have a permissions issue. Did a lot of searching and tried some terminal commands but have not found an answer yet. That fixed it. Can't thank you enough. For someone who claims to be new at Linux you fixed something I've searching for weeks. Where did you come up with the info? Thanks again. David | |
ID: 44119 | Rating: 0 | rate: / Reply Quote | |
For someone who claims to be new at Linux you fixed something I've searching for weeks. Where did you come up with the info? You are welcome. It is Googling and educated guessing. There is unfortunately no single source of information for BOINC on Linux. That seems to be true of other aspects of Linux too. You have to learn it yourself for each distro. But for my simple crunching needs, it is now actually faster to set up a machine on Ubuntu than for Windows. I did my fourth one today in under two hours from the point of wiping the SSD with a secure erase to crunching on BOINC, and shortly thereafter Folding too. It is unfortunate that the learning curve is steep though. Linux is really designed to be a secure server operating system, not a desktop OS. The permissions and folder structure are quite different than Windows, as you know. | |
ID: 44120 | Rating: 0 | rate: / Reply Quote | |
Each distribution/version of Linux has different features, terminal commands and add ons which makes it almost as difficult moving from one distribution to another as it is to move from Windows to Linux. However, Ubuntu 6.04-x64 is a Long Term Support distro, so it's something you can stick with for longer. While the command lines might have changed somewhat, again, the GUI updates (via the Ubuntu Sortware icon and Sortware & Updates in System Settings) are encouraging. | |
ID: 44123 | Rating: 0 | rate: / Reply Quote | |
Each distribution/version of Linux has different features, terminal commands and add ons which makes it almost as difficult moving from one distribution to another as it is to move from Windows to Linux. However, Ubuntu 6.04-x64 is a Long Term Support distro, so it's something you can stick with for longer. While the command lines might have changed somewhat, again, the GUI updates (via the Ubuntu Sortware icon and Sortware & Updates in System Settings) are encouraging. 16.04 does support the 10xx series GPUs. It was a minor PITA(probably more so for me being the Linux noob) to get it working. I can post what I did later if that will help. Just waiting for GPUGrid to support them. Thanks for the links. | |
ID: 44124 | Rating: 0 | rate: / Reply Quote | |
Please do, it's likely to be useful to many. | |
ID: 44137 | Rating: 0 | rate: / Reply Quote | |
When I first installed 16.04 I was using a 750Ti and I installed the 361 driver from the repository. When I tried to install my 1060 I couldn't get it to boot. I put the 750 back in and started searching. The 367.27 driver is needed for the 10xx cards. I also found it helped me to install synaptic package manager first. | |
ID: 44142 | Rating: 0 | rate: / Reply Quote | |
Tried to use the 375.20 repo drivers on Ubuntu 16.04_x64 LTS but could not get Boinc to recognise the GPU. Tried lots of tricks (repeatedly) but none worked. Reverted to 370.28 and things are working again. X server said the 375.20 driver was there but maybe it didn't fully install. | |
ID: 45348 | Rating: 0 | rate: / Reply Quote | |
I have a setup running | |
ID: 45395 | Rating: 0 | rate: / Reply Quote | |
I've been converting all my Windows machines over to Linux of late. I have been running Win7 but given I don't want Microsoft deciding how to manage my machines for me I went with Linux. | |
ID: 47071 | Rating: 0 | rate: / Reply Quote | |
UBUNTU 18.04 LTS | |
ID: 50743 | Rating: 0 | rate: / Reply Quote | |
I am not familiar with Linux, but to me it seems that there may be some GPU throtteling due to the high temperature (79° - which, running constantly, is definitely not good for the lifetime of the card). | |
ID: 50744 | Rating: 0 | rate: / Reply Quote | |
UBUNTU 18.04 LTS I agree with the previous statement. You need to look at increasing your fan speed as your card is getting hot. Do you have nvidia settings installed? Are you able to adjust the fan speed? Edit.. OK, just saw your PM. I have responded with instructions for you Z ____________ | |
ID: 50745 | Rating: 0 | rate: / Reply Quote | |
UBUNTU 18.04 LTS You can't use the SWAN_SYNC environmental variable under Linux to dedicate a CPU thread for the GPUGrid app to increase GPU usage. (It works only under Windows.) BTW the GPUGrid app can't reach 100% GPU usage. The maximum is about 95% (under Windows XP with SWAN_SYNC on). GPU load about 30% 60% This is quite low. There's one component you forgot to post: Your host has an AMD Ryzen Threadripper 2990WX 32-Core Processor, which is hyper-threaded, so it can run 64 tasks at the same time. In my experience if BOINC is not limited to use only the 50% of a HT CPU, the tasks will hinder each other's performance (as these scientific applications usually do a lot of floating point operations, and there's only 1 such FP unit available per core on the CPU). Memory bandwidth could be a limiting factor too when running too many tasks simultaneously. Too many CPU tasks can lower GPU performance a lot (In my experience there can be only 1 CPU task running without much GPU performance loss). T° 79° speed fan 50% This is quite hot, perhaps your CPU & GPU heats each other too much. If the GPU cooler emits the heat inside the PC case, you'll need some extra fans to remove the excess heat. | |
ID: 50746 | Rating: 0 | rate: / Reply Quote | |
UBUNTU 18.04 LTS I am not quite sure how you managed to get that, except insufficient CPU support as Zoltan suggested. But I have a GTX 980 running under Ubuntu 16.04 at the moment (PABLO_2IDP), supported by a single core of an i7-3770. (The other seven cores are running Universe.) And I have the 396.54 driver, though I doubt that matters. It runs at 91 to 95% utilization, averaging about 93%. So I think you need to do something with the CPU to support your card better. As for the temps, they are high. Is your room warm? But I see your fan is running at only 50%, so maybe it is designed to run hot. Some cards are. (Mine runs cool, since it has three fans; currently 65C with 38% fan speed.) Good luck. PS - I have a Ryzen 1700 machine, and it has no trouble supporting Nvidia cards. I think it does at least as well as my Haswell (i7-4770), so the Threadripper should do OK. But what other projects are you running? How many cores reserved? PPS: I recall it being discussed a while ago that Nvidia cards down-clock above a certain temperature, but I don't know what it is. You might want to check your GPU clock speed. | |
ID: 50747 | Rating: 0 | rate: / Reply Quote | |
I use a windows laptop that runs BOINC Tasks to control the crunchers but also have the manager on the desktop of each cruncher. I just run BoincTasks under Wine. I have to have BT to monitor and control my hosts but don't want to ever touch Windows again. BT runs fine under Wine. | |
ID: 50748 | Rating: 0 | rate: / Reply Quote | |
My GTX 750 Ti on a SuSE Leap 15.0 Linux and an Opteron 1210 CPU runs at 57 C, GPU clock 1137 MHz, memory clock 2700 MHz. Driver is 390.87. | |
ID: 50749 | Rating: 0 | rate: / Reply Quote | |
Yes, all the Nvidia cards down/up clock in 12 Mhz bins for every 5 degrees decrease/increase in temps. I think the temp where the card doesn't hit the thermal binning point is somewhere around 54°C. At that point it will run at max clocks. All my EVGA Hybrid cards always run at max clocks since they are always cooler than 54°C. The only card that even gets close or rarely goes past that point is the GTX 1080Ti in the summer. So the cooler you can run the card, the higher the clocks it will maintain. | |
ID: 50750 | Rating: 0 | rate: / Reply Quote | |
You can't use the SWAN_SYNC environmental variable under Linux to dedicate a CPU thread for the GPUGrid app to increase GPU usage. Maybe you can explain why I have one host that is able to run all GPUGrid tasks with SPIN synchronization. All my other hosts run with BLOCKING. All the hosts have identical hardware for mobo, cpu and memory. The only differences are in the mix of Nvidia gpus each host has. All the hosts run Ubuntu 18.04 with Nvidia 410.66 drivers. So how is this host any different than the others? https://www.gpugrid.net/show_host_detail.php?hostid=456812 The only obvious difference is this host has three identical 1070Ti's and the other hosts have a mix of 1070/1070Ti/1080/1080TI cards in each host. I've been asked a couple times now how I managed this feat. I don't have a clue. | |
ID: 50751 | Rating: 0 | rate: / Reply Quote | |
You can't use the SWAN_SYNC environmental variable under Linux to dedicate a CPU thread for the GPUGrid app to increase GPU usage. I wish I could explain that, but I'm glad your host proves that I am wrong. All the hosts have identical hardware for mobo, cpu and memory. The only differences are in the mix of Nvidia gpus each host has. There's total confusion about it on the forum. I've tried every setting I can think of. I've restarted my host after each configuration change. I've tried to change the user account under which boinc runs, by changing the BOINC_USER setting in /etc/default/boinc-client and in /etc/init.d/boinc-client to my user and to root, none of them took effect (boinc still runs under user "boinc"). I've changed the access permissions of /var/lib/boinc-client to full access. I've put "export swan_sync=0", "export swan_sync=1" to ~/.bashrc, /etc/init.d/boinc-client, /etc/bash.bashrc, /etc/profile I've put "swan_sync=0", "swan_sync=1" to /etc/default/boinc-client, ~/.profile, /etc/profile None of the above worked. (I don't know how Linux works, so it's no wonder.) BTW I'm using Ubuntu 18.04.1 LTS. References: ACEMD2 6.12 cuda and 6.13 cuda31 for windows and linux GTX 460 New applications ACEMD2 6.07/6.08 for Win and Lin Load balancing GPUGRID and other boinc projects on Linux. Setting up BOINC/GPUGRID on Fedora GT240 and Linux: niceness and overclocking Just a few Linux/GPU questions The punchline: (message 38355) CUDA 6.5 app for Linux now available on acemdbeta and acemdshort | |
ID: 50753 | Rating: 0 | rate: / Reply Quote | |
Well mystery solved after reading your history of threads regarding swan_sync. I believe that host 456812 was the first host I brought up on Linux and the project. | |
ID: 50759 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50761 | Rating: 0 | rate: / Reply Quote | |
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. Do you think you could give a complete guide of how to accomplish this for the linux novice? I think everyone would benefit from this information. | |
ID: 50762 | Rating: 0 | rate: / Reply Quote | |
It's fairly easy. Question is whether the version of BOINC manager you are using will allow you to use it. | |
ID: 50763 | Rating: 0 | rate: / Reply Quote | |
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. Did the tasks change w/in the past day or have you not been getting the 24hr bonus? All your tasks are worth 73k, 92k or 120k. I had mainly been getting 110k and 180k credit tasks. I was hoping to compare vs my 1070 running 2x tasks at once but want to make sure I compare proper task length. | |
ID: 50764 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50765 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50766 | Rating: 0 | rate: / Reply Quote | |
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_SYNC in 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. | |
ID: 50767 | Rating: 0 | rate: / Reply Quote | |
OK merci beaucoup pour vos commentaires. | |
ID: 50768 | Rating: 0 | rate: / Reply Quote | |
Alain, that was with repository BOINC version 7.9.3. Correct? | |
ID: 50770 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50772 | Rating: 0 | rate: / Reply Quote | |
Did you logoff or reboot to enable the parameter to be read? | |
ID: 50773 | Rating: 0 | rate: / Reply Quote | |
Now you can edit the environment file Do I add this after PATH=bin:? And do quotations matter? | |
ID: 50774 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50775 | Rating: 0 | rate: / Reply Quote | |
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". | |
ID: 50776 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50777 | Rating: 0 | rate: / Reply Quote | |
. 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. | |
ID: 50778 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50779 | Rating: 0 | rate: / Reply Quote | |
I wont get a chance to try this solution for another 6 hours, but... | |
ID: 50780 | Rating: 0 | rate: / Reply Quote | |
Alain, that was with repository BOINC version 7.9.3. Correct? Yes 7.9.3 version. ____________ | |
ID: 50781 | Rating: 0 | rate: / Reply Quote | |
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. ____________ | |
ID: 50782 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50783 | Rating: 0 | rate: / Reply Quote | |
Same thing here. printenv SWAN_SYNC returns a 1 now, but still showing Blocking on the WUs from overnight. | |
ID: 50784 | Rating: 0 | rate: / Reply Quote | |
ALAIN's second work unit returned also with BLOCKING still in the stderr. So it is not picking up the SWAN_SYNC=1 | |
ID: 50785 | Rating: 0 | rate: / Reply Quote | |
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.
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. | |
ID: 50787 | Rating: 0 | rate: / Reply Quote | |
Thanks Keith for all that. Correct me if I'm wrong but isn't it? sudo apt-get install libwebkitgtk-1.0 Z ____________ | |
ID: 50788 | Rating: 0 | rate: / Reply Quote | |
Yes, you should just drop the trailing zero. | |
ID: 50789 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50791 | Rating: 0 | rate: / Reply Quote | |
I've managed the BOINC client (installed from the repo) to notice the SWAN_SYNC=1 parameter (in /etc/environment). sudo su then /etc/init.d/boinc-client stop then I changed dir to the BOINC data dir withcd /var/lib/boinc-client then I've started BOINC with/usr/bin/boinc It 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 | |
ID: 50792 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50793 | Rating: 0 | rate: / Reply Quote | |
Thank you and trying now. | |
ID: 50794 | Rating: 0 | rate: / Reply Quote | |
You should still be able to control the client with the boinccmd tool. | |
ID: 50795 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50796 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50797 | Rating: 0 | rate: / Reply Quote | |
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 ____________ | |
ID: 50798 | Rating: 0 | rate: / Reply Quote | |
My workaround in my previous post is just a temporary solution (it's fine for me for the time being). | |
ID: 50800 | Rating: 0 | rate: / Reply Quote | |
I have successfully automated the start of boinc client. | |
ID: 50801 | Rating: 0 | rate: / Reply Quote | |
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). | |
ID: 50802 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50803 | Rating: 0 | rate: / Reply Quote | |
Thanks for the feedback, will reset | |
ID: 50805 | Rating: 0 | rate: / Reply Quote | |
Zoltan, now that you've tried all of the potential solutions, what do you think is the easiest, safest, and most fool proof? | |
ID: 50806 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50808 | Rating: 0 | rate: / Reply Quote | |
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'). | |
ID: 50809 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50810 | Rating: 0 | rate: / Reply Quote | |
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. | |
ID: 50811 | Rating: 0 | rate: / Reply Quote | |
kksplace wrote:
You can do it with minimal pain by waiting for the tasks run out on the GPUGrid servers (or you can set the BOINC manager not to request new tasks from the GPUGrid project) and when the GPUGrid tasks run out on your host you can switch back to run BOINC daemon as 'boinc'. You're welcome! | |
ID: 50817 | Rating: 0 | rate: / Reply Quote | |
You can do it with minimal pain by waiting for the tasks run out on the GPUGrid servers (or you can set the BOINC manager not to request new tasks from the GPUGrid project) and when the GPUGrid tasks run out on your host you can switch back to run BOINC daemon as 'boinc'. Thank you for the help. I also discovered that somehow the Boinc Manager and Client became disconnected during the process. I found the following worked to get everything connected again: https://askubuntu.com/questions/606666/boinc-wont-connect-to-the-client Now everything back to 'normal' with SWAN_SYNC happily SPINning away. | |
ID: 50818 | Rating: 0 | rate: / Reply Quote | |
UBUNTU 18.04 LTS To my surprise I see 99-100% GPU usage under Linux since we've successfully applied SWAN_SYNC=1. I will convert some of my GTX980Ti hosts to Linux to be able to compare the performance of Windows XP. The Linux app using more recent CUDA (8.0), so perhaps it helps to increase its performance over the old Windows XP app (CUDA 6.5). | |
ID: 50820 | Rating: 0 | rate: / Reply Quote | |
I think it's relatively accepted that the Linux scheduler is smarter than the Windows one. Probably the difference. | |
ID: 50821 | Rating: 0 | rate: / Reply Quote | |
Don't be surprised if the power dissipation (i.e. the temperature and the fan speed) of your GPU(s) increase (about as much as its speed increases) after you apply the SWAN_SYNC=1. | |
ID: 50822 | Rating: 0 | rate: / Reply Quote | |
Message boards : Number crunching : Discussion of Ubuntu 16.04-x64 LTS installation and configuration