Linux CUDA 'Special' App finally available, featuring Low CPU use

Message boards : Number crunching : Linux CUDA 'Special' App finally available, featuring Low CPU use
Message board moderation

To post messages, you must log in.

Previous · 1 . . . 49 · 50 · 51 · 52 · 53 · 54 · 55 . . . 78 · Next

AuthorMessage
Profile Keith Myers
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 3057
Credit: 203,177,200
RAC: 286,016
United States
Message 1886557 - Posted: 28 Aug 2017, 3:25:53 UTC - in response to Message 1886553.  

Has me thinking too. There has to be some 'hooks' into the Manager to effect BoincTasks task control obviously. So where does BoincTasks intercept the Manager-Scheduler server communication? Is there some 'global' hidden setting that it sets that is not exposed in the Manager interface?

Looks like we need to post some questions to Fred over in the BoincTasks forums.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1886557 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 3057
Credit: 203,177,200
RAC: 286,016
United States
Message 1886562 - Posted: 28 Aug 2017, 4:04:31 UTC

OK, registered for the BoincTasks forum and posted the question in the forum. I will post back when I receive a response.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1886562 · Report as offensive     Reply Quote
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 9171
Credit: 118,630,888
RAC: 50,601
Australia
Message 1886566 - Posted: 28 Aug 2017, 4:30:43 UTC - in response to Message 1886553.  

Stand back I'm thinking again,
Now that we have proven how tightly integrated BoincTasks and BOINC can become when it comes to scheduling requests, it brings to mind that some people have problems getting tasks and some don't - Is it BoincTasks that is causing it????

Not for me. Installed BOINC, attached to Seti, installed Lunatics. That's it. No other 3rd party programmes involved.
It's all due to the Dec Scheduler issue that stopped people getting any v8 work when they had only AP selected and v8 only when there was no work for their selected application (AP).
Grant
Darwin NT
ID: 1886566 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 3057
Credit: 203,177,200
RAC: 286,016
United States
Message 1886573 - Posted: 28 Aug 2017, 5:37:41 UTC - in response to Message 1886566.  

Grant, we were discussing my task download limitations per request. Not the ongoing issue of just getting work which as you say goes back to December of last year. Two separate issues. My task download per request limitation was definitely tied into BoincTasks.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1886573 · Report as offensive     Reply Quote
Stephen "Heretic"
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 2851
Credit: 54,905,621
RAC: 89,600
Australia
Message 1886597 - Posted: 28 Aug 2017, 11:54:34 UTC - in response to Message 1886553.  

Stand back I'm thinking again,
Now that we have proven how tightly integrated BoincTasks and BOINC can become when it comes to scheduling requests, it brings to mind that some people have problems getting tasks and some don't - Is it BoincTasks that is causing it????

Does the scheduler request go through BT before it is sent to the server, or are the setting loaded when network communication is established?
What if .....



. . I have the download problem too but I am not running BOINC Tasks on the machines with the issue. So I am guessing ... NO!

Stephen

