Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#256 closed Enhancement (fixed)

log the information from sched_reply

Reported by: mikus Owned by: davea
Priority: Minor Milestone: 6.4
Component: Client - Daemon Version:
Keywords: workfetch messages Cc: Pepo

Description

The client already logs a message when it sends a sched_request message to the server -- and this log message shows how much work the client asked for from the project.

There should be a corresponding message logged when a sched_reply message is received from the server which assigns new work to the target system. In particular, the client ought to perform the same calculation that is done for the "To completion" column of the 'Tasks' panel in boincmgr, and should sum the times of the new workunits. Then the user would be informed (via this new logging message) how much work the project assigned to his system as a result of the sched_request to which the server was responding.

Change History (8)

comment:1 Changed 17 years ago by Nicolas

Component: Client - Work Fetch PolicyClient - Daemon
Keywords: workfetch log added
Priority: TrivialMinor

Addition: This message could be shown only when [sched_debug] is enabled, if you think it could confuse some users. Also, I consider this wouldn't be too hard to add, so I'll bump up the priority to Minor.

comment:2 Changed 17 years ago by Nicolas

Keywords: messages added; log removed

comment:3 Changed 16 years ago by romw

Resolution: fixed
Status: newclosed

A message is now logged with how many tasks were assigned by the server.

comment:4 Changed 16 years ago by Nicolas

Resolution: fixed
Status: closedreopened

What was asked for is how much CPU time the tasks will use (the sum of the ETA of all new tasks), not how many tasks were received (which has been in the log output since forever).

comment:5 Changed 16 years ago by Pepo

Cc: Pepo added

comment:6 Changed 16 years ago by davea

Resolution: fixed
Status: reopenedclosed

I added this (conditioned by sched_op_debug).

This is the sort of small (10-line) change where it would be nice if someone would just submit a patch.

comment:7 Changed 16 years ago by davea

(In [16149]) - client: show est CPC time of jobs returned by sched RPC,

if sched_op_debug; fixes #256

comment:8 in reply to:  7 Changed 16 years ago by Pepo

[16149] fixed in [16326].

Note: See TracTickets for help on using tickets.