Commit Graph

3648 Commits

Author SHA1 Message Date
Rom Walton 5824c3cad8 - client: Apparently it is valid for the autoproxy to return
successful API completeion but a null proxy list.  Check
        for the null instead of crashing.
        
    client/
        sysmon_win.cpp

svn path=/trunk/boinc/; revision=19221
2009-09-30 18:13:03 +00:00
David Anderson a762e222cc - client: if downloaded project list file is garbage, ignore it.
- all: accept <foo /> as an XML bool

svn path=/trunk/boinc/; revision=19220
2009-09-30 17:13:45 +00:00
David Anderson a7b32b486e - client: fix crash with <ncpus>0</ncpus>
svn path=/trunk/boinc/; revision=19208
2009-09-29 02:12:35 +00:00
Rom Walton 3e5aa9834c - client: add missing Windows SKUs.
From Robert Kreß
    
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=19195
2009-09-28 15:46:27 +00:00
David Anderson 71c7e7a74b - client/scheduler/web: add per-project preferences for whether
to accept CPU, NVIDIA and ATI jobs.
    These prefs are shown only where relevant:
    e.g., only for processor types for which the project has app versions,
    and if it has versions for only one type, no pref is shown.

    These prefs affect both client and scheduler.
    The client won't ask for work for a device blocked by prefs,
    and the scheduler won't send it.

    This replaces earlier optional project-specific prefs for
    "no CPU jobs" and "no GPU jobs".
    (However, these prefs continue to be honored on the server side).

- client: if NVIDIA driver is unknown, say that rather than 0


svn path=/trunk/boinc/; revision=19194
2009-09-28 04:24:18 +00:00
David Anderson 0a1322af6e - client: fix bug in CPU prefs enforcement:
enforce "suspend if no recent input" and "exclusive apps"
    only if overall mode if RUN_MODE_AUTO (run according to prefs) 

svn path=/trunk/boinc/; revision=19193
2009-09-26 20:23:39 +00:00
David Anderson 35c6e2ee1b - client: fix crashing bug in GPU message display
- client: show a couple more config flags on startup

svn path=/trunk/boinc/; revision=19191
2009-09-26 05:23:05 +00:00
Rom Walton 9f5c62a375 - client: report the different Windows 7 and Windows 2008
"R2" correctly.
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=19170
2009-09-25 18:56:52 +00:00
David Anderson 39815033a3 - client: in GPU enumeration, separate warning msgs from GPU descriptions.
Show warning msgs only if log_flags.coproc_debug

svn path=/trunk/boinc/; revision=19153
2009-09-24 17:23:33 +00:00
David Anderson d1c1df4e60 - client: revert [19110]: don't delete files that fail verification;
they might be partly downloaded.

svn path=/trunk/boinc/; revision=19147
2009-09-23 19:44:21 +00:00
David Anderson dcc3c49938 - client: on Linux, run CPU-intensive jobs with the SCHED_BATCH scheduler.
Improves interactive response of system when jobs running.
    From Clive Messer.

svn path=/trunk/boinc/; revision=19143
2009-09-23 16:51:40 +00:00
David Anderson 0767636c2d - client: removed extra msgs
svn path=/trunk/boinc/; revision=19142
2009-09-23 16:15:04 +00:00
David Anderson 5d1ff3ab39 - client: fix preemption bug, this time fer sure!
svn path=/trunk/boinc/; revision=19131
2009-09-23 02:41:14 +00:00
David Anderson 6582b63cbc - client: extra debug msgs (remove when done)
svn path=/trunk/boinc/; revision=19130
2009-09-22 23:44:58 +00:00
David Anderson 86ee2f5753 - client: fix bug that caused unstarted coproc jobs to preempt
ones already running.
    The problem: we considered a job as started if it has an ACTIVE_TASK.
    However, we were creating ACTIVE_TASKS for jobs before deciding
    to run them, because we needed a place to store the coproc reservations.
    This caused the above bug, and also had the undesirable effect
    of creating slot directories before they're needed.

    Solution: store coprocessor reservations in RESULT
    rather than ACTIVE_TASK.

