app_config file
log in

Advanced search

Message boards : Number crunching : app_config file

Author Message
Profile Mankka*
Avatar
Send message
Joined: 8 Feb 15
Posts: 36
Credit: 40,649,341
RAC: 0
Message 912 - Posted: 14 Feb 2015, 9:17:57 UTC
Last modified: 14 Feb 2015, 9:35:56 UTC

Hi guys !

I'm having problems with the app_config.xml file with SRBase.
I use a config file for all projects to control how many cores they can take as I have to keep free ones for the ASICs & GPUs.
It works fine with all other projects,but not with this one, SRBase grabs all cores available as it has short deadlines.

Using the <name>

<app>
<name>srbase2</name>
<max_concurrent>7</max_concurrent>
</app>

(just an example, using srbase, srbase1...srbase9) in the file as it shows in the client_state file, but it doesn't work... any ideas ?
Am I using the wrong app name... ? ...starting to grow some grey hairs over here, so any help would be appreciated ;)

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3606
Credit: 22,879,153
RAC: 0
Message 913 - Posted: 14 Feb 2015, 9:24:24 UTC - in response to Message 912.
Last modified: 14 Feb 2015, 9:25:38 UTC

Hi guys !

I'm having problems with the app_config.xml file with SRBase.
I use a config file for all projects to control how many cores they can take as I have to keep free ones for the ASICs & GPUs.
It works fine with all other projects,but not with this one, SRBase grabs all cores available as it has short deadlines.

Using the


srbase2
7/max_concurrent>


(just an example, using srbase, srbase1...srbase9) in the file as it shows in the client_state file, but it doesn't work... any ideas ?
Am I using the wrong app name... ? ...starting to grow some grey hairs over here, so any help would be appreciated ;)


The app names starting from srbase, 2... 8 at the moment. You have a missing < in line 3.

Profile Mankka*
Avatar
Send message
Joined: 8 Feb 15
Posts: 36
Credit: 40,649,341
RAC: 0
Message 914 - Posted: 14 Feb 2015, 9:39:24 UTC - in response to Message 912.
Last modified: 14 Feb 2015, 10:09:03 UTC

Sorry Reb, it was my bad typing in here, it's not missing in the real app_config file:

<app_config>

<app>
<name>srbase</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase1</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase2</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase3</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase4</name>
<max_concurrent>7</max_concurrent>
</app>

<name>srbase5</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase6</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase7</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase8</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase9</name>
<max_concurrent>7</max_concurrent>
</app>

<app>
<name>srbase10</name>
<max_concurrent>7</max_concurrent>
</app>

</app_config>

SRBase takes 8 cores on this one, even if I tell it to take 7, works fine with other projects, but it looks like I have the app names right, so it's a Boinc issue I guess...again... Sorry for bothering you ;)

EDIT: The Boinc client finds it, but applications 9,10 are unknown of course...
But somesimes I have had some issues with the country code (living in Finland), even if I run all my boxes with a US version of Windows7 (I use notepad to edit these files (ok, sometimes pspad (great editor)), so banging my head in the wall over here...

Lemon
Send message
Joined: 1 Dec 14
Posts: 5
Credit: 7,563,028
RAC: 0
Message 915 - Posted: 14 Feb 2015, 10:08:34 UTC - in response to Message 914.

With that config file, you are allowing each of the srbase tasks to run 7 tasks concurrently. This does not restrict srbase to only 7 processors in total. For instance, Riesel Base and Sierpinski Base could each run 7 tasks.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3606
Credit: 22,879,153
RAC: 0
Message 916 - Posted: 14 Feb 2015, 10:09:14 UTC - in response to Message 914.

Remove srbase1, 9, 10 and try to edit with notepad++. There could be a line breaking somewhere (happens mostly on linux)

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3606
Credit: 22,879,153
RAC: 0
Message 917 - Posted: 14 Feb 2015, 10:11:46 UTC - in response to Message 915.
Last modified: 14 Feb 2015, 10:12:08 UTC

With that config file, you are allowing each of the srbase tasks to run 7 tasks concurrently. This does not restrict srbase to only 7 processors in total. For instance, Riesel Base and Sierpinski Base could each run 7 tasks.


Also correct, there is another option for this:

<project_max_concurrent>N</project_max_concurrent>


To keep running x cores for all apps.

Profile Mankka*
Avatar
Send message
Joined: 8 Feb 15
Posts: 36
Credit: 40,649,341
RAC: 0
Message 918 - Posted: 14 Feb 2015, 10:19:52 UTC - in response to Message 915.

With that config file, you are allowing each of the srbase tasks to run 7 tasks concurrently. This does not restrict srbase to only 7 processors in total. For instance, Riesel Base and Sierpinski Base could each run 7 tasks.


Yes I know Lemon, but I'm using the preferences to choose which tasks to run on what box, depending on the performance, so I don't run multiple apps at the same time, but if I did, you are totally right, it would start 7 ones of each ;)

