Commit Graph

18943 Commits

Author SHA1 Message Date
David Anderson 7e48057f44 - client/Manager/GUI RPC: clean up RPC stuff involving
resource-specific backoff and exclusion

    Old: client writes
            <rsc_backoff_time>
            <rsc_backoff_interval>
            <no_rsc_ams>
            <no_rsc_apps>
            <no_rsc_pref>
        in GUI RPC entries for projects.
        Manager (GUI RPC client): PROJECT struct has
            cpu_backoff_time
            cpu_backoff_interval
            ... cuda, ati
            no_cpu_pref
            ... cuda, ati
        and it parses tags of these names.
        In other words, no information is being conveyed
        from client to Manager.

    New:
        manager parses both forms


svn path=/trunk/boinc/; revision=25217
2012-02-08 01:39:01 +00:00
Charlie Fenton 1b41c17cb9 client: Fix bug in setting opencl_device_index
svn path=/trunk/boinc/; revision=25216
2012-02-08 01:02:56 +00:00
David Anderson 3a4e85bff3 - client: async file stuff
- set threshold at 10 MB for doing things asynchronously
		- don't count VERIFY_PENDING as failure

svn path=/trunk/boinc/; revision=25215
2012-02-08 00:45:37 +00:00
David Anderson e268b81a3d - async file stuff. mostly working. still a few bugs
svn path=/trunk/boinc/; revision=25214
2012-02-07 17:54:09 +00:00
David Anderson 739f40c4f7 - client: HTTP range request errors are permanent.
svn path=/trunk/boinc/; revision=25213
2012-02-07 07:58:08 +00:00
Charlie Fenton 4599eab858 client: remove now-redundant "GPU n is OpenCL-capable" messages
svn path=/trunk/boinc/; revision=25212
2012-02-07 04:27:09 +00:00
David Anderson b5a1175d95 - client: async file stuff.
async decompress/verify seems to be working

svn path=/trunk/boinc/; revision=25211
2012-02-07 00:35:55 +00:00
David Anderson d6534ba118 - client: async file stuff
svn path=/trunk/boinc/; revision=25210
2012-02-06 23:33:23 +00:00
David Anderson ea2e64cef5 - client: async file stuff
svn path=/trunk/boinc/; revision=25209
2012-02-06 22:57:36 +00:00
David Anderson 21d0a20b08 - client: tweaks to AMD GPU detection msgs
- client: async file stuff

svn path=/trunk/boinc/; revision=25208
2012-02-06 21:13:04 +00:00
David Anderson 223be7e62d - async verify
svn path=/trunk/boinc/; revision=25207
2012-02-06 20:41:26 +00:00
Rom Walton 2e42f30999 Quick Updates
svn path=/trunk/boinc/; revision=25206
2012-02-06 20:11:45 +00:00
Rom Walton b72c5d1310 - client: Undo my change of 24 Jan 2012 which broke WCG's use of the
.gzb file extension.  I was wrong in how I read the conditional and
        it turns out that libcurl does not honor the content-encoding even
        if it is capable of supporting it.  My bad.

    client/
        http_curl.cpp

svn path=/trunk/boinc/; revision=25205
2012-02-06 18:41:17 +00:00
Charlie Fenton 659fb8ceb0 client: Fix compiler warning generated by above checkin
svn path=/trunk/boinc/; revision=25204
2012-02-06 08:24:21 +00:00
David Anderson ea35d7df5c svn path=/trunk/boinc/; revision=25203 2012-02-06 06:16:26 +00:00
David Anderson cdd40fcc10 - client: intermediate checkin for async file verification
svn path=/trunk/boinc/; revision=25202
2012-02-06 06:06:44 +00:00
Charlie Fenton 4a5a226f10 SCR: Fix Xcode editor problems from recent screensaver.cpp changes
svn path=/trunk/boinc/; revision=25198
2012-02-04 03:49:53 +00:00
David Anderson 540a16e2f0 - transitioner: fix bug that cause invalid SQL query
svn path=/trunk/boinc/; revision=25197
2012-02-04 00:18:37 +00:00
Charlie Fenton cb8f00c29e client: add async file copy stuff to Xcode project
svn path=/trunk/boinc/; revision=25196
2012-02-03 23:42:01 +00:00
David Anderson 3dc7dc9ad3 - client: debug async file copy. Seems to be working.
svn path=/trunk/boinc/; revision=25195
2012-02-03 22:08:11 +00:00
Rom Walton 8d7a9577c2 Quick Updates
svn path=/trunk/boinc/; revision=25194
2012-02-03 19:52:06 +00:00
Rom Walton 5fd660bd22 - client: add async file copy stuff to Windows project file.
client/
        async_file.cpp
    win_build/
        boinc_cli.vcproj

