Commit Graph

16728 Commits

Author SHA1 Message Date
David Anderson 27615373c5 svn path=/trunk/boinc/; revision=22846 2010-12-18 17:12:17 +00:00
David Anderson 3a9549979e - client: tweak to ATI CPU recognition
from [P3D] Crashtest

svn path=/trunk/boinc/; revision=22845
2010-12-18 17:09:57 +00:00
David Anderson 93902c1475 - API: small tweak that should help narrow down the occasional crashes
in fprintf() and boinc_msg_prefix() seen by E@h

svn path=/trunk/boinc/; revision=22844
2010-12-17 19:09:03 +00:00
David Anderson 878ec29353 - client: improve text of "message from server" notices
- manager: change "add account manager" to "use account manager".
		"Add" is confusing, because you can't add multiple account managers
		like you add projects.
	- client: recognize a few new ATI GPU models
		from Robert Kreß

svn path=/trunk/boinc/; revision=22843
2010-12-17 18:56:10 +00:00
David Anderson 4f3d628e29 - client: if detect that system clock has been set backwards
(either at startup or during execution)
    reset a number of "wait until X" variables;
    otherwise we might wait years to contact a project, restart a file xfer, etc.
    Notes:
    - there is no problem setting clocks forward; things just happen prematurely
    - some variables (e.g. task deadlines) are not reset,
        because it's not clear what to set them to
- sched: remove ati_opencl plan class until we understand what it is


svn path=/trunk/boinc/; revision=22842
2010-12-17 01:30:01 +00:00
David Anderson 18f2e90929 - client: work fetch: if the chosen project is currently uploading a file,
and an upload started in the last 5 min, don't fetch work from it.
    The goal is to merge the 2 scheduler RPCs
    (fetch work, report completed taskS) into a single RPC.
    Note: this may result in idleness in some cases.
- scheduler: if client doesn't handle plan class (pre-5.10),
    check plan-class app versions anyway,
    but only use if it's a single-CPU app.
    This allows single-CPU app versions with specific requirements
    (like SSE) to be issued to old clients.
    From Bernd Machenschalk


svn path=/trunk/boinc/; revision=22841
2010-12-13 22:58:15 +00:00
David Anderson fa6c581995 - client: fix scheduling problem:
Old: enforce_schedule() won't run an active job if its
        working set size exceeds remaining available RAM.
    Problem: there may be a lot of similar jobs.
        The client starts one, finds that its working set is too large,
        starts the second, and so on.
    Solution: if J is an unstarted job,
        and there are started jobs using the same app version,
        consider J's working set size to be the largest of
        the working sets of those jobs.
- client: fix an apparent bug that could oversaturate
    the CPUs with single-thread jobsk


svn path=/trunk/boinc/; revision=22840
2010-12-11 19:03:57 +00:00
David Anderson 1267531181 - transitioner: fix bug where retry jobs weren't getting sent
because invalid jobs were counted as successful.
    How could this bug possibly have survived this long?
    From TJM (thanks -- who are you?)
    Fixes #1029

svn path=/trunk/boinc/; revision=22839
2010-12-10 00:33:45 +00:00
David Anderson 3de1406265 - scheduler: in app_plan_sse3(): check for CPU features in
p_model as well as p_features;
    pre-6.x clients report them in p_model.
- client: fix bug where "reread config file" didn't update
    the max log file sizes

svn path=/trunk/boinc/; revision=22838
2010-12-09 23:27:11 +00:00
David Anderson 864ee7e3a3 - scheduler: in some cases the system may have a too-low estimate
of the performance of an app version on a host.
    It will then stop using that app version,
    so the estimate never has a chance to converge to its correct value.
    Fix: multiply by a random factor (mean 1, stddev .1)
    when comparing the FLOPS estimates of app versions.

svn path=/trunk/boinc/; revision=22837
2010-12-09 00:32:50 +00:00
David Anderson 0a85852465 svn path=/trunk/boinc/; revision=22836 2010-12-08 23:07:07 +00:00
David Anderson 4ba0fa29ec - API: add support from Truetype fonts (from Carl Christensen)
svn path=/trunk/boinc/; revision=22835
2010-12-08 23:06:07 +00:00
David Anderson 50c5ce8e81 - client: fix scheduling bug when a job has fraction_done = 1
but it's not finished yet.
    ACTIVE_TASK::est_dur() was returning 0
    when it should have returned elapsed_time.