:(
ID: 1886597 · Report as offensive     Reply Quote
Profile DarrellProject Donor
Volunteer tester
Avatar

Send message
Joined: 14 Mar 03
Posts: 267
Credit: 1,395,861
RAC: 150
United States
Message 1886637 - Posted: 28 Aug 2017, 15:54:09 UTC

Ok peoples, let us clearup a misnomer. Boinc Manager and Boinc Tasks are simply Graphical User Interfaces. They have absolutely nothing to do with scheduling and server contacting. They are graphical versions of the Boinccmd.exe program. All scheduling, contacting the servers, etc takes place within the Boinc client program (Boinc.exe).
... and still I fear, and still I dare not laugh at the Mad Man!

Queen - The Prophet's Song
ID: 1886637 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 3057
Credit: 203,177,200
RAC: 286,016
United States
Message 1886658 - Posted: 28 Aug 2017, 18:35:39 UTC - in response to Message 1886637.  

OK, let's label the elements correctly. The client (BOINC.EXE) is what communicates with the scheduling servers. Yes, BoincTasks is a graphical management tool. It does have the ability to limit work by overriding the usual number of days work buffer and limit by the number of tasks. This is from Brent's post.

WU regulator
As of 1.43, this function can now be found in: C:\Program Files\eFMer\BoincTasks\examples config.xml.
Instead of having a work buffer for a number of days, BoincTasks has the option for a work buffer of xx Work Units.


Evidently I must have set this in BoincTasks a long while ago when I was having issues with Einstein inundating me with work. I had a backup file (.OLD) of the BoincTasks configuration file that had a hard limit of 400 tasks onboard it seems. That is what was causing my download issues. This is the response from BoincTask's developer, Fred.

BoincTasks simply sets no more work on the computer that reaches the maximum number of tasks. By giving the BOINC client a no more work instruction.
So this will NOT get you any more work.

If you don't get enough work check BoincTasks -> Extra -> BOINC preference
In the network tab set Minimum work buffer to 10 and the Additional work buffer to 10.
Repeat for all computers.

The only way I know to get more work on a single computer is by starting multiple BOINC clients.
https://efmer.com/linux-running-multiple-boinc-clients/
This is a great way to get plenty of work.

I see you reschedule work, that is a great way to mess things up and may be the cause of your problems.


He didn't understand my detailed post or glossed over it quickly based on his response. So what he is saying that by using the max task limit feature in BoincTasks it sets NNT for the client to not request work. That is not what was happening with my case though. I continued to get work at all times, as long as the project had work of course. My problem came from the small quantities received per request.

At this time, I have no clue why those two files had any effect but their removal has quickly erased the problem.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1886658 · Report as offensive     Reply Quote
JohnDK
Volunteer tester
Avatar

Send message
Joined: 28 May 00
Posts: 995
Credit: 130,665,066
RAC: 113,598
Denmark
Message 1886679 - Posted: 28 Aug 2017, 21:13:34 UTC - in response to Message 1886495.  

. . Also, are you running Linux and the repository version of BOINC? Because there is a script you can run that restarts the BOINC client as a service without rebooting the system. It has saved me a lot of irritation on my rig that is running the above configuration. It is a small simple script.

. . You could even just issue the commands form the terminal each time.

:(

Yes I'm running repository BOINC, but I'm using Mint and I think I've read you can't stop the service without rebooting. Otherwise a script seems perfect.


'service boinc stop' to stop
'service boinc start' to start
'service boinc status' to get the status

Thanks W3Perl & Brent, works fine.

So does anyone have that script? I'm really not in the mood to do it manually...
ID: 1886679 · Report as offensive     Reply Quote
Stephen "Heretic"
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 2851
Credit: 54,905,621
RAC: 89,600
Australia
Message 1886689 - Posted: 28 Aug 2017, 22:24:12 UTC - in response to Message 1886658.  


He didn't understand my detailed post or glossed over it quickly based on his response. So what he is saying that by using the max task limit feature in BoincTasks it sets NNT for the client to not request work. That is not what was happening with my case though. I continued to get work at all times, as long as the project had work of course. My problem came from the small quantities received per request.

At this time, I have no clue why those two files had any effect but their removal has quickly erased the problem.


. . Well Keith as they say, "the proof of the pudding", since the removal of the files allowed better functioning then their presence could be considered to have an effect on that function. Only at this point we don't know just what effect.

Stephen

:(
ID: 1886689 · Report as offensive     Reply Quote
Profile Brent Norman
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 1962
Credit: 130,495,304
RAC: 350,162
Canada
Message 1886693 - Posted: 28 Aug 2017, 22:34:52 UTC - in response to Message 1886679.  

This is the script I made for loading up for Tuesdays outages using the Petri/Laurent cpu2gpu.pl script

c2g.sh
# QOpt for Linux
# Run as ROOT

for (( ; ; ))
do

  clear
  # Stop BOINC
  echo  "  ======== Stop BOINC ======"
  /etc/init.d/boinc-client stop
  echo  "  ======== Sleep 10 ======="
  sleep 10
  #
  # Run CPU2GPU
  echo  "  ==== Running cpu2gpu ===="
  ./cpu2gpu.pl
  echo  "  ======== Sleep 2 ========"
  sleep 2
  #
  # Start BOINC
  echo  "  === Start BOINC Client =="
  /etc/init.d/boinc-client start
  echo  "  ========================="
  echo  "  === Sleep 15 Minutes ===="
  #
  date
  echo  "  ==== CTRL+C to Exit ====="
  sleep 15m
  #

done

You can remove the loop for a 'run once' option.

It's pretty simple, and gives a readable separation of the tasks being done.
ID: 1886693 · Report as offensive     Reply Quote
W3PerlProject Donor
Volunteer tester

Send message
Joined: 29 Apr 99
Posts: 159
Credit: 1,083,914,354
RAC: 1,967,203
France
Message 1886816 - Posted: 30 Aug 2017, 6:13:03 UTC - in response to Message 1886307.  


. . Hi again,

. . Moving in both directions is the biggy, but with Stubbles' script you can select the tasks to be moved by suspending them first. That would be great for me as I am used to that method. But I cannot speak for others ...

Stephen
:)


I have a new version which can :
1) move tasks from gpu to cpu (-r flag)
2) move only suspended tasks (-s flag).

If you want to have a try....
ID: 1886816 · Report as offensive     Reply Quote
Stephen "Heretic"
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 2851
Credit: 54,905,621
RAC: 89,600
Australia
Message 1886825 - Posted: 30 Aug 2017, 11:58:20 UTC - in response to Message 1886816.  


I have a new version which can :
1) move tasks from gpu to cpu (-r flag)
2) move only suspended tasks (-s flag).

If you want to have a try....


. . 8^} Where do ya get it ??

Stephen

:)
ID: 1886825 · Report as offensive     Reply Quote
Bruce
Volunteer tester

