From 381cfa4865de2620ec1ab441ab67e0c7352d22f7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 27 Mar 2003 18:10:12 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1108 --- sched/handle_request.C | 3 ++- todo | 19 +++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/sched/handle_request.C b/sched/handle_request.C index 40bae34de9..c0f642713f 100644 --- a/sched/handle_request.C +++ b/sched/handle_request.C @@ -29,6 +29,7 @@ using namespace std; #include #include #include +#include #include "db.h" #include "backend_lib.h" @@ -259,7 +260,7 @@ new_host: // static void compute_credit_rating(HOST& host) { host.credit_per_cpu_sec = - (host.p_fpops/1e9 + host.p_iops/1e9 + host.p_membw/4e9)/(3*SECONDS_PER_DAY); + (fabs(host.p_fpops)/1e9 + fabs(host.p_iops)/1e9 + fabs(host.p_membw)/4e9)/(3*SECONDS_PER_DAY); } // Update host record based on request. diff --git a/todo b/todo index 80100f5bfd..7a949e00e5 100755 --- a/todo +++ b/todo @@ -18,12 +18,8 @@ Delete files if needed to honor disk usage constraint - "Connect Now" command should apply to a particular project, and should override the backoff on that project -- Implement Screensaver "blank screen" functionality - implement server watchdogs -est_time_to_completion doesn't work for non-running tasks - ----------------------- THINGS TO TEST (preferably with test scripts) ----------------------- @@ -38,11 +34,26 @@ Limit frequency of disk writes - multiple preference sets - shared memory and CPU time measurement, with and without the BOINC API - timezone on all platforms +- preference propagation between projects +- ensure cpu time doesn't reset if app is killed rather than quitting ----------------------- MEDIUM-PRIORITY (should do before public release) ----------------------- +let user choose language files in installation process + +write general language file manipulation functions + +use https to secure login pages, do we care about authenticator + being transmitted without encryption from the client? + +abort app if excess memory used + +Astropulse memory leak on Linux/Solaris? + +Windows 9x CPU time calculated incorrectly + write docs for project management how to start/stop server complex what needs to be backed up and how