Commit Graph

6805 Commits

Author SHA1 Message Date
Charlie Fenton 6ff6bda42d screensaver: Fix a bug I introduced during code consolidation
svn path=/trunk/boinc/; revision=17346
2009-02-24 12:47:54 +00:00
David Anderson 3709c1e9f4 - scheduler: include driver version in the CUDA description string
storing in the database;
- web: display the above

svn path=/trunk/boinc/; revision=17341
2009-02-24 00:06:45 +00:00
Charlie Fenton fd1e7b33ca screensaver: Code consolidation, fix bug terminating default graphics app on screensaver exit
svn path=/trunk/boinc/; revision=17339
2009-02-23 23:06:03 +00:00
David Anderson 125c90d1da - client: work-fetch bug fix: if we're fetching work for a starved
project, it most have no runnable jobs for ANY resource.
- client: work-fetch bug fix: when setting requests in the
    shortfall case, don't request anything if project is backed off
    or overworked for the resource.

svn path=/trunk/boinc/; revision=17338
2009-02-23 21:34:13 +00:00
David Anderson f257101d36 - client: fix work-fetch bug that caused infinite fetch;
cleanup/reorganization of work fetch logic

svn path=/trunk/boinc/; revision=17337
2009-02-23 20:35:52 +00:00
Rom Walton b402864705 - WINSCR: Fix the BOINC text displayed is the screensaver control
panel applet
    - WINSCR: Get rid of the 'Up to 5 second wait' for the data thread
        to terminate.  Force terminate the thread and clean up the
        graphics app in a clean-up routine.  Forcing the user to wait
        when they return to the system isn't a good idea.
    - WINSCR: Fix screensaver issue where the screensaver locks up
        when the graphics application deadlocks for one reason or
        another.
        
        Create two new threads:
          1. Monitor system for keyboard and mouse events.
          2. Shuffle window z-order positions if needed.
          
        The keyboard/mouse event monitor is isolated from either
          the core client getting stuck in a loop and not returning
          the results of an RPC or the window shuffling code which
          can get stuck if the graphics application dead locks.
          
        The window shuffle code is isolated due to the
          BroadcastSystemMessage() API using something akin to
          SendMessage() which waits for a return value from the
          target windows winproc.  If a graphics application
          deadlocks for one reason or another it'll cause
          the thread to stall.  This isn't terminal and so we
          just wait for the next time the data thread chooses
          a new application and terminates the old one which
          will cause the thread to resume.
          
        This should resolve all outstanding issues with the
          screensaver not exiting when the mouse or keyboard
          is used.
          
    clientscr/
        boinc_ss.rc
        screensaver.cpp
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=17336
2009-02-23 06:09:16 +00:00
David Anderson 2574afb41c - client: more instances of showing project with message. Fixes #848
svn path=/trunk/boinc/; revision=17335
2009-02-23 04:54:04 +00:00
David Anderson 26f4f33b22 - client: print message if downloaded file has wrong size
- client: associate file xfer messages with a project; fixes #848

svn path=/trunk/boinc/; revision=17334
2009-02-22 20:54:33 +00:00
David Anderson 7001c6f7c5 - client: tweak the LTD calculation so that the largest debt
always tends towards zero

svn path=/trunk/boinc/; revision=17333
2009-02-22 15:40:44 +00:00
David Anderson 16ca7cd359 svn path=/trunk/boinc/; revision=17332 2009-02-22 04:05:34 +00:00
Charlie Fenton 73dc776567 pdate various source filed to GPL 3
svn path=/trunk/boinc/; revision=17330
2009-02-21 02:42:50 +00:00
David Anderson 7c77fa14f3 - client: fix bug that can cause no GPU jobs to be scheduled
even when a GPU is free

svn path=/trunk/boinc/; revision=17329
2009-02-21 01:09:29 +00:00
David Anderson 3b31a9d803 - client: remove the "debt repair" mechanism added earlier today.
There are situations where multiple projects can legitimately
    have large negative LTD on a uniprocessor.
    Instead...
- client: add <zero_debts> option to cc_config.xml