Send message
Joined: 15 Mar 02
Posts: 94
Credit: 94,917,999
RAC: 45,868
United States
Message 1886833 - Posted: 30 Aug 2017, 14:10:11 UTC - in response to Message 1886816.  

I have a new version which can :
1) move tasks from gpu to cpu (-r flag)
2) move only suspended tasks (-s flag).

If you want to have a try....



I'd be interested in getting it also.
Bruce
ID: 1886833 · Report as offensive     Reply Quote
Profile petri33Project Donor
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1477
Credit: 285,064,541
RAC: 236,210
Finland
Message 1886914 - Posted: 30 Aug 2017, 19:30:27 UTC

Let me help you. You can try a private message or just wish. Whichever you think is more effective.
To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1886914 · Report as offensive     Reply Quote
Stephen "Heretic"
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 2851
Credit: 54,905,621
RAC: 89,600
Australia
Message 1886948 - Posted: 30 Aug 2017, 21:35:38 UTC - in response to Message 1886914.  

Let me help you. You can try a private message or just wish. Whichever you think is more effective.


. . Star light, star bright, first star I see tonight ...

Stephen

:)
ID: 1886948 · Report as offensive     Reply Quote
W3PerlProject Donor
Volunteer tester

Send message
Joined: 29 Apr 99
Posts: 159
Credit: 1,083,914,354
RAC: 1,967,203
France
Message 1887088 - Posted: 31 Aug 2017, 13:49:56 UTC - in response to Message 1886825.  
Last modified: 31 Aug 2017, 13:50:32 UTC


I have a new version which can :
1) move tasks from gpu to cpu (-r flag)
2) move only suspended tasks (-s flag).

If you want to have a try....


. . 8^} Where do ya get it ??

Stephen

:)


Sorry, you can get it at :
http://www.w3perl.com/seti/cpu2gpu.pl

beta software ! Let me know how to improve or send me bug report ! ;)
ID: 1887088 · Report as offensive     Reply Quote
Stephen "Heretic"
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 2851
Credit: 54,905,621
RAC: 89,600
Australia
Message 1887615 - Posted: 3 Sep 2017, 0:51:39 UTC

. . @ Petri and TBar

. . Yay team! Thanks to you guys my current top rig has made Page 1! At a RAC of 103K Bertie has crawled into 20th spot. Now all I have to do is rebuild La-Bamba (only 2 x 1060-6G) and see where she climbs to. I don't think she will make page 1 but maybe page 2 :).

Stephen

:)
ID: 1887615 · Report as offensive     Reply Quote
JohnDK
Volunteer tester
Avatar

Send message
Joined: 28 May 00
Posts: 995
Credit: 130,665,066
RAC: 113,598
Denmark
Message 1887977 - Posted: 5 Sep 2017, 10:46:38 UTC

When I try running the script in mint, I get this error, what do I do?

./cpu2gpu.pl -r

bash: ./cpu2gpu.pl: /usr/bin/perl^M: bad interpreter: No such file or directory
ID: 1887977 · Report as offensive     Reply Quote
JohnDK
Volunteer tester
Avatar

Send message
Joined: 28 May 00
Posts: 995
Credit: 130,665,066
RAC: 113,598
Denmark
Message 1887979 - Posted: 5 Sep 2017, 11:43:19 UTC

I also has problems running the script in windows, first 2 times in was making ghost WUs, 3rd time I made a backup of BOINC before I tried, here it worked. So I tried again just now, suspended 50 WUs and ran the script:

cpu2gpu.pl -s
GPU version found : 821 710 - (class : opencl_nvidia_SoG cuda_opencl_100)
CPU version found : 800
AP version found : 703
Found GPU version used : 821 in D:/ProgramData/BOINC/client_state.xml (opencl_nvidia_SoG / windows_x86_64)
Found CPU Version used : 800 in D:/ProgramData/BOINC/client_state.xml
219 wu found
-----
Your current D:/ProgramData/BOINC/client_state.xml :
- CPU (MB8_win_x64_AVX_VS2010_r3330.exe) (800) : 50 wu
==> Converted wu from CPU to GPU : 50

But when I ran BOINC again, the 50 WUs dissarired into ghost state :(
ID: 1887979 · Report as offensive     Reply Quote
Stephen "Heretic"
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 2851
Credit: 54,905,621
RAC: 89,600
Australia
Message 1887980 - Posted: 5 Sep 2017, 12:01:02 UTC - in response to Message 1887977.  

When I try running the script in mint, I get this error, what do I do?

./cpu2gpu.pl -r

bash: ./cpu2gpu.pl: /usr/bin/perl^M: bad interpreter: No such file or directory


. . It is a "perl" script and you need to have perl installed to run it.

Stephen

..
ID: 1887980 · Report as offensive     Reply Quote
Previous · 1 . . . 49 · 50 · 51 · 52 · 53 · 54 · 55 . . . 78 · Next

Message boards : Number crunching : Linux CUDA 'Special' App finally available, featuring Low CPU use


 
©2018 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.