Commit Graph

14824 Commits

Author SHA1 Message Date
BOINC Translator 835553374d Add language
svn path=/trunk/boinc/; revision=19871
2009-12-12 17:54:09 +00:00
David Anderson 2e793ee0b3 - manager: bug fixes
svn path=/trunk/boinc/; revision=19870
2009-12-12 07:11:50 +00:00
David Anderson c1a9f7e7a1 - stripchart: use /usr/bin/env perl in script headers
svn path=/trunk/boinc/; revision=19869
2009-12-12 05:19:31 +00:00
David Anderson a98a0f4652 - boinccmd: fix output of --get_disk_usage
svn path=/trunk/boinc/; revision=19868
2009-12-12 05:11:50 +00:00
David Anderson 1f78855ae1 - client: a couple of switch statements were missing breaks.
This would have caused work-fetch errors if
    using the no_cuda, no_cpu etc. prefs

svn path=/trunk/boinc/; revision=19867
2009-12-12 04:28:18 +00:00
David Anderson 640d3d780d - manager: add GPU always/auto/never menu items
svn path=/trunk/boinc/; revision=19866
2009-12-11 23:24:17 +00:00
David Anderson 8520644cf0 svn path=/trunk/boinc/; revision=19865 2009-12-11 22:56:46 +00:00
David Anderson a151ad6cb3 - client/scheduler: deal with situation where GPU has enough
RAM to run job, but when we actually run the job
    not enough GPU RAM is free, so the application fails.
    This can cause a large number of jobs to fail.
    Solution:
    - app_plan() can specify the GPU RAM requirements of an app version.
        This is passed to the client in a new field
        <gpu_ram> of the <app_version> element.
    - prior to starting or restarting a GPU app, the client
        checks the amount of free RAM on the particular GPU.
        If it's not enough for the app version,
        the client doesn't start it,
        and arranges for the scheduler to ignore it for 5 minutes
        (by which point there might be more free GPU RAM)
    Notes:
    1) this change will have effect only when
        both client and scheduler are updated.
    2) the check is done in enforce_schedule(),
        rather than schedule_cpus(),
        because only at that point
        have we assigned a specific GPU to the job.
    3) there's another case to deal with:
        a GPU app's malloc of GPU RAM fails in the middle of the job.
        Currently the job fails.
        I plan to add an API call boinc_temporary_exit(x) so
        that the job can exit and potentially restart in x seconds.
        (In principle this mechanism is sufficient for all cases,
        but it could lead to a lot of starting/exiting,
        so the current change is worthwhile).

svn path=/trunk/boinc/; revision=19864
2009-12-11 22:45:59 +00:00
BOINC Translator feb00b2fcd Update Translations
svn path=/trunk/boinc/; revision=19861
2009-12-11 20:00:02 +00:00
BOINC Translator 45379c0270 Update Translations
svn path=/trunk/boinc/; revision=19859
2009-12-11 19:00:03 +00:00
David Anderson fe1e2fbc5b - manager: fix bug in the above
svn path=/trunk/boinc/; revision=19855
2009-12-11 04:35:35 +00:00
David Anderson 2ff21d2a21 - client/manager: finish "snooze GPU" button
svn path=/trunk/boinc/; revision=19854
2009-12-11 00:08:28 +00:00
David Anderson 8182ccd031 - client/manager: first whack at a "snooze GPU" button
svn path=/trunk/boinc/; revision=19853
2009-12-10 23:26:35 +00:00
Rom Walton aae3e754b0 Quick Updates
svn path=/trunk/boinc/; revision=19852
2009-12-10 20:55:58 +00:00
David Anderson ea54aa7759 - client: STD for a device with N instances
can increase or decrease at N times real time.
    My checkin of 7 Dec reflects this by changing
    the STD limits to +- N*MAX_STD.
    This looks like a bug to users.
    Instead, scale that rate of STD change by 1/N,
    and keep the old limits of +- MAX_STD

