mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3387
This commit is contained in:
parent
57c3ef7297
commit
3916d481d7
|
@ -12319,3 +12319,15 @@ David May 15 2004
|
||||||
api/
|
api/
|
||||||
gutil.C,h
|
gutil.C,h
|
||||||
reduce.C
|
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
|
||||||
|
|
|
@ -76,7 +76,7 @@ htmlspecialchars("<tables>
|
||||||
list_start();
|
list_start();
|
||||||
list_item(
|
list_item(
|
||||||
"team_total_credit.xml<br> team_total_credit_N.xml",
|
"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 first file is the complete list;
|
||||||
the remaining files (for N = 0, 1, ...) is the list
|
the remaining files (for N = 0, 1, ...) is the list
|
||||||
in limited-size chunks."
|
in limited-size chunks."
|
||||||
|
|
|
@ -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
|
// mark slot as empty AFTER we've copied out of it
|
||||||
// (since otherwise feeder might overwrite it)
|
// (since otherwise feeder might overwrite it)
|
||||||
|
@ -493,14 +493,14 @@ static void scan_work_array(
|
||||||
if (retval) {
|
if (retval) {
|
||||||
log_messages.printf(SCHED_MSG_LOG::CRITICAL,
|
log_messages.printf(SCHED_MSG_LOG::CRITICAL,
|
||||||
"[RESULT#%d] result.lookup_id() failed %d\n",
|
"[RESULT#%d] result.lookup_id() failed %d\n",
|
||||||
wu_result.result.id, retval
|
result.id, retval
|
||||||
);
|
);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
if (result.server_state != RESULT_SERVER_STATE_UNSENT) {
|
if (result.server_state != RESULT_SERVER_STATE_UNSENT) {
|
||||||
log_messages.printf(SCHED_MSG_LOG::DEBUG,
|
log_messages.printf(SCHED_MSG_LOG::DEBUG,
|
||||||
"[RESULT#%d] expected to be unsent; instead, state is %d\n",
|
"[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;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ struct WU_RESULT {
|
||||||
int state;
|
int state;
|
||||||
int infeasible_count;
|
int infeasible_count;
|
||||||
WORKUNIT workunit;
|
WORKUNIT workunit;
|
||||||
RESULT result;
|
int resultid;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SCHED_SHMEM {
|
struct SCHED_SHMEM {
|
||||||
|
|
Loading…
Reference in New Issue