svn path=/trunk/boinc/; revision=19129
2009-09-22 21:02:06 +00:00
David Anderson 85d8c9942e - client: tweak CPU scheduling policy to avoid running
multithread apps overcommitted.
    Actually: allow overcommitment but only a fractional CPU
    (so that, e.g., we can run a GPU app and a 4-CPU app on a 4-CPU host)

svn path=/trunk/boinc/; revision=19126
2009-09-21 23:23:40 +00:00
David Anderson 11c023fdc6 - work fetch tweak
svn path=/trunk/boinc/; revision=19123
2009-09-21 20:41:28 +00:00
David Anderson 906dc533db - client: if a file fails verification, delete it.
svn path=/trunk/boinc/; revision=19110
2009-09-18 23:43:20 +00:00
David Anderson 7e69f86942 - client: don't print error msg if file is wrong size on startup
svn path=/trunk/boinc/; revision=19103
2009-09-18 20:49:54 +00:00
David Anderson 4d96415576 - client: fix bug introduced in [19035] that causes wrong nidle instances
(and resulting work fetch problems)
- Unix build: don't touch svn_version.sh if it hasn't changed,
    to avoid remake of sched/ (from Gabor Gombas)

svn path=/trunk/boinc/; revision=19096
2009-09-18 19:26:34 +00:00
David Anderson da4cec49de - client: comment out [18942], which changed the meaning of
"don't use GPUs while computer is in use" to
    "don't use GPUs running graphics apps while computer is in use"
    for NVIDIA GPUs.
    NVIDIA's API for seeing if a GPU is running a graphics app
    doesn't seem to reflect GPU use by the OS.

svn path=/trunk/boinc/; revision=19093
2009-09-18 17:55:05 +00:00
David Anderson cffbef1372 - client: in choosing coproc jobs to run (FIFO) give priority
to whether job is already running.
    This addresses a bug where several jobs are returned by sched RPC,
    and one with a lexicographically greater name
    happens to finish downloading first.

svn path=/trunk/boinc/; revision=19092
2009-09-18 17:11:15 +00:00
David Anderson 2e702db323 - client/API: add autosetup proxy info to init_data.xml
svn path=/trunk/boinc/; revision=19090
2009-09-18 16:30:25 +00:00
David Anderson 360f5e7bde - client: oops, backoff time is absolute not relative
svn path=/trunk/boinc/; revision=19088
2009-09-18 15:35:18 +00:00
David Anderson 7fac91e1d6 svn path=/trunk/boinc/; revision=19087 2009-09-18 05:13:30 +00:00
David Anderson 7ef2fd563c - client: fixed failure to initialize CPU backoff;
leads to huge CPU backoff.
    Cap backoff when read statefile.

svn path=/trunk/boinc/; revision=19086
2009-09-18 05:07:45 +00:00
Charlie Fenton 3ecc6c6d37 client: fix compiler warning
svn path=/trunk/boinc/; revision=19084
2009-09-17 22:54:09 +00:00
David Anderson 76583d54d9 - client: don't print error message if output file with <copy_file>
attribute is missing.  That's the app's problem, not BOINC's
- sample assimilator: if a canonical instance has no output files,
    rather than quitting create a file named WU_NAME_no_output_files

svn path=/trunk/boinc/; revision=19082
2009-09-17 21:06:11 +00:00
David Anderson 317b76054c - client: if project-supplied backoff > 28 days, cap rather than ignore
svn path=/trunk/boinc/; revision=19078
2009-09-17 16:46:21 +00:00
David Anderson 984bb92280 - client: cap project-supplied backoffs at 28 days
- client: anal-retentive alphabetization

svn path=/trunk/boinc/; revision=19060
2009-09-16 20:05:36 +00:00
David Anderson 41e3b06b23 - client and scheduler RPC: add optional <cpu_backoff>, <cuda_backoff>,
and <ati_backoff> elements to scheduler reply.
    These specify backoffs for the resource types,
    overriding the existing backoff mechanism.
    Projects can supply these if they don't have apps of a particular type
    and don't want to get periodic requests for them.

svn path=/trunk/boinc/; revision=19059
2009-09-16 17:34:19 +00:00
David Anderson 42e8d1137d svn path=/trunk/boinc/; revision=19058 2009-09-16 16:54:42 +00:00
David Anderson ceeee198db - client: change order in poll loop so that:
1) job finishes
    2) job gets marked as "ready to report"
    3) scheduler RPC is initiated
    Hopefully this won't have an unintended side-effect

