Commit Graph

6952 Commits

Author SHA1 Message Date
David Anderson c66cba7f8f - web: in filtered job lists,
"pending" should include "inconclusive",
    and "invalid" should include "too late to validate"

svn path=/trunk/boinc/; revision=17726
2009-04-02 17:41:14 +00:00
Charlie Fenton 3840b814b7 SS: Under Mac Sandbox security, terminate default screensaver graphics app via gfx_switcher
svn path=/trunk/boinc/; revision=17722
2009-04-02 10:25:16 +00:00
Charlie Fenton e1a9129b48 SS: Under Mac Sandbox security, gfx_switcher launches default ss app as user and group boinc_master; don't setgid boincscr
svn path=/trunk/boinc/; revision=17720
2009-04-02 01:48:44 +00:00
David Anderson b3f07e1a0c - client: show project name in "backoff ended" msg
svn path=/trunk/boinc/; revision=17719
2009-04-01 23:22:17 +00:00
Charlie Fenton c49391fa52 Fix date in checkin_notes entry
svn path=/trunk/boinc/; revision=17717
2009-04-01 11:21:37 +00:00
Charlie Fenton 00bc9294a2 Mac: MGR: add standard Preferences item under BOINC menu; add -lresolv to XCode linker flags for screensaver
svn path=/trunk/boinc/; revision=17716
2009-04-01 11:14:16 +00:00
Charlie Fenton 9c083541ef Mac: Add -lresolv to XCode linker flags for client and manager
svn path=/trunk/boinc/; revision=17715
2009-03-31 22:47:33 +00:00
David Anderson bc889ca27a - client: (unix): if host name lookup fails, call res_init().
This is an attempt to fix a problem on Linux where,
    if the client starts before a VPN is set up, it can never communicate

svn path=/trunk/boinc/; revision=17711
2009-03-31 16:45:17 +00:00
David Anderson 84ee96e04e - GUI RPC: client side: if parse a RESULT and CPU is nonzero
but elapsed time is zero, we must be talking to an old client;
    set elapsed = CPU

svn path=/trunk/boinc/; revision=17704
2009-03-30 18:45:32 +00:00
David Anderson f90871a141 - boinc_submit (single-job submission):
set the job params to reasonable values (see below),
    and make it easy to change these values in the script
- create_work (function and script): change default job params:
    FLOPs est: 1e9 => 3600e9
    FLOPs bound: 1e10 => 86400e9
    mem bound 100MB => 500MB,
    disk bound 100MB => 1GB
    delay bound: 100000s => 1 week

svn path=/trunk/boinc/; revision=17703
2009-03-30 18:38:11 +00:00
David Anderson 62ac6358e6 - client: typo in work fetch code; may cause minor errors
svn path=/trunk/boinc/; revision=17691
2009-03-28 04:20:44 +00:00
David Anderson 3638e37452 - manager: fix message
svn path=/trunk/boinc/; revision=17690
2009-03-28 04:08:38 +00:00
David Anderson 68e2530b3a - API: add function boinc_msg_prefix() that returns
time of day and process ID.
    This should prefix all messages written to stderr
    by applications or by the runtime system.

svn path=/trunk/boinc/; revision=17687
2009-03-27 23:42:47 +00:00
David Anderson 7d97951961 - manager: display versions as x.xx
svn path=/trunk/boinc/; revision=17681
2009-03-27 20:47:55 +00:00
Charlie Fenton a20e70fc62 Better support if platforms don't have per-thread locale; ensure Mac BOINC libraries build OK using config/make; fix Mac build breaks for example_app.
svn path=/trunk/boinc/; revision=17677
2009-03-27 05:25:58 +00:00
David Anderson 2df9cd38d3 - client: when a job finishes,
clear the project's backoff for its resource type.
    This fixes a problem where a project has a "max jobs in progress"
    limit, and we're backed off because of that.
    We'll now fetch work immediately instead of waiting 24 hrs.

