From 993de69baf544df5011277f3d9f90a5e381cd3cd Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 2 Dec 2005 19:38:29 +0000 Subject: [PATCH] non-CPU-intensive fix svn path=/trunk/boinc/; revision=9021 --- checkin_notes | 7 +++++++ client/app_control.C | 9 +++++---- doc/test_matrix.php | 19 ++++++++++++++----- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/checkin_notes b/checkin_notes index 2f59454431..ae578f6683 100755 --- a/checkin_notes +++ b/checkin_notes @@ -14123,3 +14123,10 @@ David 1 Dec 2005 client/ cs_scheduler.C + +David 1 Dec 2005 + - core client: don't make all tasks non-CPU-intensive + (from John McLeod) + + client/ + app_control.C diff --git a/client/app_control.C b/client/app_control.C index 1875acae41..7fed2d3428 100644 --- a/client/app_control.C +++ b/client/app_control.C @@ -863,10 +863,11 @@ bool ACTIVE_TASK::get_app_status_msg() { parse_double(msg_buf, "", result->fpops_cumulative); parse_double(msg_buf, "", result->intops_per_cpu_sec); parse_double(msg_buf, "", result->intops_cumulative); - parse_int(msg_buf, "", new_non_cpu_intensive); - if (new_non_cpu_intensive != non_cpu_intensive) { - non_cpu_intensive = new_non_cpu_intensive; - gstate.request_schedule_cpus("Change in app CPU-intensive status"); + if (parse_int(msg_buf, "", new_non_cpu_intensive)) { + if (new_non_cpu_intensive != non_cpu_intensive) { + non_cpu_intensive = new_non_cpu_intensive; + gstate.request_schedule_cpus("Change in app CPU-intensive status"); + } } return true; } diff --git a/doc/test_matrix.php b/doc/test_matrix.php index 0b53bfd426..9553717db0 100644 --- a/doc/test_matrix.php +++ b/doc/test_matrix.php @@ -10,6 +10,9 @@ For each release, please do
  • The general tests
  • As many of the other test groups as possible. +If you have experienced problems with BOINC that are not +exercised by any of these tests, +please post to the boinc_alpha@ssl.berkeley.edu email list.

    General tests

    @@ -33,10 +36,6 @@ Verify that output file is uploaded, that the result is reported, and that new work is downloaded and started. -
  • Exit BOINC in the middle of a long file download. -Note the fraction done. -Restart BOINC. -Verify that download resumes from the same point.
  • Suspend/resume features: suspend and resume results, @@ -59,6 +58,15 @@ Make sure client and manager start up OK. and make sure work is downloaded and started. +

    File transfer restart

    +
      +
    • Exit BOINC in the middle of a long file download. +Note the fraction done. +Restart BOINC. +Verify that download resumes from the same point. +
    • Same, upload. +
    +

    Preferences tests

    • Test 'don't run when user active' preference. @@ -97,9 +105,10 @@ Make sure client and manager start up OK.

    Tests for modem-connected computers

      -
    • Do General Tests from a modem-connected computer. +
    • Do General Tests from a modem or ISDN-connected computer.
    • Test 'confirm before connect' preference.
    • Test 'Disconnect when done' preference. +
    • Do these tests with both single-user and Service-mode install (Windows).

    Tests for computers with personal firewalls

  • Do General tests on a computer that uses a personal firewall