svn path=/trunk/boinc/; revision=22834
2010-12-08 16:59:42 +00:00
Rom Walton 0ea0fd6037 - VBOX: Implement stubs for starting/stopping/suspending/resuming VMs
TODO: create/delete.
        
    samples/vboxwrapper/
        vbox.cpp, .h
        vbox_win.cpp
        vboxwrapper.cpp
        vm.cpp, .h
    win_build/
        vboxwrapper.vcproj

svn path=/trunk/boinc/; revision=22833
2010-12-08 16:02:10 +00:00
Charlie Fenton 69e0259823 Release Mac BOINC 6.12.9 to alpha test
svn path=/trunk/boinc/; revision=22832
2010-12-08 06:03:37 +00:00
David Anderson 7baddb24e3 - Fix bugs in Rappture wrapper
- Add README file and templates for Rappture wrapper
- create_work: create defaults for --wu_name, --wu_template, --result_template
- user web: fix typo on workunit.php

svn path=/trunk/boinc/; revision=22826
2010-12-07 19:28:08 +00:00
Bernd Machenschalk 56eb3cdf7f API: MinGWs runtime API has neither localtime_r nor localtime_s,
but it should be safe to use localtime here

svn path=/trunk/boinc/; revision=22825
2010-12-07 14:23:37 +00:00
Charlie Fenton 873c5b16a0 Mac Installer: Fix failure to auto-launch on OS 10.4.x
svn path=/trunk/boinc/; revision=22823
2010-12-06 10:24:59 +00:00
David Anderson 14b77618b1 - manager: fix compile warnings; from Steffen Moller
svn path=/trunk/boinc/; revision=22822
2010-12-06 03:18:13 +00:00
David Anderson a89ae6f3c6 svn path=/trunk/boinc/; revision=22821 2010-12-06 03:10:01 +00:00
David Anderson ebe1256b58 - wrappture fixes
svn path=/trunk/boinc/; revision=22820
2010-12-06 03:06:31 +00:00
Charlie Fenton 02c380e0dc Release Mac BOINC 6.12.8 to alpha test
svn path=/trunk/boinc/; revision=22818
2010-12-03 08:32:01 +00:00
Rom Walton a5a047c5ab Quick Updates
svn path=/trunk/boinc/; revision=22816
2010-12-03 04:17:34 +00:00
Rom Walton 9aab5375d4 Quick Updates
svn path=/trunk/boinc/; revision=22805
2010-12-02 20:05:28 +00:00
David Anderson 2855bd3840 - client: fix typo that broke communication with account managers
- API: compile fix for Win

svn path=/trunk/boinc/; revision=22804
2010-12-02 19:38:25 +00:00
Rom Walton 9f33bbb5ad Quick Updates
svn path=/trunk/boinc/; revision=22802
2010-12-02 17:39:44 +00:00
David Anderson 5c2636b743 - client: fix scheduling bug.
The round-robin simulation wasn't handling multithread jobs correctly.
    For example, given two 3-CPU jobs,
    it would model running them together on a 4-CPU host.
    This doesn't correspond with the CPU scheduler,
    which runs only 1 at a time.
    So the simulator would say that there are no idle CPUs
    when in fact there are, and no new CPU jobs would be fetched.

svn path=/trunk/boinc/; revision=22801
2010-12-02 17:26:03 +00:00
Charlie Fenton b103ada0e4 Remove BOINC_RCSID tag
svn path=/trunk/boinc/; revision=22799
2010-12-02 14:10:03 +00:00
Charlie Fenton 86c2c76a79 Mac Installer: Updates for OS 10.6.5 compatibility
svn path=/trunk/boinc/; revision=22797
2010-12-02 13:55:41 +00:00
Charlie Fenton c56f6e0563 Mac lib: use newer backtrace() APIs under OS 10.5.x on Intel Macs
svn path=/trunk/boinc/; revision=22794
2010-12-02 11:47:48 +00:00
David Anderson 58dadd91a8 - client, acct manager protocol:
allow <no_cpu>, <no_cuda> and <no_ati> bools
    within <account> in reply message.
    They suppress work fetch for that resource type from that project.
- scheduler:
    check max_granted_credit after wu.rsc_fpops_bound,
    so that max_granted_credit will be enforced
    even if wu.rsc_fpops_bound is absurdly high
    Fixes #1034.  From Diggory Hardy.


