- server: change credit constant from 100 to 200.

Data from S@h beta (running for a month or so)
    suggests that this will almost exactly match the
    average credit granted by S@h's old system
    (which, in theory, is the reference for other projects)

svn path=/trunk/boinc/; revision=21727
This commit is contained in:
David Anderson 2010-06-10 18:05:42 +00:00
parent 637793aeea
commit 7802d3f253
3 changed files with 15 additions and 4 deletions

View File

@ -4212,4 +4212,15 @@ Rom 9 Jun 2010
<Various Files>
win_build/
<various Files>
David 10 Jun 2010
- server: change credit constant from 100 to 200.
Data from S@h beta (running for a month or so)
suggests that this will almost exactly match the
average credit granted by S@h's old system
(which, in theory, is the reference for other projects)
sched/
credit.h
html/inc/
result.inc

View File

@ -30,7 +30,7 @@ function app_version_string($id) {
$av = $app_versions[$id];
$app = $apps[$av->appid];
} else {
$av = BoincAppVersion::lookup("id=$id");
$av = BoincAppVersion::lookup_id($id);
if (!$av) {
return tra("Not in DB");
}
@ -391,7 +391,7 @@ function show_result($result) {
row2(tra("Validate state"), validate_state_str($result));
row2(tra("Claimed credit"), number_format($result->claimed_credit, 2));
row2(tra("Granted credit"), number_format($result->granted_credit, 2));
row2(tra("application version"), app_version_string($result->app_version_id));
row2(tra("Application version"), app_version_string($result->app_version_id));
end_table();
echo "<h3>Stderr output</h3> <pre>".htmlspecialchars($result->stderr_out)."</pre>";
}

View File

@ -30,7 +30,7 @@
// use host scaling only if have this many samples for host
#define MIN_VERSION_SAMPLES 100
// update a version's scale only if it has this many samples
#define COBBLESTONE_SCALE 100/86400e9
#define COBBLESTONE_SCALE 200/86400e9
// multiply normalized PFC by this to get Cobblestones
// parameters for maintaining averages.