Commit Graph

16912 Commits

Author SHA1 Message Date
Rom Walton 54fc0ec16b Quick Updates
svn path=/trunk/boinc/; revision=22925
2011-01-18 18:24:11 +00:00
Charlie Fenton c1d6dfdf4a Mac: update release script to remove install of separate BOINC skin
svn path=/trunk/boinc/; revision=22922
2011-01-18 09:08:51 +00:00
David Anderson c4ee1bdd89 - client: code cleanup in CPU scheduling;
eliminate global variable


svn path=/trunk/boinc/; revision=22908
2011-01-16 07:40:09 +00:00
David Anderson c7c926280a - client: fix job scheduling bug.
Scenario: we have 2 CPUs and 1GB RAM
    Project A has jobs that use 1GB.
    Project B has small-mem jobs.
    Currently, we ignore RAM usage in building the runnable job list,
    so we might pick 2 jobs from project A.
    enforce_schedule() (which checks RAM usage) will run just one of them,
    and the other CPU will be idle.
    Solution: keep track of RAM usage while building the runnable job list.

svn path=/trunk/boinc/; revision=22907
2011-01-15 18:31:17 +00:00
David Anderson e97c64b92f - make the Manager build on FC11
- simulator work

svn path=/trunk/boinc/; revision=22906
2011-01-15 08:11:21 +00:00
Bernd Machenschalk 6a1c7cf4ac unix build system: generate_svn_version
- generate version string from plain git repositories, too (from Oliver)
- define SVN_REPOSITORY (URL) and SVN_REVISION (numerical) separately
so these could be used in proprocessor directives

svn path=/trunk/boinc/; revision=22905
2011-01-14 14:06:09 +00:00
Rom Walton a64d88aaa5 - MGR: re-enable background painting and just change the default background
color for the new default skin to light gray.
        
    clientgui/
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp

svn path=/trunk/boinc/; revision=22904
2011-01-14 03:25:57 +00:00
David Anderson c152968f53 - scheduler/client/API: pass user ID and team ID from scheduler to client,
and from client to app (host ID is already passed).
    E@h asked for this, not sure why.

svn path=/trunk/boinc/; revision=22902
2011-01-13 22:40:48 +00:00
Rom Walton b6cb1240dc Quick Updates
svn path=/trunk/boinc/; revision=22901
2011-01-13 19:13:27 +00:00
Rom Walton 5c02f7388b - MGR: Disable the background repaint events for the SGUI Messages and
SGUI Preferences dialog.  Changing the font color wasn't as easy as
        I had hoped and the black background for the skin doesn't do any
        good when the text itself is black as well.
        
    clientgui/
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp

svn path=/trunk/boinc/; revision=22900
2011-01-13 18:52:46 +00:00
David Anderson c7ab17fa21 - single-job submission system: don't hardwire i686 architecture;
make it work on any Linux system.
    From Steffen Moller.

svn path=/trunk/boinc/; revision=22899
2011-01-13 00:05:49 +00:00
Rom Walton 11c8d11f3d - MGR: Embed the BOINC skin in the executable using XPM files.
clientgui/res/skins/default/graphic/
        <Various Files>
    clientgui/
        SkinManager.cpp
    win_build/
        boincmgr.vcproj

svn path=/trunk/boinc/; revision=22898
2011-01-12 21:18:50 +00:00
David Anderson f903c7cfc4 - client: tweak [22842] so that system clock changes
of < 60 seconds are ignored

svn path=/trunk/boinc/; revision=22897
2011-01-12 18:14:15 +00:00
David Anderson a69e57d43c - client: set PROJECT::last_upload_start when a job completes,
NOT when its first upload starts.
    This prevents a scheduler RPC from happening between the two.
    This was a bug in [22841]

svn path=/trunk/boinc/; revision=22896
2011-01-12 01:19:31 +00:00
David Anderson 396dc5a8b4 svn path=/trunk/boinc/; revision=22895 2011-01-12 01:17:07 +00:00
David Anderson 717c45a2db - client: use std::deque instead of std::vector
for RR sim's pending-job lists.
    Erasing head of vector is slow.
- lib: allow GPU peak FLOPS to be specified in XML (for simulator)
- simulator work
- client: old work fetch policy: projects may need enough jobs
    for all device instances, not just resource_share*ninst.
    E.g. a project that has only CPU jobs in a CPU/GPU client
- client: with REC scheduling, don't ask for work for
    secondary resources if project has negative priority.
- client: in RR sim, make sure we saturate devices if possible.
    Otherwise we may report a shortfall incorrectly


svn path=/trunk/boinc/; revision=22894
2011-01-12 00:47:51 +00:00
Rom Walton 8f0b058e61 Update Translations
svn path=/trunk/boinc/; revision=22892
2011-01-10 16:10:22 +00:00
David Anderson eeab2aee92 - simulator work
- fix some indentation

svn path=/trunk/boinc/; revision=22891
2011-01-07 20:23:22 +00:00
David Anderson 6784283211 - user web: fix bugs in server status page
- fix some indentation


svn path=/trunk/boinc/; revision=22890
2011-01-06 23:09:13 +00:00
Rom Walton a88fe4aba7 Quick Updates
svn path=/trunk/boinc/; revision=22887
2011-01-06 19:45:36 +00:00
Charlie Fenton 853421541a Mac: Fix symbol table generation
svn path=/trunk/boinc/; revision=22882
2011-01-05 02:15:10 +00:00
David Anderson 05b9c0aa40 - client: show a given system notice at most once a week
svn path=/trunk/boinc/; revision=22861
2011-01-03 20:09:52 +00:00
David Anderson b418596cee - unix build: remove hardwired -ldl
svn path=/trunk/boinc/; revision=22860
2011-01-03 03:55:33 +00:00
David Anderson 5bbafef4b0 - fix some bad file permissions
- delist defunct stats site


svn path=/trunk/boinc/; revision=22859
2011-01-02 03:07:14 +00:00
David Anderson c5462e4917 - client: more hysteresis work fetch policy stuff
- client simulator work

svn path=/trunk/boinc/; revision=22858
2010-12-30 22:41:50 +00:00
Rom Walton 8a0a8986b5 Update Translations
svn path=/trunk/boinc/; revision=22856
2010-12-27 16:50:45 +00:00
David Anderson 7aeef3070a - client: enabled REC-based scheduling with a cmdline option
rather than a compile flag

svn path=/trunk/boinc/; revision=22855
2010-12-25 19:05:57 +00:00
Rytis Slatkevičius 1e55d118e9 user web: change forum RSS encoding from ISO-8859-1 to UTF-8
svn path=/trunk/boinc/; revision=22854
2010-12-24 19:35:08 +00:00
David Anderson f3169fb77a - client: initial, partial checkin for hysteresis work-fetch
svn path=/trunk/boinc/; revision=22853
2010-12-23 23:39:30 +00:00
David Anderson ab07baa21a - simulator stuff
svn path=/trunk/boinc/; revision=22852
2010-12-23 00:12:11 +00:00
David Anderson 41d71c7197 - client simulator: add client availability logic
svn path=/trunk/boinc/; revision=22851
2010-12-22 18:59:07 +00:00
Rytis Slatkevičius e0bcf3805f user web: add some CSS classes for easier styling
svn path=/trunk/boinc/; revision=22850
2010-12-21 17:15:57 +00:00
Rom Walton 341c1e0d2a Update Translations
svn path=/trunk/boinc/; revision=22848
2010-12-20 16:24:25 +00:00
Rom Walton dc5d60da75 Update Translations
svn path=/trunk/boinc/; revision=22847
2010-12-20 16:09:46 +00:00
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