svn path=/trunk/boinc/; revision=25193
2012-02-03 19:00:28 +00:00
David Anderson 4adba7ee4e - client: first pass at async file copy feature.
When a large file is copied from a project dir to a slot dir,
    it's copied in chunks,
    interleaved with other polling activities such as GUI RPCs.
    That way the manager doesn't freeze while large copies
    (e.g. VM images) are happening


svn path=/trunk/boinc/; revision=25192
2012-02-03 18:33:39 +00:00
Rom Walton 4565789760 - Tag for 7.0.14 release, all platforms
boinc_core_release_7_0_14

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=25190
2012-02-02 19:57:12 +00:00
Rom Walton 916cd7ded2 - MGR: Fix cookie detection problem when using the
IEGetProtectedModeCookie API.  Function prototype changed from the
        InternetGetCookieEx function.  HRESULT != BOOL.
        
    clientgui/
        browser.cpp

svn path=/trunk/boinc/; revision=25189
2012-02-02 17:35:24 +00:00
David Anderson b36779b22a - client: fix job scheduler problem:
old: RR simulation marks some jobs as missing their deadline,
        and the job scheduler runs those jobs as "high priority".
    problem: those generally aren't the ones we should run.
        E.g. if the client has a lot of jobs from a project,
        typically the ones with later deadlines are the ones
        whose deadlines are missed in the simulation.
        But in this case the EDF policy says we should run
        the ones with earliest deadlines.
    new: if a project has N deadline misses,
        run its N earliest-deadline jobs,
        regardless of whether they missed their deadline in the sim.
    Note: this is how it used to be (as designed by John McLeod).
        I attempted to improve it, and got it wrong.


svn path=/trunk/boinc/; revision=25188
2012-02-02 17:05:55 +00:00
Charlie Fenton 3b969546af Tag for 7.0.13 release, all platforms
svn path=/trunk/boinc/; revision=25184
2012-02-02 08:35:14 +00:00
David Anderson 8f84416ab7 - scheduler: add log messages to show VM-related request items
- fix typos in db_update script


svn path=/trunk/boinc/; revision=25183
2012-02-02 00:18:42 +00:00
David Anderson 480e28b54c - web: fix the user search feature
- scheduler: parse d_project_share
- scheduler: if vbox and vbox_mt are both available,
    use vbox for a 1-CPU machine


svn path=/trunk/boinc/; revision=25176
2012-02-01 03:30:14 +00:00
David Anderson 004c5692e3 - create_work tool: change option names for assigned jobs
- admin web: show actual platform name in result summary page


svn path=/trunk/boinc/; revision=25175
2012-01-31 20:25:26 +00:00
David Anderson ddd98cf8ec - admin web: fixes and clarifications to failure summaries
svn path=/trunk/boinc/; revision=25171
2012-01-31 07:21:42 +00:00
David Anderson 9285bc3961 - admin web: improvements to the pages for investigating result failures
(though considerable funkiness remains)


svn path=/trunk/boinc/; revision=25170
2012-01-30 23:57:18 +00:00
David Anderson 130d6ed4f0 - server: revamp the "assigned job" mechanism.
This now supports two main use cases:
    1) there's a job that you want to run once on all hosts,
        present and future
        (or all hosts belonging to a user, or to a team).
        The job is never transitioned, validated, or assimilated.
    2) There's a normal job for which you want to use only
        hosts belonging to a specific user (e.g. cluster or cloud hosts).
        This restriction can be made either when the job is created,
        or on the fly,
        e.g. as part of a scheme for accelerating batch completion.
        For the latter purposes we now provide a function
            restrict_wu_to_user(DB_WORKUNIT&, int userid);

        The job goes through the standard
        transitioner/validator/assimilator path.

    These cases are enabled by config flags
        <enable_assignment_multi/>
        <enable_assignment/>
    respectively.

    Assignment of type 2) are no longer stored in shared mem,
    so there is no limit on their number.

    There is no longer a rule that assigned job names must contain "asgn".

    NOTE: this requires a database update.


