Commit Graph

20274 Commits

Author SHA1 Message Date
David Anderson 12319ca82b - scheduler: add code (commented out for now) for new implementation
of score-based scheduling.
2013-04-09 11:10:50 -07:00
Rom Walton 27bca08d69 client: Make the detach console stuff backwards compatible with BOINCTasks. 2013-04-09 13:12:34 -04:00
Rom Walton 58a61e7533 MGR: Fix the text for the 'reread config files' menu option. 2013-04-09 12:45:09 -04:00
Rom Walton 6637619379 MGR: Check the size of the stats vectors before attempting to tabulate the results. 2013-04-09 12:26:25 -04:00
Charlie Fenton 17ddcfe941 MGR: Fix minor cosmetic issue rendering Task Selection Control in Simple View on Mac. 2013-04-09 02:20:50 -07:00
David Anderson 2ea7f44f22 - boinccmd: show correct error message if auth failure 2013-04-08 11:35:49 -07:00
David Anderson 63611be7e8 - client: fix bug in work fetch that caused infinite RPCs
if all projects backed off
- client emulator: disable "fetch master URL" logic
2013-04-08 11:33:49 -07:00
David Anderson 6c1f6f4550 - client: put back --detach (because BoincTasks assumes it)
and --detach_console (because the documentation says it exists).
    I'm not sure why --detach_phase_two is there, but leave it.
2013-04-07 23:10:49 -07:00
David Anderson 6b6c2ac519 - client: fix bug that could cause idle GPUs when exclusions are present.
The basic problem: the way we assign GPU instances when creating
        the "run list" is slightly different from the way we assign them
        when we actually run the jobs;
        the latter assigns a running job to the instance it's using,
        but the former doesn't.
    Solution (kludge): when building the run list,
        don't reserve instances for currently running jobs.
        This will result in more jobs in the run list, and avoid starvation.
        For efficiency, do this only if there are exclusions for this type.
    Comment: this is yet another complexity that would be eliminated
        if GPU instances were modeled separately.
        I wish I had time to do that.
- client emulator: change default latency bound from 1 day to 10 days
2013-04-07 13:00:15 -07:00
David Anderson b98d6154d1 - client: AMD GPU name tweaks 2013-04-07 00:32:46 -07:00
David Anderson b9a25b8a20 - client: AMD GPU names; from Jord 2013-04-06 22:09:18 -07:00
Joachim Fritzsch e16f4d3c1f -android: multiple layout improvements 2013-04-06 16:19:44 +02:00
Joachim Fritzsch 96f3bdf16b -android: acquisition of WakeLock to prevent CPU throttling when display is off. 2013-04-06 12:55:00 +02:00
David Anderson 5b701ef9e0 - scheduler: fix bug in plan class XML spec,
when it uses a project-specific pref element that's
    missing from a user's prefs.
    From Michael Goetz via Rytis.
2013-04-04 23:58:15 -07:00
David Anderson fde9ab70a1 - client: fix bug in work fetch that prevented resource backoff 2013-04-04 16:20:29 -07:00
David Anderson 330a25893f - client emulator: parse <max_concurrent> in <app> in client_state.xml.
This gives you a way to simulate the effects of app_config.xml
- client: piggyback requests for resources even if we're backed off from them
- client: change resource backoff logic
    Old: if we requested work and didn't get any,
        back off from resources for which we requested work
    New: for each resource type T:
        if we requested work for T and didn't get any, back off from T
        Also, don't back off if we're already backed off
            (i.e. if this is a piggyback request)
        Also, only back off if the RPC was due to an automatic
            and potentially rapid source
            (namely: work fetch, result report, trickle up)
- client: fix small work fetch bug
2013-04-04 10:25:56 -07:00
Eric J Korpela 0eb9551084 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-04-03 09:57:03 -07:00
Eric J Korpela 7b8fae6b1e Fix for "make clean" not removing .a files in lib/ 2013-04-03 09:56:25 -07:00
David Anderson aadb36578b - Client: detect new Win versions and AMD GPUs; from [P3D] Crashtest 2013-04-03 00:19:01 -07:00
David Anderson 24e8133e4b - tabs -> spaces 2013-04-02 17:23:37 -07:00
David Anderson a5bcf6ab3b - client: work fetch message tweaks: show state before actions 2013-04-02 17:04:45 -07:00
David Anderson f6a61fe801 - client: major overhaul of work-fetch logic based on suggestions
by Jacob Klein.
    The new policy is roughly as follows:
    - find the highest-priority project P that is allowed
        to fetch work for a resource below buf_min
    - Ask P for work for all resources R below buf_max
        for which it's allowed to fetch work,
        unless there's a higher-priority project allowed
        to request work for R.
    If we're going to do an RPC to P for reasons other than work fetch,
    the policy is:
    - for each resource R for which P is the highest-priority project
        allowed to fetch work, and R is below buf_max,
        request work for R.
