2003-08-19 06:44:58 +00:00
|
|
|
<?
|
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Measuring and distinguishing hosts");
|
|
|
|
echo "
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
The core client measures the following aspects of each host:
|
2002-04-30 22:22:54 +00:00
|
|
|
<ul>
|
2002-08-19 18:43:10 +00:00
|
|
|
<li> <b>CPU performance</b>: integer ops/sec, double-precision
|
2002-07-29 19:01:38 +00:00
|
|
|
floating-point ops/sec, and memory bandwidth are measured separately.
|
|
|
|
They are measured by a process executing at the same priority as BOINC
|
2002-08-20 23:54:17 +00:00
|
|
|
applications, so the results will be affected by other processes.
|
|
|
|
These measurements are taken when the client starts for the first time,
|
|
|
|
and once every month afterwards.
|
2002-08-19 18:43:10 +00:00
|
|
|
<li> <b>Number of CPUs</b>: By default, the number of simultaneous
|
2002-07-29 19:01:38 +00:00
|
|
|
slot directories will be set to this number unless otherwise indicated
|
|
|
|
by user preferences.
|
2002-08-19 18:43:10 +00:00
|
|
|
<li> <b>Vendor and model of CPU</b>
|
|
|
|
<li> <b>Disk space</b>: free space and total space on the drive which
|
2002-08-20 23:54:17 +00:00
|
|
|
BOINC is installed on.
|
|
|
|
These numbers will be used to ensure BOINC does
|
2002-07-29 19:01:38 +00:00
|
|
|
not use more space than set in the user preferences.
|
2002-08-20 23:54:17 +00:00
|
|
|
<li> <b>Memory</b>: total RAM, CPU cache, and swap space.
|
|
|
|
These numbers can be used by the scheduling server to decide whether or not to
|
|
|
|
assign work to a client.
|
|
|
|
This also provides a means for assignment of
|
2002-07-29 19:01:38 +00:00
|
|
|
differing work based on host abilities.
|
2002-08-19 18:43:10 +00:00
|
|
|
<li> <b>Timezone</b>:
|
|
|
|
<li> <b>Last IP address</b> and count of consecutive same addresses.
|
|
|
|
<li> <b>Number of RPCs and time of last RPC</b>.
|
|
|
|
<li> <b>Fractions of time</b> that core client runs on host, host is
|
|
|
|
connected, and user is active.
|
2002-08-20 23:54:17 +00:00
|
|
|
These are computed as exponentially-weighted averages; see the class TIME_STATS.
|
2002-08-19 18:43:10 +00:00
|
|
|
<li> <b>Operating system name and version</b>.
|
|
|
|
<li> <b>Average up- and downstream network bandwidth</b>.
|
|
|
|
These are computed as exponentially-weighted averages; see the class NET_STATS.
|
2002-04-30 22:22:54 +00:00
|
|
|
</ul>
|
2002-08-19 18:43:10 +00:00
|
|
|
|
2002-07-29 19:01:38 +00:00
|
|
|
These quantities are reported in every scheduling RPC, and their latest
|
2002-08-19 18:43:10 +00:00
|
|
|
values are stored in the BOINC database.
|
|
|
|
|
|
|
|
<h3>Distinguishing hosts</h3>
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
Not all systems have an application-readable globally unique ID, so
|
|
|
|
we don't take this approach.
|
|
|
|
When a host first contacts the scheduling
|
2002-07-29 19:01:38 +00:00
|
|
|
server it is assigned a host ID, which it stores in its
|
|
|
|
<tt>client_state.xml</tt> file.
|
2002-08-19 18:43:10 +00:00
|
|
|
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
The BOINC database maintains the RPC sequence number for each host,
|
2002-07-29 19:01:38 +00:00
|
|
|
and the host maintains the sequence number in its
|
|
|
|
<tt>client_state.xml</tt> file.
|
2002-08-19 18:43:10 +00:00
|
|
|
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
To install the BOINC client on a large number of computers, users
|
2002-08-20 23:54:17 +00:00
|
|
|
are instructed to copy only the executable and the <tt>prefs.xml</tt> file.
|
2002-08-19 18:43:10 +00:00
|
|
|
If the user copies the <tt>client_state.xml</tt> file as well, the
|
2002-08-20 23:54:17 +00:00
|
|
|
first RPCs from the other hosts will have a repeat sequence number;
|
|
|
|
in this case the scheduling server creates a new host record and returns
|
2002-07-29 19:01:38 +00:00
|
|
|
its ID.
|
2003-08-19 06:44:58 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
|
|
|
?>
|