Commit Graph

19193 Commits

Author SHA1 Message Date
Rom Walton 1cb76d2d5a - client: Initialize buffer which is used to hold the temporary exit reason.
If somebody didn't populate the reason when calling boinc_temporary_exit
        the buffer contained junk.

    client/
        app_control.cpp

svn path=/trunk/boinc/; revision=25466
2012-03-21 01:26:05 +00:00
David Anderson ad232b2869 - client: report completed results if a time-of-day network suspend is
scheduled within the next 30 minutes


svn path=/trunk/boinc/; revision=25465
2012-03-20 19:37:04 +00:00
Rom Walton 7bbdb288ed Quick Updates
svn path=/trunk/boinc/; revision=25464
2012-03-20 18:25:43 +00:00
Rom Walton 5972bf2c8f - VBOX: On successful completion, create the same output file that
the CernVMWrapper would.  This allows both wrapppers to work with
        the same BOINC job generation system.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=25463
2012-03-20 18:19:56 +00:00
Rom Walton 64bdde4745 - VBOX: Make it explicily clear what the result of a start/stop
request was.  Hopefully this will give us insight into whether
        the core client is terminating the wrapper or something else is
        going on.
    - VBOX: Shorten the command execution timeout to 45 seconds.
    - VBOX: Don't attempt to re-execute the close/savestate commands.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=25462
2012-03-20 17:55:56 +00:00
David Anderson 2a0f17c990 - scheduler: if we can't resend a job (e.g. it's for an app
for which the anonymous-platform client doesn't have a version)
    mark it as sent so the transitioner can do its thing


svn path=/trunk/boinc/; revision=25461
2012-03-20 04:36:14 +00:00
Charlie Fenton 2f795e611d Release Mac BOINC 7.0.22 to alpha test
svn path=/trunk/boinc/; revision=25460
2012-03-19 23:44:51 +00:00
David Anderson b312669349 - client: if an app process exits because of a signal,
don't show the "no finish file" message;
    not sure why this was there in the first place.
- client: if an app process exits because of a signal,
    show the signal correctly


svn path=/trunk/boinc/; revision=25459
2012-03-19 23:37:08 +00:00
David Anderson d677f2c1cd - scheduler: fix a bug in assigning deadlines to resent jobs.
From Kevin.
    NOTE: Kevin also reported a bug that resulted in
    way too large (e.g. year) deadlines.


svn path=/trunk/boinc/; revision=25458
2012-03-19 22:46:00 +00:00
David Anderson 9a77dcc71f - wrapper: fix bug that reported wildly wrong CPU time
svn path=/trunk/boinc/; revision=25457
2012-03-19 20:42:03 +00:00
David Anderson 64210d0420 - fix last checkin
svn path=/trunk/boinc/; revision=25456
2012-03-19 20:26:48 +00:00
David Anderson 3782dca107 - client: Don't include VBox executive processes as non-BOINC CPU time.
On some systems they use significant CPU time while VMs are running.
    TODO: do this only if we're actually running a VBox app


svn path=/trunk/boinc/; revision=25455
2012-03-19 20:13:28 +00:00
David Anderson dfd34e631f - client: job scheduling policy tweak:
if CPUs are fully committed (e.g. with EDF jobs)
    allow GPU jobs but only up to CPU usage of ncpus+1


svn path=/trunk/boinc/; revision=25454
2012-03-19 17:39:26 +00:00
Rom Walton b225c3b074 Quick Updates
svn path=/trunk/boinc/; revision=25453
2012-03-19 17:24:21 +00:00
Rom Walton 884a397457 Quick Updates
svn path=/trunk/boinc/; revision=25446
2012-03-18 23:28:12 +00:00
Charlie Fenton 5a5a9f5975 Add missing checkin logs for tagging 7.0.20 and 7.0.21
svn path=/trunk/boinc/; revision=25444
2012-03-18 12:39:07 +00:00
Charlie Fenton 49fda2e686 MGR: Fix a Mac-only bug which sometimes failed to show the snooze icon
svn path=/trunk/boinc/; revision=25443
2012-03-18 12:35:09 +00:00
David Anderson 22f6512135 - client: changes to job scheduling policy:
- fix bug that could greatly overcommit CPUs
        if there are several EDF jobs and several non-EDF GPU jobs.
    - don't overcommit CPUs if any job is MT (MT means avg_ncpus > 1).
        For example, on a 4-CPU machine we will run:
            a 0.5-CPU GPU job and 4 1-CPU jobs
            but not
            a 0.5-CPU GPU job and 1 4-CPU job

