*** empty log message ***

svn path=/trunk/boinc/; revision=3387
This commit is contained in:
David Anderson 2004-05-17 17:24:14 +00:00
parent 57c3ef7297
commit 3916d481d7
4 changed files with 17 additions and 5 deletions

View File

@ -12319,3 +12319,15 @@ David May 15 2004
api/
gutil.C,h
reduce.C
David May 17 2004
- In the scheduler shared-memory segment,
keep only the result ID (not the whole result record)
in each WU_RESULT.
This saves large amounts of memory,
and doesn't incur any DB overhead because we have to
reread the result record anyway.
sched/
sched_shmem.h
sched_send.C

View File

@ -76,7 +76,7 @@ htmlspecialchars("<tables>
list_start();
list_item(
"team_total_credit.xml<br> team_total_credit_N.xml",
"Team summaries, ordered by decreasing <a href=credit.php>total credit</a><.
"Team summaries, ordered by decreasing <a href=credit.php>total credit</a>.
The first file is the complete list;
the remaining files (for N = 0, 1, ...) is the list
in limited-size chunks."

View File

@ -479,7 +479,7 @@ static void scan_work_array(
}
}
result = wu_result.result;
result.id = wu_result.resultid;
// mark slot as empty AFTER we've copied out of it
// (since otherwise feeder might overwrite it)
@ -493,14 +493,14 @@ static void scan_work_array(
if (retval) {
log_messages.printf(SCHED_MSG_LOG::CRITICAL,
"[RESULT#%d] result.lookup_id() failed %d\n",
wu_result.result.id, retval
result.id, retval
);
goto done;
}
if (result.server_state != RESULT_SERVER_STATE_UNSENT) {
log_messages.printf(SCHED_MSG_LOG::DEBUG,
"[RESULT#%d] expected to be unsent; instead, state is %d\n",
wu_result.result.id, result.server_state
result.id, result.server_state
);
goto done;
}

View File

@ -51,7 +51,7 @@ struct WU_RESULT {
int state;
int infeasible_count;
WORKUNIT workunit;
RESULT result;
int resultid;
};
struct SCHED_SHMEM {