svn path=/trunk/boinc/; revision=22793
2010-12-02 04:53:12 +00:00
David Anderson 2b67ec4ad9 - client: fix major bug in job scheduling
Old: scheduling has 2 phases:
        1) computing a list of jobs to run (a vector of RESULT*);
            this is done infrequently
        2) enforcing the schedule; this is done more frequently
    Problem:
        when we enforce the schedule,
        the RESULTs in the jobs-to-run list may not still be runnable,
        and in fact they may not still exist (dangling pointer).
    New: combine the 2 phases


svn path=/trunk/boinc/; revision=22792
2010-12-01 21:49:35 +00:00
Rom Walton 0e05022b20 Update Translations
svn path=/trunk/boinc/; revision=22790
2010-12-01 18:21:06 +00:00
David Anderson 556e319ca1 - API: use localtime_r() instead of localtime()
svn path=/trunk/boinc/; revision=22784
2010-12-01 18:04:18 +00:00
Rom Walton 3fa1f8d94d Quick Updates
svn path=/trunk/boinc/; revision=22783
2010-12-01 16:06:31 +00:00
Rom Walton 30190aa77c - MGR: Use standard menus, even on Windows, for the Simple GUI.
clientgui/
        sg_StatImageLoader.cpp

svn path=/trunk/boinc/; revision=22782
2010-12-01 16:06:01 +00:00
Bernd Machenschalk 0220ab3319 - api: check return values of functions used in boinc_msg_prefix(),
return a (valid) empty string if an error occurred

svn path=/trunk/boinc/; revision=22781
2010-12-01 15:25:07 +00:00
David Anderson 16147b7dd7 - manager: show RAM limit in task properties
svn path=/trunk/boinc/; revision=22780
2010-11-30 22:27:56 +00:00
David Anderson 295e8fbdb4 - client: on startup, generate a notice if any jobs require more RAM
than is allowed by prefs

svn path=/trunk/boinc/; revision=22779
2010-11-30 22:12:14 +00:00
David Anderson f8e2d07cf9 - scheduler: add vbox32 and vbox64 plan classes for VirtualBox apps.
svn path=/trunk/boinc/; revision=22778
2010-11-30 19:36:07 +00:00
David Anderson 55eca25ed5 - Rappture stuff
svn path=/trunk/boinc/; revision=22777
2010-11-30 05:27:05 +00:00
David Anderson d93114a51f - add VS project file for wrappture_example; fix Win compile
svn path=/trunk/boinc/; revision=22776
2010-11-29 22:51:24 +00:00
David Anderson bedfeafbee - add support for making wrappers for Rappture:
https://nanohub.org/infrastructure/rappture/


svn path=/trunk/boinc/; revision=22775
2010-11-29 22:27:26 +00:00
Rom Walton 36c95249bf - vboxwrapper: Remove unneeded cruft. Vbox can report how long a
VM has been running since the last state change, we'll use that
        instead.
    - vboxwrapper: provide basic stub functions for starting/stopping/
        suspending/resuming a VM.  Leave wrapper functionality in
        vboxwrapper, and VM specific functionality in vbox_*.  Ideally
        only the stub functions would have to change for other VM
        implementations.
        
    samples/vboxwrapper/
        vbox.cpp, .h
        vbox_win.cpp
        vboxwrapper.cpp
    win_build/
        vboxwrapper.vcproj

svn path=/trunk/boinc/; revision=22753
2010-11-29 16:48:31 +00:00
David Anderson e7db8d5eba - web: show details of single-replicated WUs if they have an error
fixes #1036

svn path=/trunk/boinc/; revision=22752
2010-11-29 00:02:01 +00:00
David Anderson e09a9ef73c - client: send host info in account manager request message
svn path=/trunk/boinc/; revision=22751
2010-11-27 20:15:48 +00:00
David Anderson 086758bf54 - client: use <foo>0|1</foo> instead of <foo/> or "" as XML boolean.
This distinguishes between "false" and "not defined"
    (did this in a few places, should do it everywhere)


svn path=/trunk/boinc/; revision=22750
2010-11-27 04:02:15 +00:00
Charlie Fenton 4066ff8ab9 client: fix crash bug
svn path=/trunk/boinc/; revision=22749
2010-11-26 11:01:09 +00:00
David Anderson bbaff5d2da - web: remove DBNAME hack, which allowed users to see the DB name
(not a big deal, but bad form).
    Fixes #1028

svn path=/trunk/boinc/; revision=22748
2010-11-25 05:54:09 +00:00
David Anderson a129c0d8cd - client: do exponential backoff (from 10 min to 24 hours)
on account manager RPC failures,
    rather than always waiting 24 hours

svn path=/trunk/boinc/; revision=22747
2010-11-25 04:35:50 +00:00