svn path=/trunk/boinc/; revision=17328
2009-02-20 22:16:03 +00:00
David Anderson 6241fff21f - client: new work-fetch policy:
1) if an instance is idle, get work from highest-debt project,
        even if it's overworked.
    2) if resource has a shortfall, get work from highest-debt
        non-overworked project
    3) if there's a fetchable non-overworked project with no runnable jobs,
        get from from the highest-debt one.
    (each step is done first for GPU, then CPU)
    Clause 3) is new.
    It will cause the client to get jobs for as many projects as possible,
    even if there is no shortfall.
    This is necessary to make the notion of "overworked" meaningful
    (otherwise, any project with long jobs can become overworked).
    It also maintains as much variety as possible (like pre-6.6 clients).

    Also (small bug fix) if a project is overworked for resource R,
    request work for R only in case 1).


svn path=/trunk/boinc/; revision=17327
2009-02-20 21:44:39 +00:00
David Anderson f7f2f85b79 - client: if a project is at max backoff for a resource,
stop accumulating debt if it's at or around zero.
        This prevents other projects from being driven unboundedly negative.
    - client: if the number of overworked projects exceeds the number
        of device instances, clear debts; this indicates that an earlier
        client was buggy and produced bad debt values.

svn path=/trunk/boinc/; revision=17325
2009-02-20 18:37:27 +00:00
Charlie Fenton f0d4cff76b lib: Fix build break on Windows
svn path=/trunk/boinc/; revision=17324
2009-02-20 12:31:24 +00:00
Charlie Fenton 1956446863 update checkin_notes
svn path=/trunk/boinc/; revision=17323
2009-02-20 11:50:48 +00:00
Charlie Fenton b4c78c27b4 screensaver: Implement new screensaver coordinator logic as requested by Rom.
svn path=/trunk/boinc/; revision=17322
2009-02-20 11:49:49 +00:00
Charlie Fenton 72e5c0fc0d screensaver: Implement --test and --retry_connect command-line arguments as requested by Rom
svn path=/trunk/boinc/; revision=17321
2009-02-20 02:33:11 +00:00
David Anderson 8973e39479 - client: don't complain that master URLs differ if it's only in case
svn path=/trunk/boinc/; revision=17310
2009-02-19 21:34:48 +00:00
David Anderson 72c57735eb - client: add more info to <work_fetch_debug> messages
svn path=/trunk/boinc/; revision=17309
2009-02-19 21:32:54 +00:00
David Anderson 99a15ab052 - web: in lists of tasks, give the option of showing names instead of IDs
svn path=/trunk/boinc/; revision=17308
2009-02-19 18:39:03 +00:00
David Anderson 65679139c5 - scheduler: make host.p_features available to app_plan()
svn path=/trunk/boinc/; revision=17307
2009-02-19 15:43:37 +00:00
David Anderson d848e54518 - web tweaks
svn path=/trunk/boinc/; revision=17306
2009-02-19 05:03:02 +00:00
David Anderson 3e98909ab6 - client: adjust debts at least every minute.
This fixes a bug that can cause debts to NEVER get updated.
- client: added "abort_jobs_on_exit" feature
    (available by --abort_jobs_on_exit cmdline
    or <abort_jobs_on_exit> in cc_config.xml).
    If set, when the client is exited by user request
    (this includes signals on Unix)
    it marks all pending jobs as aborted,
    and does a scheduler RPC to all projects with jobs.
    When these are completed the client exits.
    This is useful when BOINC is being used on grids
    where it is wiped clean after each run.

svn path=/trunk/boinc/; revision=17300
2009-02-18 19:47:02 +00:00
David Anderson b4bac32d75 - client: if "no more work" checked, don't request more work (duh!)
svn path=/trunk/boinc/; revision=17290
2009-02-18 16:21:30 +00:00
David Anderson 6a75b78de4 - client: don't ignore jobs with fraction_done=1 (but still running)
in RR simulation; we may need to mark them as deadline miss.
- web: replace & with &amp; various places


svn path=/trunk/boinc/; revision=17278
2009-02-17 17:39:57 +00:00
David Anderson 15e9a87315 - client: add a debug flag <dcf_debug> for seeing changes in DCF
- scheduler: add a limit on NVIDIA driver version for CUDA apps
    (default 17500)

svn path=/trunk/boinc/; revision=17277
2009-02-17 03:16:25 +00:00
Charlie Fenton c8ad5b1def client: fix compile break on Mac
svn path=/trunk/boinc/; revision=17276
2009-02-17 01:51:56 +00:00
David Anderson 4d1544e579 - client: detect NVIDIA driver version number, show it on startup,
and include it with CUDA coprocessor descriptor in request msgs

