Commit Graph

16902 Commits

Author SHA1 Message Date
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
David Anderson b39615d461 - client: work fetch fix: try to maintain GPU work all projects,
since we now do round-robin for GPUs as well as CPU.
    NOTE: this bug was found using the client simulator!
- client simulator: generate REC graph

svn path=/trunk/boinc/; revision=22746
2010-11-24 20:51:25 +00:00
Rom Walton 650ede61c5 - vbox: Create a new VirtualBox wrapper using the VirtualBox COM
API set.  Use the existing wrapper as the baseline.  Current
        wrapper just dumps the existing VMs defined on the machine.
        More to follow.
        
    samples/vboxwrapper/mscom/
        VirtualBox.h
        VirtualBox.tlb
        VirtualBox_i.c
    samples/vboxwrapper/
        vbox.h
        vbox_win.cpp
        vboxwrapper.cpp
    win_build/
        boinc.sln
        vboxwrapper.vcproj

svn path=/trunk/boinc/; revision=22745
2010-11-24 20:15:11 +00:00
Charlie Fenton f418544332 client: fix compiler warning
svn path=/trunk/boinc/; revision=22744
2010-11-24 12:59:18 +00:00
David Anderson 9d35970994 - server scripts (e.g. update_versions):
compute MD5 checksums be reading files in pieces instead
    of reading whole file into memory.  From Tolu Aina

svn path=/trunk/boinc/; revision=22743
2010-11-23 22:16:24 +00:00
David Anderson 9838ff4349 - GUI RPC, client side: add error-checking for CC_STATE::parse();
avoid crash if error or missing item in reply XML

svn path=/trunk/boinc/; revision=22742
2010-11-23 21:44:43 +00:00
David Anderson 6478b3e05d - client: implement more scheduler changes that use
recent estimated credit (REC) instead of debt.
    These changes are enabled by
        #define USE_REC
    in work_fetch.h.
    If this is commented out (the default) the client uses
    debt-based scheduling, same as before.
    TODO: work-fetch policy changes
- client simulator: various fixes:
    - compute idle and wasted fraction based on all processing resources,
        not just CPU
    - compute job completion times based on FLOPS, not CPU seconds
    - compute and use project->no_X_apps
    etc.


svn path=/trunk/boinc/; revision=22741
2010-11-23 19:39:47 +00:00
Rom Walton 2c795c4159 - client: Copy the AltiVec CPU feature to the p_features field, leave
AltiVec in the host model field for backwards compatibility.
        
    client/
        hostinfo_unix.cpp

svn path=/trunk/boinc/; revision=22740
2010-11-23 17:43:31 +00:00
Charlie Fenton ba7b2d6898 Remove BOINC_RCSID tags from more source files
svn path=/trunk/boinc/; revision=22739
2010-11-23 11:25:36 +00:00
Charlie Fenton cfb41dd584 MGR Statistics tab: always show last 30 days in all projects (sum) graph
svn path=/trunk/boinc/; revision=22737
2010-11-23 11:07:30 +00:00
Charlie Fenton 3e160fe19a Fix typo in checkin_notes
svn path=/trunk/boinc/; revision=22736
2010-11-23 09:30:42 +00:00
Charlie Fenton d43ffaa745 Mac Installer: Better handling of custom installer icon
svn path=/trunk/boinc/; revision=22734
2010-11-23 09:27:14 +00:00
David Anderson cc7b53b3e3 - client: fix bug where client would ask project for work for a resource
even when the project doesn't have app versions that use the resource.
	TODO: there are 2 functions,
	compute_may_have_work() and dont_fetch(),
	that do the same thing and both have misleading names.
	Clean this up.
	Rom: please back-port to 6.10

svn path=/trunk/boinc/; revision=22733
2010-11-22 21:13:13 +00:00
Rom Walton 1002903ae2 - MGR: Switch to the tasks tab when a request to execute benchmarks has
been requested.  The messages tab no longer exists.
        
    clientgui/
        AdvancedFrame.cpp

svn path=/trunk/boinc/; revision=22732
2010-11-22 20:35:47 +00:00
Charlie Fenton c723b769de Mac Installer: command-line installs test for existence of files /tmp/nonadminusersok.txt and /tmp/setboincsaver.txt
svn path=/trunk/boinc/; revision=22730
2010-11-22 13:36:38 +00:00
Rom Walton c9982f9d23 Update Translations
svn path=/trunk/boinc/; revision=22728
2010-11-19 20:23:02 +00:00
Rom Walton 3e7bf48c52 Update Translations
svn path=/trunk/boinc/; revision=22726
2010-11-19 19:55:18 +00:00
Rom Walton 4f84a8e3ce Quick Updates
svn path=/trunk/boinc/; revision=22724
2010-11-19 19:52:56 +00:00
David Anderson fd8de35b23 - start script: don't write error message if period task is already
running, and output is not a TTY (i.e., cron).
    Otherwise admin gets a lot of spurious emails.

svn path=/trunk/boinc/; revision=22723
2010-11-19 18:42:44 +00:00
David Anderson b179bf37d0 - client: improve the way credit history is maintained
Old: maintain list of daily records.
        When add a new record, delete records older than a month
    Problem:
        If there's a gap in the record (e.g. because project was down)
        deleting old records may result in a list that
        has an entry only for today.
        Data for the last month is lost.
    New:
        When appropriate, adjust the date of old records
        rather than deleting them


svn path=/trunk/boinc/; revision=22722
2010-11-19 17:12:10 +00:00
Charlie Fenton e427578f05 Mac Installer: permit remote install via SSH using command-line installer
svn path=/trunk/boinc/; revision=22719
2010-11-19 12:14:21 +00:00
Charlie Fenton 0e307a32de Mac Installer: eliminate wrapper application around install package
svn path=/trunk/boinc/; revision=22717
2010-11-19 11:23:28 +00:00
Rom Walton 3676b36f20 Quick Updates
svn path=/trunk/boinc/; revision=22716
2010-11-18 21:18:15 +00:00
Rom Walton 82431c1d4e Quick Updates
svn path=/trunk/boinc/; revision=22715
2010-11-18 21:15:49 +00:00
Rom Walton d4d0f7b43b - client: Add VirtualBox detection for linux
client/
        hostinfo_unix.cpp
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=22714
2010-11-18 21:11:25 +00:00
David Anderson 2e6e93214e - client: restore code to maintain recent estimated credit
- admin web: clean up manage_user.php

svn path=/trunk/boinc/; revision=22713
2010-11-18 20:29:30 +00:00
David Anderson 0cbdb4978e - client: in account manager requests,
include the following per-project attributes:
    suspended_via_gui, dont_request_more_work, deatch_when_done, ended

svn path=/trunk/boinc/; revision=22712
2010-11-18 18:09:50 +00:00