svn path=/trunk/boinc/; revision=19851
2009-12-10 17:07:45 +00:00
Rom Walton b8a5211c12 Quick Updates
svn path=/trunk/boinc/; revision=19848
2009-12-09 21:31:33 +00:00
Rom Walton 5dd856f287 Quick Updates
svn path=/trunk/boinc/; revision=19847
2009-12-09 21:28:17 +00:00
David Anderson 54e7c50b48 fix GPU bug
svn path=/trunk/boinc/; revision=19837
2009-12-09 01:09:28 +00:00
David Anderson 392c578044 fix initialization bug that made GPUs invisible
svn path=/trunk/boinc/; revision=19831
2009-12-09 00:00:35 +00:00
David Anderson e9a4debf9c - client: scheduling tweak.
Old: if a project has RR sim deadline misses,
			select jobs to run high-priority on the basis of:
			1) deadline (earliest first)
			2) estimated time to completion (least first)
			This ignores whether jobs missed their deadline in RR sim,
			so it may choose to run a job that's actually in no
			danger of missing its deadline over one that is.
		New: choose only jobs that miss their deadline in RR sim

svn path=/trunk/boinc/; revision=19826
2009-12-08 20:39:46 +00:00
David Anderson b41ea18233 - client: don't set STDs for non-runnable projects to zero.
Let them float around with other projects.
    Fixes problem where, when a project finishes its last job
    and has a negative STD, it gets an unfair increment
    by being set to zero.

svn path=/trunk/boinc/; revision=19804
2009-12-07 18:58:37 +00:00
Charlie Fenton 3147f74103 Indicate which clients work on which Mac OS versions
svn path=/trunk/boinc/; revision=19803
2009-12-07 09:03:51 +00:00
Charlie Fenton e226c41d84 Indicate which clients work on which Mac OS versions
svn path=/trunk/boinc/; revision=19802
2009-12-07 09:00:33 +00:00
Charlie Fenton 308bfcfb8d Mac: Update XCode project for new file coproc_detect.cpp
svn path=/trunk/boinc/; revision=19801
2009-12-07 08:42:09 +00:00
David Anderson fc37fda4c4 svn path=/trunk/boinc/; revision=19799 2009-12-07 06:18:20 +00:00
David Anderson e27659858d - result of code shuffle: the HOST_INFO structure returned
by the get_host_info() GUI RPC now contains GPU info

svn path=/trunk/boinc/; revision=19798
2009-12-07 06:13:17 +00:00
David Anderson 6b937c7e54 - more code shuffle: add COPROCS to HOST_INFO
svn path=/trunk/boinc/; revision=19797
2009-12-07 01:21:42 +00:00
David Anderson 5ff3c7e4c9 svn path=/trunk/boinc/; revision=19796 2009-12-07 00:53:32 +00:00
David Anderson 95579e7ebe svn path=/trunk/boinc/; revision=19795 2009-12-07 00:49:36 +00:00
David Anderson b70229c093 - code shuffle: move client-specific GPU code to a separate file
svn path=/trunk/boinc/; revision=19794
2009-12-07 00:42:03 +00:00
David Anderson 1af926f52b svn path=/trunk/boinc/; revision=19793 2009-12-06 04:38:09 +00:00
David Anderson 0d81e43197 - client: bug fixes to recent proxy info checkin
svn path=/trunk/boinc/; revision=19792
2009-12-06 04:32:57 +00:00
Charlie Fenton ac4a74a994 Mac: Update XCode project; fix installer not starting Manager on OS 10.6
svn path=/trunk/boinc/; revision=19787
2009-12-05 11:01:03 +00:00
David Anderson a13800e285 win compile fixes
svn path=/trunk/boinc/; revision=19786
2009-12-05 01:02:46 +00:00
David Anderson 4bd0e4a2de - client: sort out proxy_info mess.
Source of proxy info (descending priority)
    - GUI RPC (Manager or boinccmd)
        This and only this is saved in state file.
        If neither HTTP nor SOCKS server name present,
        this is viewed as not present
    - environment vars
    - cc_config.xml

    Show sources of proxy info in message log.
    If one is present but overridden, show a message to that effect.

    This fixes a bug where someone had a proxy info env var and
    forgot about it.
    They got an erroneous message saying no proxy was being used.

