a way to only get a certain type of task at a Project

log in

Advanced search

Message boards : Number crunching : a way to only get a certain type of task at a Project

Author Message
mikey
   
Avatar
Send message
Joined: 20 May 10
Posts: 250
Credit: 1,080,315
RAC: 213
Total hours: 4,313,222
Message 8443 - Posted: 13 Oct 2021, 12:53:46 UTC

I know there is a way to avoid getting the 'wrong' kind of tasks at a Boinc Project but does anyone have the actual cc_config.xml file, I can figure out the actual name in most cases, but need the file as a starting point. I'm talking about Projects, like Rosetta for me right now as I try to get only Python tasks, but also at other Projects that chose not to employ the task type selection, GpuGrid is another example, and as I try to get more apps over the 100 hour mark not having to delete dozens of the wrong types of tasks would help alot. Micro-managing is a pain in the butt with soo many apps.
mikey

Sergey Kovalchuk
         
Send message
Joined: 27 Oct 15
Posts: 199
Credit: 1,641,018
RAC: 63
Total hours: 2,692,209
Message 8444 - Posted: 13 Oct 2021, 15:24:21 UTC - in response to Message 8443.

1. catch at least one necessary task, you have to get:
a) a set of binary for the application
b) description of the app_version in client_state

2. create an app_info for the desired application

Profile den777
     
Send message
Joined: 21 Jun 13
Posts: 25
Credit: 724,220
RAC: 266
Total hours: 967,865
Message 8445 - Posted: 13 Oct 2021, 15:47:56 UTC - in response to Message 8443.
Last modified: 13 Oct 2021, 15:52:24 UTC

As far as I know, nope. If project does not provide option to select apps (like Rosetta) and does not allow anonymous platform with custom app_info.xml (like Rosetta), it can't be helped.
Of course it is possible to write a script to monitor current running boinc tasks and cancelling "bad tasks" but it is complicated...

Btw, does wuprop count hours from anonymous platforms? I suppose no, because elsewhere you can easily cheat wuprop with anonymous custom app that does nothing for N hours.

Profile DoctorNow
         
Avatar
Send message
Joined: 7 Apr 10
Posts: 207
Credit: 409,880
RAC: 110
Total hours: 1,030,992
Message 8446 - Posted: 13 Oct 2021, 17:04:41 UTC - in response to Message 8445.

Sergey Kovalchuk wrote:
1. catch at least one necessary task, you have to get:
...

Sometimes it can be even easier, when the project allows to look into the server-side download folder - then you don't need to catch a task and just can zip the used app to the own host and continue with the rest. ;-)

den777 wrote:
Btw, does wuprop count hours from anonymous platforms? I suppose no, because elsewhere you can easily cheat wuprop with anonymous custom app that does nothing for N hours.

Are you referring to use the wuprop-app in an xml-file?
If yes, this is indeed forbidden, because you can use multiple instances like this. There was a separate thread for this somewhere here. You can get banned if you do so.
If you are referring to anonymous platforms on other projects, this is no problem since you mostly use the app given from the project for this. WUProp detects that and does count the hours.
____________
Life is Science, and Science rules. To the universe and beyond
Member of BOINC@Heidelberg
My BOINC-Stats

mikey
   
Avatar
Send message
Joined: 20 May 10
Posts: 250
Credit: 1,080,315
RAC: 213
Total hours: 4,313,222
Message 8447 - Posted: 13 Oct 2021, 19:43:24 UTC - in response to Message 8444.
Last modified: 13 Oct 2021, 20:15:57 UTC

1. catch at least one necessary task, you have to get:
a) a set of binary for the application
b) description of the app_version in client_state

2. create an app_info for the desired application


That could be it but I don't know how to write it yet, I will do some checking and see what I can find.

I think I'm closer but not quite there yet with this from my time on NanoHub:

<app_config>
<app>
<name>boinc2docker</name>
<max_concurrent>8</max_concurrent>
</app>
</app_config>

Maybe this with the names being correct?
<app_config>
<app>
<name>ithena_cnode</name>
<max_concurrent>0</max_concurrent>
</app>
<app>
<name>ithena_perf</name>
<max_concurrent>1</max_concurrent>
</app>
</app_config>

Would that make the project send me zero tasks for the first type of app and send me 1 task at a time for the 2nd app? Assuming I got the names right of course.

Vato
   
Avatar
Send message
Joined: 25 May 10
Posts: 41
Credit: 1,798,899
RAC: 1,694
Total hours: 2,140,206
Message 8449 - Posted: 13 Oct 2021, 20:34:52 UTC - in response to Message 8447.

no it would not

this controls how many tasks the client will run

it has no impact whatsoever on what gets downloaded, which is a purely server side decision

mikey
   
Avatar
Send message
Joined: 20 May 10
Posts: 250
Credit: 1,080,315
RAC: 213
Total hours: 4,313,222
Message 8451 - Posted: 13 Oct 2021, 23:17:58 UTC - in response to Message 8449.

no it would not

this controls how many tasks the client will run

it has no impact whatsoever on what gets downloaded, which is a purely server side decision


And that's what my research, including the same comment from Michael Goetz an Admin at PrimeGrid, has shown! Oh well back to aborting all the wrong tasks!!

mmonnin
     
Send message
Joined: 22 Aug 16
Posts: 334
Credit: 1,463,711
RAC: 935
Total hours: 6,267,734
Message 8452 - Posted: 14 Oct 2021, 2:34:46 UTC

At least Rosetta doesn't seem to have a penalty for failed/aborted tasks. The rosetta app used to always run for 6hr and abort on my ryzen system. Duration was set to 1hr and the mini rosetta tasks ran fine. So the rosetta tasks were aborted. If the project can't add an app selection to project preferences then that's what they get. That seems like a simpler implementation than a task duration.

I'd probably run some python tasks as well for hours but I can't get just those.

mikey
   
Avatar
Send message
Joined: 20 May 10
Posts: 250
Credit: 1,080,315
RAC: 213
Total hours: 4,313,222
Message 8453 - Posted: 14 Oct 2021, 10:44:00 UTC - in response to Message 8452.

At least Rosetta doesn't seem to have a penalty for failed/aborted tasks. The rosetta app used to always run for 6hr and abort on my ryzen system. Duration was set to 1hr and the mini rosetta tasks ran fine. So the rosetta tasks were aborted. If the project can't add an app selection to project preferences then that's what they get. That seems like a simpler implementation than a task duration.

I'd probably run some python tasks as well for hours but I can't get just those.


I just kept aborting tasks until I got some, on my systems they are projected to only last for about 6 hours each but I have 2 running right now that are over 30 hours!! Each task reserves 8gb of ram so on my laptop with only 16gb of ram I only run 1 at a time but on my MacPro with 24gb of ram I run 2 at a time. The laptop is Windows and the tasks are taking between 8k and 16k seconds each, the MacPro is old and the I7 cpu is not nearly as fast.


Post to thread

Message boards : Number crunching : a way to only get a certain type of task at a Project


Home | My Account | Message Boards | Results


Copyright © 2022 Sebastien