*** empty log message ***

svn path=/trunk/boinc/; revision=12040
This commit is contained in:
David Anderson 2007-02-06 16:41:33 +00:00
parent b9b2b9e299
commit 1567aa1d91
12 changed files with 222 additions and 72 deletions

View File

@ -237,6 +237,10 @@ int CLIENT_STATE::init() {
print_summary();
do_cmdline_actions();
// if new version of core client,
// - run CPU benchmarks
// - contact reference site (to trigger firewall alert)
//
if ((core_client_version.major != old_major_version)
|| (core_client_version.minor != old_minor_version)
|| (core_client_version.release != old_release)
@ -249,6 +253,7 @@ int CLIENT_STATE::init() {
core_client_version.release
);
run_cpu_benchmarks = true;
net_status.need_to_contact_reference_site = true;
}
// show host IDs and venues on various projects

View File

@ -1,6 +1,14 @@
<?
$project_news = array(
array("February 5, 2007",
"<a href=http://gridrepublic.org>GridRepublic</a>
has been selected as a finalist for the Web Awards
at the 2007 SXSW Interactive Festival. Please
<a href=https://secure.sxsw.com/peoples_choice/>click here</a>
to cast your vote for them at the SXSW website.
"
),
array("February 3, 2007",
"The documentation on Creating BOINC Projects is now available as
<a href=http://boinc.berkeley.edu/boinc.pdf>one big PDF file</a>."

View File

@ -11,7 +11,7 @@ function chapter($file, $title) {
global $book;
if ($book) {
$chapters[] = $file;
echo "<li> $count. <a href=$file>$title</a>
echo "<li> $count. <a href=#$file>$title</a>
";
$count++;
} else {
@ -42,6 +42,10 @@ if ($book) {
<a href=create_project.php?book=1>one big HTML file</a>
and as <a href=boinc.pdf>a PDF file</a>.
<p>
Several people have created
<a href=other_docs.php>other documents about
creating BOINC projects, and about BOINC in general</a>.
<p>
";
}
@ -147,11 +151,6 @@ chapter("make_project.php", "The make_project script");
chapter("tool_xadd.php", "Adding applications/platforms");
chapter("tool_update_versions.php", "Adding application versions");
chapter("project_cookbook.php", "Project creation cookbook");
echo "
<li> <a href=http://j4cques.blogspot.com/>Another cookbook, from Jacques Fontignie</a>
<li> <a href=bashford_cookbook.txt>Another cookbook, from Don Bashford</a>
</ul>
";
chapter("tool_start.php", "Project control");
chapter("project_security.php", "Project security");
echo "
@ -162,7 +161,7 @@ echo "
</ul>
";
chapter("tool_upgrade.php", "Upgrading a project's server software");
chapter("multi_host.php", "Multiple server hosts");
chapter("multi_host.php", "Increasing server capacity");
chapter("beta.php", "Beta-test applications");
echo "
@ -244,6 +243,7 @@ $chap_num = 1;
echo "</td></tr></table>";
if ($book) {
foreach ($chapters as $c) {
echo "<a name=$c></a>";
echo "<table width=800><tr><td>";
require_once($c);
echo "</td></tr></table>";

View File

@ -38,7 +38,12 @@ foreach ($langs as $lang) {
echo "
<h2>".tr(HELP_HEADING2)."</h2>
<p>
".sprintf(tr(HELP_P2_1), "<ul><li> <a href=http://boinc.berkeley.edu/troubleshoot.php>", "</a>", "<li> <a href=http://boinc.berkeley.edu/links.php>", "</a>", "<li> <a href=http://boinc.berkeley.edu/dev/>", "</a>", "<li>")."
<ul>
<li> <a href=participate.php>".tr(HELP_P2_ITEM1)."</a>
<li> <a href=troubleshoot.php>".tr(HELP_P2_ITEM2)."</a>
<li> <a href=links.php>".tr(HELP_P2_ITEM3)."</a>
<li> <a href=dev/>".tr(HELP_P2_ITEM4)."</a>
<li> ".tr(HELP_P2_ITEM5)."
</ul>
<h2>".tr(HELP_HEADING3)."</h2>
<p>

View File

@ -24,7 +24,7 @@ One approach is to eliminate numerical discrepancies.
Some notes on how to do this for Fortran programs are given in a paper,
<a href=MOM1MP01.pdf>Massive Tracking on Heterogeneous Platforms</a>
and in an earlier <a href=fortran_numerics.txt>text document</a>,
both courtesy of Eric McIntosh,
both courtesy of Eric McIntosh from CERN.
<h2>Homogeneous redundancy</h2>
<p>

View File

@ -200,6 +200,7 @@ language("French", array(
site("http://boinc-quebec.org", "boinc-quebec.org")
));
language("German", array(
site("http://www.swissteam.net/", "SwissTeam.net"),
site("http://www.unitedmacs.com/", "United Macs"),
site("http://www.rechenkraft.net/", "Rechenkraft"),
site("http://www.seti-leipzig.de/", "SETI-Leipzig"),

View File

@ -107,37 +107,104 @@ foreach($logos as $logo) {
</tr>
";
}
$banners = array(
array(
"Anthony Hern",
array(
array(
"logos/Knightrider_TV_1.gif",
"logos/Knightrider_TV_1.gif",
90,
),
array(
"logos/Knightrider_TV_1n.gif",
"logos/Knightrider_TV_1n.gif",
90,
),
array(
"logos/Knightrider_TV_1tp.gif",
"logos/Knightrider_TV_1tp.gif",
90,
),
array("<br>"),
array(
"images/hern_logo3.gif"
),
array(
"images/hern_logo4.gif"
),
),
),
array("(unknown)",
array(
array("images/boincheading.jpg"),
array("images/boincprojectheading.jpg"),
),
),
array("Jared Hatfield",
array(
array(
"images/hatfield.png",
"images/hatfield_120.png",
),
),
),
array("Myster65",
array(
array("logos/myster1.jpg"),
array("logos/myster2.jpg"),
array("<br>"),
array("logos/myster3.jpg"),
array("logos/myster4.jpg"),
array("<br>"),
array("logos/myster5.jpg"),
array("logos/myster6.jpg"),
),
),
);
echo "
</table>
<h2>Banners for BOINC projects</h2>
<table cellpadding=8 border=1>
";
shuffle($banners);
foreach ($banners as $b) {
$name = $b[0];
echo "<tr><td>$name</td><td>";
$imgs = $b[1];
foreach ($imgs as $i) {
$large = $i[0];
$small = $i[1];
$size = $i[2];
if ($small) {
if ($size) {
echo "<a href=$large><img hspace=10 src=$small height=$size></a>";
} else {
echo "<a href=$large><img hspace=10 src=$small></a>";
}
} else {
if ($large == "<br>") {
echo $large;
} else {
echo "<img hspace=10 src=$large>";
}
}
}
echo "</td></tr>
";
}
echo "
</table>
<h2>Banners for BOINC projects</h2>
<p>
<table cellpadding=8 border=1>
<tr><th>Artist</th><th>Images</th></tr>
<tr>
<td>Tony Hern</td>
<td>
<a href=logos/Knightrider_TV_1.gif><img height=90 src=logos/Knightrider_TV_1.gif></a>
<a href=logos/Knightrider_TV_1n.gif><img height=90 src=logos/Knightrider_TV_1n.gif></a>
<a href=logos/Knightrider_TV_1tp.gif><img height=90 src=logos/Knightrider_TV_1tp.gif></a>
</td>
</tr>
<tr>
<td>Anthony Hern</td>
<td>
<img src=images/hern_logo3.gif>
<br>
<img src=images/hern_logo4.gif>
</td></tr>
<td>(unknown)</td>
<td>
<img src=images/boincheading.jpg>
<img src=images/boincprojectheading.jpg>
</td></tr>
<td>Jared Hatfield</td>
<td>
<a href=images/hatfield.png><img src=images/hatfield_120.png></a>
</td></tr>
</table>

View File

@ -2,31 +2,61 @@
require_once("docutil.php");
page_head("Multiple server hosts");
page_head("Increasing server capacity");
echo"
The BOINC server software is designed so that a project
with tens of thousands of volunteers can run on a single server computer.
However, the capacity of this computer may eventually be exceeded.
Symptoms of server overload include:
<ul>
<li> dropped connections
<li> slow web site access
<li> daemons fall behind
<li> database queries take minutes or hours to complete.
</ul>
BOINC has a scalable server architecture that lets
you increase server capacity by adding more computers.
The steps are as follows.
<h3>Run MySQL on a separate host</h3>
When you initially create a BOINC project using
<a href=make_project.php>make_project</a>,
everything runs on a single host:
web server, scheduling server, daemons, tasks, database server,
file upload handler.
MySQL database server,
web server, scheduling server, daemons, tasks,
and file upload handler.
<p>
You can increase the capacity of your server by spreading
these tasks across different hosts.
The following rules apply:
Of these tasks, the MySQL server does the most work
(typically as much as all the others combined).
So, if you need to increase the capacity of your server
the first step is to move the MySQL server to a separate host
(preferably a fast computer with lots of memory).
Specify this host in the
<a href=project_options.php>project configuration file</a>.
<h3>Run server daemons and tasks on multiple hosts</h3>
<p>
If you need more server capacity,
you can move some of the server <a href=project_daemons.php>daemons</a>
and <a href=project_tasks.php>tasks</a> to separate hosts.
(Start by moving the one that's doing the most work).
<p>
When you move daemons and tasks to other hosts,
those hosts must satisfy the following rules:
<ul>
<li> The hosts should share a common network file system,
and path of the project directory, on any host,
should map to the same place.
(Exception: the database server can run anywhere).
<li> The <a href=groups.php>project admin account</a>
should exist on all hosts,
and that user should be able to use 'ssh' to run
must exist on all hosts,
and a user must be able to use 'ssh' to run
commands on any other host without typing a password.
<li> The hosts must share a common network file system,
and path to the project directory relative to the
project admin's home directory (typically ~/projects/PROJECT_NAME)
must be the same on all hosts.
<li> One host is designated as the project's <b>main host</b>
in config.xml.
<b>The 'start', 'stop', and 'status' scripts should normally
@ -36,8 +66,7 @@ they'll affect only daemons and tasks on host X).
<li> The project admin account on all hosts must be
able to access the project's MySQL database.
(Exception: data servers and file upload handlers
don't need DB access).
(Exception: data servers and file upload handlers don't need DB access).
</ul>
Host locations are specified as follows:
@ -52,7 +81,33 @@ are specified in the <a href=configuration.php>config.xml</a> file.
<a href=tools_work.php#result_template>result template files</a>.
<li> Your web server runs on the host to which your project URL is mapped.
</ul>
<h3>Parallelize schedulers and daemons</h3>
If you need even more server capacity,
you can parallelize most of the BOINC daemons
so that multiple instances run on a single (multiprocessor) host,
or on different hosts.
For example, the following
<a href=project_daemons.php>config.xml</a> entries
run two instances of the transitioner on the host 'kosh'.
Because these instances are on the same host,
you must specify different output and PID files.
".html_text("
<daemon>
<host>kosh</host>
<cmd>transitioner -d 1 -mod 2 0</cmd>
<output>transitioner0.log</output>
<pid_file>transitioner0.pid</pid_file>
</daemon>
<daemon>
<host>kosh</host>
<cmd>transitioner -d 1 -mod 2 1</cmd>
<output>transitioner1.log</output>
<pid_file>transitioner1.pid</pid_file>
</daemon>
")."
You can run scheduling servers on multiple hosts
by running an instance of the feeder on each host,
and including the URLs in your master file.
";
page_tail();

View File

@ -84,14 +84,6 @@ First IEEE International Conference on e-Science and Grid Technologies.
Stuart Ozer, David E. Kim, David Baker
(in preparation).
</ul>
<h2>Powerpoint</h2>
<ul>
<li> <a href=https://uimon.cern.ch/twiki/pub/LHCAtHome/LinksAndDocs/boincciemat06.pdf>A BOINC seminar by Juan Antonio Lopez Perez of CERN</a>,
presented at CIEMAT in Madrid, November 2005.
Also available in a
<a href=https://uimon.cern.ch/twiki/pub/LHCAtHome/LinksAndDocs/boincciematprint06.pdf>print version</a>.
</ul>
";
page_tail();

View File

@ -4,16 +4,13 @@ page_head("Running BOINC");
echo "
<h3>Beginners</h3>
<p>
BOINC lets you use your PC to do scientific research.
BOINC is a 'platform' that is used by a number of <i>projects</i>,
located at various universities around the world,
doing research in many areas.
BOINC lets you contribute computing power on your home PC to
<b>projects</b> doing research in many scientific areas.
You can contribute to a single project, or to any combination of them.
<br><center>
<img src=projects.png>
</center><br>
Each project has its own web site.
You can do work for multiple projects.
It's easy to do, even if you have no computer experience.
It's easy, even if you have no computer experience.
Just <a href=index.php>follow the directions on the BOINC home page</a>.
<p>
If you'd like more information about BOINC,

View File

@ -121,8 +121,20 @@ list_item("Access interval",
"
);
list_item("Virtual memory",
"Limit the virtual memory used by BOINC"
list_item("Use at most X% of page file",
"Maximum percentage of your virtual memory page file
(also called 'swap space') used by BOINC"
);
list_item("Use at most X% of memory when computer is in use",
"Limits the amount of RAM used by BOINC applications
when your computer is in use
(i.e. when there has been recent mouse or keyboard activity).
Setting this to a low value lets you run BOINC
all the time without impacting your computer's performance."
);
list_item("Use at most X% of memory when computer is idle",
"Limits the amount of RAM used by BOINC applications
when your computer is not in use."
);
list_bar("Network usage");

View File

@ -677,12 +677,20 @@ msgstr "Volunteers speaking several languages are available. "
msgid "HELP_HEADING2"
msgstr "Other sources of help"
msgid "HELP_P2_1"
msgstr "You can also get information and advice from: "
"%sTroubleshooting BOINC%s. "
"%sBOINC-related web sites%s. "
"%sThe BOINC message boards%s. "
"%sThe message boards on any BOINC-based project. "
msgid "HELP_P2_ITEM1"
msgstr "Running BOINC "
msgid "HELP_P2_ITEM2"
msgstr "Troubleshooting BOINC "
msgid "HELP_P2_ITEM3"
msgstr "BOINC-related web sites "
msgid "HELP_P2_ITEM4"
msgstr "The BOINC message boards "
msgid "HELP_P2_ITEM5"
msgstr "The message boards on any BOINC-based project "
msgid "HELP_HEADING3"
msgstr "Be a Help Volunteer"