Profile Mankka*
Avatar
Send message
Joined: 8 Feb 15
Posts: 36
Credit: 40,649,341
RAC: 0
Message 919 - Posted: 14 Feb 2015, 10:43:35 UTC
Last modified: 14 Feb 2015, 10:45:56 UTC

Ha ha, sh*t, you were right Reb, just pasted and copied the same lines I posted in the forum, and voila :) (I just love Microsoft soooo much) :P

Profile Mankka*
Avatar
Send message
Joined: 8 Feb 15
Posts: 36
Credit: 40,649,341
RAC: 0
Message 922 - Posted: 14 Feb 2015, 15:28:38 UTC
Last modified: 14 Feb 2015, 15:28:52 UTC

Didn't know that one Reb :)
From what version of Boinc does it work, running an older 7.2.42 over here and got no errors with it, but it doesn't work:

<app_config>
<project_max_concurrent>7</project_max_concurrent>
</app_config>

(also tried to put it between the <app> </app> lines)

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3606
Credit: 22,879,153
RAC: 0
Message 923 - Posted: 14 Feb 2015, 15:34:40 UTC - in response to Message 922.

Didn't know that one Reb :)
From what version of Boinc does it work, running an older 7.2.42 over here and got no errors with it, but it doesn't work:


7


(also tried to put it between the lines)


7.4.9+

Profile Mankka*
Avatar
Send message
Joined: 8 Feb 15
Posts: 36
Credit: 40,649,341
RAC: 0
Message 924 - Posted: 14 Feb 2015, 15:47:11 UTC - in response to Message 923.

Didn't know that one Reb :)
From what version of Boinc does it work, running an older 7.2.42 over here and got no errors with it, but it doesn't work:

<app_config>
<project_max_concurrent>7</project_max_concurrent>
</app_config>

(also tried to put it between the <app> </app> lines)


7.4.9+


Ok, so I guess I have some major updating to do tomorrorw, but now off to a nice gig to enjoy good music & friends, so a perfect thing to do on a hangover sunday...

Thanx mate =)

=Lupus=
Send message
Joined: 12 Dec 14
Posts: 2
Credit: 359,583
RAC: 887
Message 1423 - Posted: 16 May 2015, 12:33:02 UTC
Last modified: 16 May 2015, 12:34:52 UTC

A very easy way to make a core on your 8-core free:
Inside Preferences - computing preferences - usage of processor change the following line:

"On multicore system use at max 87,50% of the processors" - that is exactly 7 of 8 cores.

Funny thing of boinc is the cpu usage of gpu projects totally ignore this value.

gpu projects often use near no cpu and the "sporadic" cpu spikes can be done by the last core.
(if you do EINSTEIN then do an app_config there with cpu 1/gpu 1 - it is doing 80% of work on cpu and only small part gets gpu'd)

Listening to music works, watching vids I suggest setting gpu to suspend ^.^

=Lupus=


Post to thread

Message boards : Number crunching : app_config file


Main page · Your account · Message boards


Copyright © 2014-2018 BOINC Confederation / rebirther