svn path=/trunk/boinc/; revision=17275
2009-02-16 23:03:03 +00:00
Rom Walton f006c3b1b4 - WINBUILD: Remove ReleaseSigned build depends.
- WINBUILD: Add NVAPI to the list of static libraries to include during
        the build process.  Driver version detection.
        
    /
        <Various Files>

svn path=/trunk/boinc/; revision=17274
2009-02-16 21:35:19 +00:00
Charlie Fenton ab8d50e594 SS: On Windows, make path strings Unicode compatible in ss coordinator
svn path=/trunk/boinc/; revision=17273
2009-02-14 01:43:08 +00:00
David Anderson b22e99c26f - GUI RPC: add master_url and local_revision to PROJECT_CONFIG struct.
The former will allow the Manager to verify project URLs

svn path=/trunk/boinc/; revision=17271
2009-02-14 00:43:27 +00:00
David Anderson 1d43d654c6 - client: fix bug in time-of-day limit prefs (both CPU and network)
svn path=/trunk/boinc/; revision=17270
2009-02-14 00:34:11 +00:00
David Anderson 2afd98ae70 - client: fix bug where master fetch failure doesn't clear request flag,
leading to infinite retry without backoff

svn path=/trunk/boinc/; revision=17269
2009-02-14 00:05:02 +00:00
David Anderson adbff769c8 - Manager: add GPU preference to advanced prefs dialog
svn path=/trunk/boinc/; revision=17259
2009-02-13 17:53:10 +00:00
David Anderson 9db7b1f242 - GUI RPC: "get prefs" RPC was messed up by yesterdays's checkin;
also, change all bools to <foo>0|1</foo> rather than <foo/>

svn path=/trunk/boinc/; revision=17258
2009-02-13 17:45:23 +00:00
Charlie Fenton ccca6db3d7 ss_app: Under sandbox security, set boincscr permissions the same as for BOINC Manager
svn path=/trunk/boinc/; revision=17255
2009-02-13 11:07:50 +00:00
David Anderson f29dea8e02 - client: bug fix for GPU pref
svn path=/trunk/boinc/; revision=17247
2009-02-12 19:34:27 +00:00
David Anderson 4526c0bb3d - client, web: add preference for not using GPU while computer busy
svn path=/trunk/boinc/; revision=17235
2009-02-12 18:04:30 +00:00
David Anderson 57bf393544 - client: debt_eligible() was returning false if the backoff was max.
This can lead to a situation where a project never gets work.
    Remove that clause.

svn path=/trunk/boinc/; revision=17226
2009-02-12 16:28:28 +00:00
Charlie Fenton 5d66b22b3b SS: Continue refining screensaver coordinator logic
svn path=/trunk/boinc/; revision=17224
2009-02-12 12:58:24 +00:00
Charlie Fenton 6edb534164 SS: Minor fix to screensaver coordinator
svn path=/trunk/boinc/; revision=17223
2009-02-12 11:54:57 +00:00
Charlie Fenton b5856252d6 ss_app: Change Windows build executable file name to boincscr.exe
svn path=/trunk/boinc/; revision=17222
2009-02-12 02:05:54 +00:00
Charlie Fenton 6d003c8987 ss_app: Fix compiler warning
svn path=/trunk/boinc/; revision=17221
2009-02-12 01:25:03 +00:00
Charlie Fenton 7c127b6149 ss_app: Remove code which adds a Mac icon
svn path=/trunk/boinc/; revision=17220
2009-02-12 01:23:28 +00:00
Charlie Fenton 03e8940a8a ss_app: Remove code which adds a Mac icon, restore previous permissions for boinscr
svn path=/trunk/boinc/; revision=17218
2009-02-12 01:19:56 +00:00
David Anderson 017b61283b - client, API: populate APP_INIT_DATA::hostid.
Remove userid and teamid fields, since the client doesn't know these.

svn path=/trunk/boinc/; revision=17216
2009-02-11 23:01:21 +00:00
Rom Walton cd49bbc260 - MGR: Remove remaining UI thread calls to setlocale which could
confuse the parsing system or vise versa.
        
    clientgui/
        AdvancedFrame.cpp
        DlgItemProperties.cpp
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17215
2009-02-11 22:52:40 +00:00
David Anderson 2c068b76dc - lib: implement APP_INIT_DATA::copy() with assignments instead of
memcpy().  This protects against any future double-free bugs.

svn path=/trunk/boinc/; revision=17212
2009-02-11 22:36:33 +00:00