svn path=/trunk/boinc/; revision=25169
2012-01-30 22:39:13 +00:00
David Anderson a542bde3e4 - manager: change text for buffer-size fields in advanced prefs dialog
svn path=/trunk/boinc/; revision=25168
2012-01-30 18:19:54 +00:00
Charlie Fenton 65b5930423 client: don't defer scheduling a task based on insufficient GPU RAM
svn path=/trunk/boinc/; revision=25166
2012-01-30 10:09:44 +00:00
David Anderson f092fe8aa8 - web: msg tweak
- screensaver coordinator: use new XML parser

svn path=/trunk/boinc/; revision=25165
2012-01-29 07:25:55 +00:00
Charlie Fenton 960f27cb2b MGR: Disable new "Resume" items in system tray menu if modal dialog is open
svn path=/trunk/boinc/; revision=25164
2012-01-27 22:39:20 +00:00
David Anderson 6441ddf4d0 - manager: in tooltips for Project/Task buttons,
don't prepend "button name: ";
		add a tooltip for Home Page button.

svn path=/trunk/boinc/; revision=25163
2012-01-27 21:29:35 +00:00
David Anderson b0e3fadef1 - manager: in Disk View, try to make colors more distinct.
In addition to varying the hue,
    cycle through 3 different luminance values (.5, .7, .9)
- web: update the wording of buffer-size preferences


svn path=/trunk/boinc/; revision=25162
2012-01-27 19:24:20 +00:00
Charlie Fenton 4120c8d505 MGR: If CPU or GPU is suspended from Activity Menu, change "Snooze" to "Resume" in system tray menu; client: always remember previous CPU and GPU activity settings
svn path=/trunk/boinc/; revision=25160
2012-01-27 13:02:35 +00:00
Charlie Fenton affb960712 Mac: Update the build instructions with the current URL for c-ares-1.7.4
svn path=/trunk/boinc/; revision=25159
2012-01-27 00:42:45 +00:00
Charlie Fenton de71062295 Mac: Update the build instructions with the current URL for c-ares-1.7.4
svn path=/trunk/boinc/; revision=25158
2012-01-26 23:38:54 +00:00
David Anderson 63804486c0 - client: after a gzipped file is downloaded,
we uncompress it and then verify it.
    The latter involves computing its MD5, which reads the entire file.
    Combine these 2 steps so that the MD5 is computed
    as the file is uncompressed,
    eliminating the need to read the file again.


svn path=/trunk/boinc/; revision=25157
2012-01-26 23:13:00 +00:00
Rom Walton 7b770971eb - Tag for 7.0.12 release, all platforms
boinc_core_release_7_0_12

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=25155
2012-01-26 20:46:25 +00:00
David Anderson d205fc9375 - client: fix write of gzipped_nbytes
svn path=/trunk/boinc/; revision=25154
2012-01-26 18:35:08 +00:00
Charlie Fenton 615d59f40b client: disable temporary debugging aids in coproc_detect logic
svn path=/trunk/boinc/; revision=25153
2012-01-26 11:11:40 +00:00
David Anderson d281e43d6a - update_versions: for gzipped files,
send the size of the compressed file as well.
- client: parse and write the compressed size (FILE_INFO::gzipped_nbytes).
    For get_transfer GUI RPCs, if it's a compressed download send
    the compressed size.
    That way the manager will show the fraction done correctly.


svn path=/trunk/boinc/; revision=25152
2012-01-26 08:39:51 +00:00
Charlie Fenton 16397f2dcd MGR: Fix sizes of task panes and buttons, ellipsing button text if needed
svn path=/trunk/boinc/; revision=25151
2012-01-25 12:34:33 +00:00
Charlie Fenton db9d7c60fe MGR: Fix sizes of task panes and buttons, ellipsing button text if needed
svn path=/trunk/boinc/; revision=25150
2012-01-25 12:30:44 +00:00
Charlie Fenton 8f1069ed4e MGR: Fix sizes of task panes and buttons, ellipsing button text if needed
svn path=/trunk/boinc/; revision=25149
2012-01-25 12:18:43 +00:00