svn path=/trunk/boinc/; revision=25442
2012-03-18 05:50:47 +00:00
David Anderson 673788e273 - client: use %g to format job resources (#CPUs, #GPUs).
This suppresses trailing zeroes and (if integer) the .


svn path=/trunk/boinc/; revision=25441
2012-03-17 17:50:11 +00:00
David Anderson 37535d48e9 - client: small changes to make client compile on Android,
and to report the platform as "arm-android".
    From Carl Christensen.
- Add a script for building BOINC and library dependencies on Android
    From Peter Hanappe.


svn path=/trunk/boinc/; revision=25440
2012-03-16 21:48:35 +00:00
Rom Walton 93a015300b - Moving trunk back into a development branch, further stabilization of the 7.0.x
client is now in the boinc_core_release_7_0a branch.

    /
        configure.ac
        version.h
        version.h.in

svn path=/trunk/boinc/; revision=25436
2012-03-16 17:29:30 +00:00
Rom Walton 906798fb52 Update Translations
svn path=/trunk/boinc/; revision=25434
2012-03-16 17:15:05 +00:00
Rom Walton 25142dda02 - VBOX: Give the VM process a short priority boost when responding
to a quit request.  On older XP machines it might speed up the memory
        dump to disk.
    - client: Increase the quit request timeout from 10 seconds to 60 seconds for
        machines running VMs and slow disk drives.  It should give the VM enough
        time to gracefully shutdown and not give boinc reason to kill the wrapper.

    client/
        app.h
    samples/vboxwrapper/
        vbox.cpp, .h
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25433
2012-03-16 01:04:43 +00:00
David Anderson 73474ac408 - scheduler: when HR is being used,
make per-HR slot allocation an option rather than the default.
    Kevin reported that slot allocation wasn't working for WCG.
    The default is now no slot allocation,
    and use the regular result enumeration function
    rather than the once that scans the entire table.
    The config flag for enabling slot allocation is <hr_allocate_slots/>.


svn path=/trunk/boinc/; revision=25432
2012-03-15 19:50:10 +00:00
David Anderson d0847d098b - client: when killing a task, don't delete its shmem or change its state.
These mess up the logic for dealing with exited processes.


svn path=/trunk/boinc/; revision=25431
2012-03-15 07:32:32 +00:00
David Anderson 3a69f2d102 - client: on each scheduler RPC,
make sure that files flagged as executable in the reply,
    and that are present, are actually executable.


svn path=/trunk/boinc/; revision=25430
2012-03-15 05:59:01 +00:00
David Anderson c12bd58870 - scheduler: fix FCGI compile
svn path=/trunk/boinc/; revision=25429
2012-03-14 23:31:15 +00:00
Charlie Fenton 79e3e16786 client: On Mac only, update ATI available RAM after getting ATI total RAM size from OpenGL
svn path=/trunk/boinc/; revision=25428
2012-03-14 22:51:02 +00:00
David Anderson 4ce9d9e212 - scheduler: code cleanup for the above
svn path=/trunk/boinc/; revision=25427
2012-03-14 22:42:38 +00:00
David Anderson a16032dee5 - scheduler: add an alternative way of defining app plan functions
that uses an XML configuration file;
    see http://boinc.berkeley.edu/trac/wiki/AppPlanConfig
    From Bernd.


svn path=/trunk/boinc/; revision=25426
2012-03-14 19:53:16 +00:00
Rom Walton c35bf413d5 Quick Updates
svn path=/trunk/boinc/; revision=25425
2012-03-14 18:55:02 +00:00
Rom Walton a52651bf56 - VBOX: Use the boinc_temporary_exit API properly. Wait for 5 minutes
before allowing another attempt to start the VM when the hypervisor
       cannot allocate enough memory.
    - VBOX: Print out a trace statement about the suspend/resume directive
       from the vboxwrapper perspective.  This in conjuction with the
       BOINC API trace statements should provide a better idea with
       what is going on.
       
    samples/vboxwrapper
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25424
2012-03-14 18:54:03 +00:00
Charlie Fenton e76d18c6fc client: When comparing ATI model names from OpenCL and IOKit on a Mac, substitute "AMD" for "ATI"
svn path=/trunk/boinc/; revision=25423
2012-03-14 09:22:53 +00:00
Charlie Fenton 2919c802cd client: When comparing ATI model names from OpenCL and IOKit on a Mac, substitute "AMD" for "ATI"
svn path=/trunk/boinc/; revision=25422
2012-03-14 09:05:10 +00:00
Charlie Fenton 6286e4d9db MGR: fix French translations of Remaining (estimated)
svn path=/trunk/boinc/; revision=25421
2012-03-14 07:43:54 +00:00
David Anderson b155c668fc - transitioner: don't clear a WU's HR and HAV class if there are
timed-out instances; they could still be returned.


svn path=/trunk/boinc/; revision=25420
2012-03-14 07:08:05 +00:00
David Anderson 5c8cdc3957 - scheduler: do homogeneous app version check before rereading WU
as well as after.


svn path=/trunk/boinc/; revision=25419
2012-03-14 06:56:48 +00:00
David Anderson c229667415 Update Translations
svn path=/trunk/boinc/; revision=25418
2012-03-14 01:21:36 +00:00
Rom Walton faee9a567f Update Translations
svn path=/trunk/boinc/; revision=25417
2012-03-14 01:20:15 +00:00
Charlie Fenton e46189a816 VBOX: Fix typo in Mac wrapper name (1686 -> i686)
svn path=/trunk/boinc/; revision=25412
2012-03-13 02:07:32 +00:00
Charlie Fenton 07d30294e0 client: call some Mac coproc_detect debugging code only if coproc_debug flag is set
svn path=/trunk/boinc/; revision=25411
2012-03-13 01:11:23 +00:00
Charlie Fenton 500334af77 client: call some Mac coproc_detect debugging code only if coproc_debug flag is set
svn path=/trunk/boinc/; revision=25410
2012-03-13 01:02:46 +00:00
Charlie Fenton e04221efac client: fix compile errors
svn path=/trunk/boinc/; revision=25409
2012-03-13 00:46:49 +00:00
David Anderson 82d64e9403 - msg tweak and fix compile warnings
svn path=/trunk/boinc/; revision=25408
2012-03-12 23:34:41 +00:00
David Anderson 061f4c3647 - client: message tweak
svn path=/trunk/boinc/; revision=25407
2012-03-12 23:11:42 +00:00
David Anderson 71066313a8 Update Translations
svn path=/trunk/boinc/; revision=25406
2012-03-12 22:50:41 +00:00
David Anderson c703b68090 - server: allow <db_host> to include a :port
svn path=/trunk/boinc/; revision=25405
2012-03-12 21:45:29 +00:00
Rom Walton f52ce7153e - VBOX: If a VM fails to start because the machine is low on memory,
temporarily exit so BOINC can reschedule it for a later time.
        If the problem doesn't go away it'll just time out eventually anyway.
        
    samples/vboxsamples/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25404
2012-03-12 17:16:51 +00:00
Rom Walton 85fce1d29a - VBOX: Only attempt to reset throttle values if the VM is in
a running state, otherwise controlvm throws an error.
        
    samples/vboxsamples/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25403
2012-03-12 15:45:09 +00:00
Bernd Machenschalk 731c551284 scheduler: remove lock file when scheduler caught SIGTERM
svn path=/trunk/boinc/; revision=25402
2012-03-12 09:10:42 +00:00