svn path=/trunk/boinc/; revision=19785
2009-12-05 00:51:05 +00:00
David Anderson e9fc909f3c - client: scale STD limit by # instances
svn path=/trunk/boinc/; revision=19784
2009-12-04 21:46:43 +00:00
David Anderson 2ef5c5895b - client: fix bug in debt calculation
- client: <zero_debts> zeroes STD too

svn path=/trunk/boinc/; revision=19783
2009-12-04 21:21:18 +00:00
Charlie Fenton dc43748b5c Mac: Update XCode project and build scripts to build under XCode 3.2.1 and OS 10.6 Snow Leopard
svn path=/trunk/boinc/; revision=19781
2009-12-04 14:39:35 +00:00
Charlie Fenton 2767a9a660 Mac client: update build scripts, XCode project for curl-7.19.7 and c-ares 1.7.0
svn path=/trunk/boinc/; revision=19780
2009-12-04 06:03:11 +00:00
David Anderson 09759104f4 compile fixes, message tweaks
svn path=/trunk/boinc/; revision=19778
2009-12-03 23:27:32 +00:00
David Anderson 2d4ceb618a - client: my STD-related checkin of Dec 1 was bad.
It computed an "overall STD" as the sum of CPU and coprocs,
    weighted by the coproc's speed, as we do for LTD.
    This was the wrong idea; in the presence of GPUs,
    STDs quickly get pushed to +- 1 day and are truncated there.

    New scheme: STD is maintained per (resource type, project).
    This fixes the above problem,
    and it opens to door to round-robin scheduling of GPUs.
- client: the calculation of "anticipated debt" was scaling
    by relative resource share.
    This wasn't correct, seems to me.
- client: rename "debt" to "long_term_debt" in a few places
    (but not in the client state file, for compatibility)

svn path=/trunk/boinc/; revision=19777
2009-12-03 23:09:25 +00:00
David Anderson fb4797adfd - client: Add offset to LTD of non-eligible projects
only if the offset is positive.
- client: some cmdline args set members of config.
    However, config was being cleared after cmdline args were parsed,
    so these args had no effect.
    Instead, clear config before parsing cmdline

svn path=/trunk/boinc/; revision=19776
2009-12-03 19:09:45 +00:00
David Anderson ce3f3f1cfe - client: fix divide-by-zero bug in STD code
- fix compile warnings

svn path=/trunk/boinc/; revision=19775
2009-12-03 18:51:23 +00:00
Charlie Fenton 1324e98d70 Mac Installer: Rearrange License Agreement so Restrictions section is visible without scrolling and is in bold text
svn path=/trunk/boinc/; revision=19771
2009-12-03 01:46:34 +00:00
Charlie Fenton cc08c800aa Promote Mac 6.10.21 to Recommended
svn path=/trunk/boinc/; revision=19770
2009-12-03 01:03:35 +00:00
David Anderson 0fe8faf056 svn path=/trunk/boinc/; revision=19764 2009-12-02 04:48:17 +00:00
David Anderson ba3c7f0f7b svn path=/trunk/boinc/; revision=19763 2009-12-02 04:47:42 +00:00
David Anderson 59328aaccb - client: change how short term debt is updated.
Old: it's based entirely on CPU time.
        So a GPU project, whose app uses only a fraction
        of a CPU, accrues positive debt.
        This is OK if the project has only GPU apps,
        since STD is not (currently) used for GPU scheduling.
        But some projects have both CPU and GPU apps.
    New: STD is based on total processing.
        It has terms for each resource type.
        The notion of "runnable resource share" is specific to a type.
    Note: the notion of "resource share fraction" appears in
        a couple of other places:
        - it's passed to apps in app_init_data.xml
        - it's passed in scheduler requests.
        It should be broken down by resource type in these cases too.
        Note to self: do this later.

svn path=/trunk/boinc/; revision=19762
2009-12-02 03:41:52 +00:00
David Anderson 67ad130477 svn path=/trunk/boinc/; revision=19761 2009-12-01 20:36:11 +00:00
David Anderson 5a1e53ec7b svn path=/trunk/boinc/; revision=19760 2009-12-01 20:32:34 +00:00