2013-04-02 12:32:28 -07:00
David Anderson 1b9ad86694 - client: don't prefix <task> messages with [task] 2013-04-02 12:31:32 -07:00
David Anderson 6e3cdfc7e8 - remove dead projects 2013-04-02 12:29:14 -07:00
Rom Walton 4b056cfafd Updates for 7.0.60 2013-04-02 12:54:09 -04:00
Charlie Fenton 9be94b09c5 MGR: fix crash bug in Simple View preferences dialog 2013-04-01 02:25:55 -07:00
David Anderson 93b8289b60 - XML parser: return error if string exceeds buffer size.
- client: when parsing MD5, use 64 instead of 33 char buffer.
    When the XML parser reads a string,
    it enforces the buffer size limit BEFORE it strips whitespace.
    So if a project put whitespaces before or after the MD5,
    it would fail to parse.
2013-03-29 22:36:53 -07:00
David Anderson 17b0362d27 - remove uFluids and Virtual Prairie from the projects file 2013-03-29 22:35:57 -07:00
David Anderson fae5fc45be - alphabetize fields in prefs structure
- client emulator: simulate project-requested backoff after work fetch
2013-03-29 22:26:38 -07:00
David Anderson 7aaa136f7a - client: on startup, if new version, arrange to get new project list 2013-03-29 18:38:57 -07:00
Rom Walton cb2883cd17 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-03-29 12:01:41 -04:00
Rom Walton 27f2ef9bb8 - Update all_projects_list.xml 2013-03-29 11:58:40 -04:00
David Anderson 0e3a30c17e - remote job submission: fix bug in web interface 2013-03-28 22:53:01 -07:00
Charlie Fenton 7cfd2a5b7b Updates for 7.0.59 (Mac) 2013-03-28 16:20:19 -07:00
Rom Walton 0b5fdee46d Updates for 7.0.59 2013-03-28 16:53:00 -04:00
Joachim Fritzsch 30f1b6518b -android:
-ProjectAttach: terms of use, prevention of login attempt to already attached project
 -PrefsActivity: fixed bugs caused by race condition
 -removed seperate Thread for client setup, now called from ClientStatusMonitorAsync
2013-03-28 17:24:06 +01:00
Joachim Fritzsch b539fb57a9 -android: ProjectAttach:
- bug fixes (NullPointerException) at login
  - added warning in case manually added project does not support Android
  - usage of lib/error_numbers.h instead of self defined values
  - added link to project URL
2013-03-28 12:35:19 +01:00
Joachim Fritzsch 7e8f2804fc Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-03-28 10:49:00 +01:00
Joachim Fritzsch 8423bc0492 -android: full exit (UI and client) reachable from menu in Status tab. 2013-03-28 10:48:32 +01:00
Rom Walton bd5bda4971 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-03-27 11:52:18 -04:00
Rom Walton d85be7944d MGR: Revise how CPU Architecture is determined in the about dialog box per Gianfranco's recommendation. 2013-03-27 11:51:55 -04:00
novarow f9da55c7d9 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-03-27 12:16:01 +01:00
novarow 727c84320d -android: file missing in previous commit 2013-03-27 12:14:30 +01:00
novarow 895ba42eaf -android: UI responsiveness and robustness improvements
-android: generalization of loading layout
-android: unified layout setup routine for Trans-, Projects-, Tasks-, EventLogActivity
-android: optimization of EventLogActivity
2013-03-27 12:13:37 +01:00
Eric J Korpela f6ee54a602 Added a couple debugging statements. 2013-03-26 15:24:45 -07:00
novarow 7da22d39df -android: AndroidManifest.xml with new Activities 2013-03-26 15:05:35 +01:00
novarow 565f444850 -android: improved project attach routine
-android: various bug fixes.
2013-03-26 14:57:54 +01:00
David Anderson ff68226477 - client emulator: if try to do RPC to a "down" project, back off
- client emulator web interface: show simulations in reverse chron order
2013-03-25 10:22:46 -07:00
David Anderson 515deea4fb - client, work fetch: request # instances so that we have enough jobs
to use project's share of instances.
- client emulator: if client_state.xml doesn't have <no_rsc_apps>
    for a project, and the project doesn't have apps for that resource,
    the project can be asked for work for that resource.
2013-03-25 09:25:25 -07:00
David Anderson b93e80c6f5 - client: code cleanup. Some variable/function/constant names
contained "debt" when they actually refer to REC.
    Change these names to use "rec".
2013-03-24 11:22:01 -07:00