svn path=/trunk/boinc/; revision=19051
2009-09-14 03:35:56 +00:00
David Anderson 6b39ae7dbe - client: add <fraction_done> to boinc_task_state.xml
svn path=/trunk/boinc/; revision=19050
2009-09-13 00:53:11 +00:00
David Anderson 9171ddbfad - client: fix bug in FIFO selection of coproc jobs
(senility setting in?)

svn path=/trunk/boinc/; revision=19049
2009-09-12 18:01:47 +00:00
David Anderson 31a19d1def - client: in startup msgs, show resource shares, don't show prefs details
svn path=/trunk/boinc/; revision=19044
2009-09-11 16:58:31 +00:00
Charlie Fenton d6fa3f4f22 client: don't display processor cache if we don't know it; skip ATI stuff on Macs.
svn path=/trunk/boinc/; revision=19040
2009-09-10 22:06:20 +00:00
David Anderson 3bcaefd1d7 - web: show BOINC version in host displays
svn path=/trunk/boinc/; revision=19038
2009-09-10 20:30:46 +00:00
David Anderson 0d4632d65d - client: save space in req msg. Didn't make much difference.
svn path=/trunk/boinc/; revision=19037
2009-09-10 18:32:46 +00:00
David Anderson f5a6f862bf - client: fix bug in RR simulation:
start only enough jobs to fill CPUs per project,
    not all the CPU jobs at once.
    I'm not sure how much difference this makes,
    but this is how it's supposed to work.
- client: if app_info.xml doesn't specify flops,
    use an estimate that takes GPUs into account.
- client: if it's been more than 2 weeks since time stats update,
    don't decay on_frac at all.

svn path=/trunk/boinc/; revision=19035
2009-09-09 22:18:02 +00:00
David Anderson 42a2d5953a - client: cap time_stats dt at 2 weeks,
so people upgrading to 6.10 won't get big drop in on_frac.


svn path=/trunk/boinc/; revision=19031
2009-09-08 21:19:59 +00:00
David Anderson b129e71f20 - client: add code for faking ATI GPUs
svn path=/trunk/boinc/; revision=19024
2009-09-08 18:42:24 +00:00
David Anderson ed30b45a43 - client: update of time stats was broken by [17166]
svn path=/trunk/boinc/; revision=19009
2009-09-06 05:11:26 +00:00
David Anderson ae3f3e74f1 - client: in choosing GPU jobs in FIFO order,
use job name as tiebreaker if received times are the same.
    This makes the order deterministic.
- web: show elapsed time and CPU time,
    and show app version info, in result display

svn path=/trunk/boinc/; revision=19008
2009-09-06 03:51:12 +00:00
David Anderson 4c52989f59 - client: improve the estimation of "busy time" (see 17 July checkin).
If you have 2 CPUs and a 1-day job in EDF mode,
        the busy time should be zero, not .5 days.

        Add a class BUSY_TIME_ESTIMATOR that makes a somewhat better
        (though still fairly crude) estimate.

svn path=/trunk/boinc/; revision=19003
2009-09-03 20:31:04 +00:00
David Anderson a5821203cc - client: fix bug where client runs too many CPU jobs
svn path=/trunk/boinc/; revision=18999
2009-09-03 14:04:35 +00:00
David Anderson e475c64a3b - client: fix log messages about scheduler RPC work req
- client: missing reset for ATI debt accounting

svn path=/trunk/boinc/; revision=18998
2009-09-03 04:39:58 +00:00
David Anderson 7c6adea563 - client: fix crashing bug in proxy autodetect
svn path=/trunk/boinc/; revision=18997
2009-09-03 04:20:09 +00:00
David Anderson 525b46a539 - client: add <sched_op_debug> msg for ATI work request
svn path=/trunk/boinc/; revision=18995
2009-09-02 22:14:28 +00:00
David Anderson 112cec62a5 - client: fix to [18945]; we only want to max the overall request
with a GPU request if project is anonymous platform
    AND it has an app for that GPU type
- client: report overall work request as well as per-resource-type requests

svn path=/trunk/boinc/; revision=18994
2009-09-02 21:36:25 +00:00