svn path=/trunk/boinc/; revision=17665
2009-03-26 17:39:25 +00:00
David Anderson 3e04801942 - client: clear resource backoffs on user-requested RPC
- client: randomize resource backoffs to avoid lockstep

svn path=/trunk/boinc/; revision=17664
2009-03-26 16:56:20 +00:00
Charlie Fenton 78ecec4b16 MGR: SET_LOCALE constructor, destructor change locale only if no per-thread locale, XCode project supports weak-linking of uselocale()
svn path=/trunk/boinc/; revision=17662
2009-03-26 16:05:57 +00:00
Charlie Fenton a402e3f19a MGR: Remove erroneous call of locale in main thread; set locale only on a per-thread basis
svn path=/trunk/boinc/; revision=17661
2009-03-26 01:22:35 +00:00
David Anderson 5d6fc98de3 - client: give highest work-fetch priority to resources with idle instances
svn path=/trunk/boinc/; revision=17660
2009-03-25 16:59:59 +00:00
David Anderson 47056a11f0 - improve msgs in file upload handler
svn path=/trunk/boinc/; revision=17659
2009-03-25 16:52:26 +00:00
David Anderson a720fc5d52 - web: translation system didn't compile BOINC and
project-specific translations correctly.

svn path=/trunk/boinc/; revision=17658
2009-03-24 23:27:12 +00:00
David Anderson 4dfc96033c - web: clean out translation directories before updating
(to get rid of bad translation files)


svn path=/trunk/boinc/; revision=17656
2009-03-24 23:08:09 +00:00
David Anderson fc770dfefe - web: remove spurious translation files
svn path=/trunk/boinc/; revision=17655
2009-03-24 22:51:12 +00:00
David Anderson 82112821f3 - web: updated the master translation file
svn path=/trunk/boinc/; revision=17654
2009-03-24 21:54:12 +00:00
David Anderson 1439a91e1c svn path=/trunk/boinc/; revision=17653 2009-03-24 21:33:03 +00:00
David Anderson 0f6de2ea58 - upgrade and make_project scripts: run update_translations.php,
which compiles the translation files into the form
    used by the web code.
    Projects that don't use "upgrade" will need to do this manually
    whenever translation files change.

svn path=/trunk/boinc/; revision=17652
2009-03-24 21:24:57 +00:00
David Anderson a171360594 - remove wait arg of resume_client()
svn path=/trunk/boinc/; revision=17651
2009-03-24 17:44:16 +00:00
David Anderson c1dce6425e - small code shuffle
- fix manager build on unix

svn path=/trunk/boinc/; revision=17650
2009-03-24 17:18:09 +00:00
Rom Walton 4b40bac424 - client: handle power events on Windows via a seperate thread and
hidden window.  The basic code was already in place to handle
        logoff events on Win9x but now it is enabled for all Windows
        versions.
        
    client/
        app_control.cpp
        main.cpp, .h

svn path=/trunk/boinc/; revision=17649
2009-03-24 16:57:28 +00:00
David Anderson 5e8237aa56 - client (linux): if don't find libcudart.so in the current dir,
look for it in the library search path.  Fixes #863

svn path=/trunk/boinc/; revision=17648
2009-03-23 19:25:38 +00:00
David Anderson ae90eb4865 - API: more lockfile messages
svn path=/trunk/boinc/; revision=17647
2009-03-23 17:26:20 +00:00
David Anderson 1acbff19fd - new screensaver: don't show jobs if suspended
svn path=/trunk/boinc/; revision=17646
2009-03-23 17:14:43 +00:00
David Anderson 6c4cc20aa1 - API: don't try to unlock lockfile if we failed to lock it
- API: more detailed message if failed to lock

svn path=/trunk/boinc/; revision=17645
2009-03-23 17:00:34 +00:00
David Anderson 5a5b386313 - client: garbage collect after scheduler RPC;
if project sent some irrelevant FILE_INFOs,
		this will avoid starting transfers for them.

