Re: [boinc_dev] schedulers

2013-04-13 Thread Oliver Bock
On 4/13/13 10:29 , Bernd Machenschalk wrote:
 Even less confusing,
 however, it would be IMHO if the index.php page would read the scheduler
 URL(s) from the cgi_url and BOINC would get rid of schedulers.txt
 altogether (FWIW that's what the current Drupal web code already does).

For clarity: it just takes the default value from config.xml (for
convenience). We provide a dedicated form to configure the URL(s) in the
BOINC section of the Drupal admin pages. We even make the site admin
review and save this setting before it'll become effective.


Best,
Oliver

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] schedulers

2013-04-13 Thread David Anderson

Bernd:

If there are multiple schedulers,
the client picks a random one, and tries the others in order if failures occur.
So all schedulers should get the same average load.

I'll get rid of cgi_url from config.xml, since it's unused.

-- David

On 13-Apr-2013 1:29 AM, Bernd Machenschalk wrote:

Hi David!

Thanks so far.

1. If the cgi_url isn't used, shouldn't it be removed to avoid confusion (I
remember this confusion costed E@H several hours at least two times during
server re-configurations)? Even less confusing, however, it would be IMHO if the
index.php page would read the scheduler URL(s) from the cgi_url and BOINC
would get rid of schedulers.txt altogether (FWIW that's what the current Drupal
web code already does). For compatibility I'd make index.php checke if
schedulers.txt is there, include it if it is, and only use the config when it's
absent; then make make_project not create a new schedulers.txt anymore.

2. The question what the client does with multiple schedulers is still
unanswered. Does it pick one? Deterministically or at random? Randomized on
what, e.g. would the same Client (with the same hostid) always pick the same
scheduler? What happens if one scheduler can't be reached or doesn't (fully)
fulfill the work request?

Best,
Bernd


David Anderson wrote, On 10.04.13 20:28:

Bernd:
The cgi_url in config.xml isn't used.
You can run schedulers on multiple hosts
(each with its own feeder, using --mod).
See
http://boinc.berkeley.edu/trac/wiki/MultiHost#Runserverdaemonsandtasksonmultiplehosts

-- David

On 10-Apr-2013 2:04 AM, Bernd Machenschalk wrote:

Hi!

It looks like there are two different, independent places where a cgi /
scheduler URL is set:

- cgi_url in the project config
- html/user/schedulers.txt

- Digging through the code I found nothing that actually uses the URL set in the
project config. Is there anything where this is being used?

- The name schedulers.txt implies that is is possible to specify more than one
scheduler. Is is? If so, how would you do this? How would the Client react to
that? Is any project already using this?

If anything is changed I would much prefer to configure the scheduler(s) in the
project config than in yet another file in the html tree.

Best,
Bernd


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.



___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] schedulers

2013-04-10 Thread Bernd Machenschalk

Hi!

It looks like there are two different, independent places where a cgi 
/ scheduler URL is set:


- cgi_url in the project config
- html/user/schedulers.txt

- Digging through the code I found nothing that actually uses the URL 
set in the project config. Is there anything where this is being used?


- The name schedulers.txt implies that is is possible to specify more 
than one scheduler. Is is? If so, how would you do this? How would the 
Client react to that? Is any project already using this?


If anything is changed I would much prefer to configure the scheduler(s) 
in the project config than in yet another file in the html tree.


Best,
Bernd


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] schedulers

2013-04-10 Thread David Anderson

Bernd:
The cgi_url in config.xml isn't used.
You can run schedulers on multiple hosts
(each with its own feeder, using --mod).
See
http://boinc.berkeley.edu/trac/wiki/MultiHost#Runserverdaemonsandtasksonmultiplehosts
-- David

On 10-Apr-2013 2:04 AM, Bernd Machenschalk wrote:

Hi!

It looks like there are two different, independent places where a cgi /
scheduler URL is set:

- cgi_url in the project config
- html/user/schedulers.txt

- Digging through the code I found nothing that actually uses the URL set in the
project config. Is there anything where this is being used?

- The name schedulers.txt implies that is is possible to specify more than one
scheduler. Is is? If so, how would you do this? How would the Client react to
that? Is any project already using this?

If anything is changed I would much prefer to configure the scheduler(s) in the
project config than in yet another file in the html tree.

Best,
Bernd


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.