svn path=/trunk/boinc/; revision=17644
2009-03-23 01:33:17 +00:00
David Anderson b340d016c2 - web: fix X-project links in Computer page
svn path=/trunk/boinc/; revision=17643
2009-03-21 03:27:18 +00:00
David Anderson eb35639c97 - API: add some #ifdef'd debug messages
svn path=/trunk/boinc/; revision=17642
2009-03-20 23:02:31 +00:00
David Anderson 2a4daee8cf - API (win): TerminateProcess() apparently can return in some cases,
causing process to go into infinite "no heartbeat" loop.
    Try sleeping for 1 sec, then calling DebugBreak()


svn path=/trunk/boinc/; revision=17640
2009-03-20 21:05:26 +00:00
David Anderson d152b52817 - client: add --no_priority_change cmdline arg
(and <no_priority_change> flag in cc_config.xml).
    If set, run apps at same priority as client.

svn path=/trunk/boinc/; revision=17639
2009-03-20 18:56:54 +00:00
David Anderson 30baaf0783 - client: reduce frequency of writing state file:
1) multiply checkpoint period by # of cores (or GPUs)
    2) don't write statefile after schedule_cpus()
        (we write it after enforce_schedule() if anything
        started or stopped, and that's all that matters)
- client: add new log flag <statefile_debug>;
    tells you when and why statefile is written

svn path=/trunk/boinc/; revision=17638
2009-03-20 17:58:51 +00:00
Rom Walton 696dfba813 - client: initial support for detecting the CPU L2 cache
size on Windows.
        
    client/
        client_state.cpp
        cs_benchmark.cpp
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=17637
2009-03-20 01:46:29 +00:00
David Anderson 7e256c0995 - client: work fetch: in RR sim, keep track of the number
of device instances used by jobs that miss deadline.
    Don't do "variety" work fetch if this is >= # of instances

svn path=/trunk/boinc/; revision=17631
2009-03-19 16:55:04 +00:00
David Anderson 84afd18450 - scheduler: move app-version selection and score-based scheduling
to new files.

svn path=/trunk/boinc/; revision=17630
2009-03-19 16:35:35 +00:00
David Anderson 9c7d088709 - web: job lists can be filtered by status
svn path=/trunk/boinc/; revision=17629
2009-03-18 22:53:55 +00:00
David Anderson 04cdfe9cab - scheduler and web: add a project preference for whether to use the CPU.
This complements the "use GPU?" pref.
    Neither should be necessary, but what the heck.

svn path=/trunk/boinc/; revision=17628
2009-03-18 21:14:44 +00:00
David Anderson edca22818e - client: in RR simulation, use app_version.flops
instead of host_info.fpops as the FLOPS estimate for non-GPU apps.
    I don't see why this would make any difference
    (these two are equal for non-GPU apps)
    but people have reported that this change improves estimates.

svn path=/trunk/boinc/; revision=17624
2009-03-18 17:24:56 +00:00
David Anderson 88a4482894 - client: consider fetching work from overworked projects
if resource is saturated for < work_buf_min()
    (rather than saturated for 0).
    So now the only significance of "overworked" is that we
    won't ask overworked projects for work if resource is saturated
    more than work_buf_min() but less than work_buf_total()

svn path=/trunk/boinc/; revision=17620
2009-03-18 15:53:02 +00:00
Charlie Fenton ad7e06f7f6 Correction to checkin notes
svn path=/trunk/boinc/; revision=17619
2009-03-18 00:24:34 +00:00
Charlie Fenton 1e03e67ab2 MGR: RPCThread::KillRPCThread() defers to RPC thread before testing if thread has exited on its own
svn path=/trunk/boinc/; revision=17618
2009-03-18 00:22:34 +00:00
Eric J. Korpela 9d2e79d468 In linux client, Added code to detect capability to run 64-bit binaries
from 32-bit BOINC client, and capability to run 32-bit binaries on a 64-bit 
linux system.


svn path=/trunk/boinc/; revision=17617
2009-03-17 18:41:35 +00:00