Commit Graph

83 Commits

Author SHA1 Message Date
David Anderson 9d2d540267 - client: intermediate checkin for replicated trickle-ups.
Not finished yet.
- example app: add --trickle_up and --trickle_down options,
    for testing trickle messages


svn path=/trunk/boinc/; revision=24245
2011-09-20 18:49:38 +00:00
David Anderson 3b906a191c - client: generalize the GPU framework so that
- new GPU types can be added easily
		- users can specify GPUs in cc_config.xml,
			referred to by app_info.xml,
			and they will be scheduled by BOINC
			and passed --device N options
			Note: the parsing of cc_config.xml is not done yet.
		- RPC protocols (account manager and scheduler)
			can now specify GPU types in separate elements
			rather than embedding them in tag names
			e.g. <no_rsc>NVIDIA</no_rsc> rather than <no_cuda/>
	- client: in account manager replies, parse elements of the form
		<no_rsc>NAME</no_rsc>
		indicating the GPUs of type NAME should not be used.
		This allows account managers to control GPU types
		not hardwired into the client.
		Note: <no_cuda/> and <no_ati/> will continue to be supported.
	- scheduler RPC reply: add
		<no_rsc_apps>NAME</no_rsc_apps>
		(NAME = GPU name)
		to indicate that the project has no jobs for the indicated GPU type.
		<no_cuda_apps> etc. are still supported 
	- client/lib: remove set_debts() GUI RPC
	- client/scheduler RPC
		remove <cuda_backoff> etc. (superceded by no_app)
		Exception: <ip_result> elements in sched request
		still have <ncudas> and <natis>.
		Fix this later.

	Implementation notes:
	- client/lib: change "CUDA" to "NVIDIA" in type/variable names, and in XML
		Continue to recognize "CUDA" for compatibility
	- host_info.coprocs no longer used within the client;
		use a global var (COPROCS coprocs) instead.
		COPROCS now has an array of COPROCs;
		GPUs types are identified by the array index.
		Index zero means CPU.
	- a bunch of other resource-specific structs (like RSC_WORK_FETCH)
		are now stored in arrays, with same indices as COPROCS
		(i.e. index 0 is CPU)
	- COPROCS still has COPROC_NVIDIA and COPROC_ATI structs to hold vendor-specific info
	- APP_VERSION now has a struct GPU_USAGE to describe its GPU usage

svn path=/trunk/boinc/; revision=23253
2011-03-25 03:44:09 +00:00
David Anderson 4f7ceb2334 - client: remove auto update stuff from makefiles.
This feature is mothballed.


svn path=/trunk/boinc/; revision=23103
2011-02-24 22:18:14 +00:00
David Anderson e6431bfbde - client: msg tweak
- client: ignore exclusive apps including "boinc"
- client simulator: fixes

svn path=/trunk/boinc/; revision=22566
2010-10-20 23:45:49 +00:00
David Anderson 9187cb52ba - client and scheduler RPC:
Add more info to "project in-progress job list".
    Old: entries included only job name and app plan class;
        this was used to resend lost jobs,
        and to count the # of CPU and GPU jobs.
        But it's not usable e.g. for per-app in-progress limits.
    New: send the client's app versions (including usage info)
        and for each in-progress job, which app version it uses.
        (This reduces request-message size compared with sending
        usage info and app name per job).
- client and scheduler RPC:
    Add more info to "all in-progress job list", and make it optional.
    This list is used by schedulers that do deadline checks
    using EDF workload simulation.
    Old: the list is always sent, and it contains no info
        about job resource usage
    New: the list is sent only if the scheduler asked for it
        in a previous reply,
        and each entry now contains resource usage (CPU, GPUs)
    Note: the scheduler's EDF simulator is outdated;
        it doesn't know about GPU jobs.
        But we may as well get the info in place.


svn path=/trunk/boinc/; revision=21513
2010-05-13 20:18:27 +00:00
David Anderson b0cb81159f - client: when looking for new file xfers to start,
favor those that are partially done
- client: fix crashing bug if a project is detached
    while an RSS feed fetch for it is in progress
- code cleanup: switch from /// back to // for comments
    (so much for doxygen)

svn path=/trunk/boinc/; revision=21041
2010-04-01 05:54:29 +00:00
David Anderson b499654603 - client: more notice stuff. Substantial progress!
We're now saving feed lists, and fetching items from feeds.

svn path=/trunk/boinc/; revision=20021
2009-12-23 00:58:27 +00:00
David Anderson 4e9fc3d595 - client: a big glob of new code related to notices.
Not functional yet.


svn path=/trunk/boinc/; revision=20002
2009-12-21 17:49:28 +00:00
David Anderson 41e3b06b23 - client and scheduler RPC: add optional <cpu_backoff>, <cuda_backoff>,
and <ati_backoff> elements to scheduler reply.
    These specify backoffs for the resource types,
    overriding the existing backoff mechanism.
    Projects can supply these if they don't have apps of a particular type
    and don't want to get periodic requests for them.

svn path=/trunk/boinc/; revision=19059
2009-09-16 17:34:19 +00:00
David Anderson 2afd98ae70 - client: fix bug where master fetch failure doesn't clear request flag,
leading to infinite retry without backoff

svn path=/trunk/boinc/; revision=17269
2009-02-14 00:05:02 +00:00
David Anderson 1fc3722e71 - client: add SCHEDULER_OP::rpc_failed();
this gets called when the op fails, either at initialization or later on;
        it clears the project's sched_rpc_pending flag if needed.
        This fixes a bug that caused user-requested RPCs to retry every 10 seconds
        when the network is down.
    - client: if debt-adjust period is too long, reset accounting.
        Otherwise we'll get this infinitely.
    - API: all optional alpha argument to TEXTURE_DESC::draw()

svn path=/trunk/boinc/; revision=17195
2009-02-10 19:30:59 +00:00
David Anderson 8c591e31df - client: first whack at new work-fetch logic. Very preliminary.
svn path=/trunk/boinc/; revision=16754
2008-12-31 23:07:59 +00:00
David Anderson f17c0879de - changed some comments for Doxygen
svn path=/trunk/boinc/; revision=16130
2008-10-04 23:44:24 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson bc98f0e90c *** empty log message ***
svn path=/trunk/boinc/; revision=12367
2007-04-13 22:55:18 +00:00
David Anderson bcb25e86a1 *** empty log message ***
svn path=/trunk/boinc/; revision=12264
2007-03-22 02:38:45 +00:00
David Anderson 41eb40b051 *** empty log message ***
svn path=/trunk/boinc/; revision=11643
2006-12-11 23:42:54 +00:00
David Anderson b86bd36cf6 *** empty log message ***
svn path=/trunk/boinc/; revision=11082
2006-09-01 22:21:20 +00:00
David Anderson d079ddd589 startup sequence
svn path=/trunk/boinc/; revision=11000
2006-08-24 20:33:46 +00:00
David Anderson 4ae2a654eb *** empty log message ***
svn path=/trunk/boinc/; revision=10793
2006-07-29 18:34:56 +00:00
David Anderson 0101a1ae63 *** empty log message ***
svn path=/trunk/boinc/; revision=10505
2006-06-23 20:05:12 +00:00
David Anderson e811df5409 server can request result abort
svn path=/trunk/boinc/; revision=10202
2006-05-25 20:10:08 +00:00
David Anderson bd245ca055 next RPC delay
svn path=/trunk/boinc/; revision=10186
2006-05-23 06:46:19 +00:00
David Anderson 94fa21bc3b print error message if we have wrong master URL for a project
svn path=/trunk/boinc/; revision=9616
2006-03-07 21:58:14 +00:00
David Anderson b26b55e3a4 GUI RPCs tell if project has scheduler op in progress
svn path=/trunk/boinc/; revision=9240
2006-01-16 05:24:39 +00:00
David Anderson 8f43ca7d37 error messages
svn path=/trunk/boinc/; revision=9040
2005-12-06 07:23:12 +00:00
David Anderson 850587d93d code cleanup
svn path=/trunk/boinc/; revision=9039
2005-12-06 03:18:02 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
David Anderson 262dc55a25 no trickles while net comm suspended
svn path=/trunk/boinc/; revision=7329
2005-08-15 05:08:42 +00:00
David Anderson 483912960e Curl
svn path=/trunk/boinc/; revision=7219
2005-08-09 22:01:28 +00:00
David Anderson 975e70f250 split GUI RPC code
svn path=/trunk/boinc/; revision=6881
2005-07-31 23:33:12 +00:00
David Anderson 06da0a6709 *** empty log message ***
svn path=/trunk/boinc/; revision=6519
2005-07-05 08:58:49 +00:00
David Anderson c0588cba00 *** empty log message ***
svn path=/trunk/boinc/; revision=6298
2005-06-07 21:21:35 +00:00
David Anderson 8268ddcf56 *** empty log message ***
svn path=/trunk/boinc/; revision=6278
2005-06-01 21:51:32 +00:00
David Anderson f9d5a66956 *** empty log message ***
svn path=/trunk/boinc/; revision=6274
2005-06-01 05:49:51 +00:00
David Anderson 5e8150b9ae *** empty log message ***
svn path=/trunk/boinc/; revision=6273
2005-05-31 23:43:34 +00:00
David Anderson db77523307 *** empty log message ***
svn path=/trunk/boinc/; revision=6168
2005-05-16 06:49:07 +00:00
David Anderson 9cd02523b2 *** empty log message ***
svn path=/trunk/boinc/; revision=6081
2005-05-09 04:49:56 +00:00
David Anderson 534ead4118 *** empty log message ***
svn path=/trunk/boinc/; revision=5846
2005-04-13 18:38:55 +00:00
David Anderson 34c158e142 *** empty log message ***
svn path=/trunk/boinc/; revision=5618
2005-03-10 00:43:22 +00:00
David Anderson 41d4f31cca *** empty log message ***
svn path=/trunk/boinc/; revision=5616
2005-03-09 23:28:37 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 896d0b8a46 *** empty log message ***
svn path=/trunk/boinc/; revision=5257
2005-01-31 22:19:03 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson c02e5dfa4a *** empty log message ***
svn path=/trunk/boinc/; revision=4423
2004-10-25 20:16:30 +00:00
David Anderson ccfcecdb3c *** empty log message ***
svn path=/trunk/boinc/; revision=4234
2004-09-23 22:27:41 +00:00
David Anderson 7f4911ce02 *** empty log message ***
svn path=/trunk/boinc/; revision=4223
2004-09-22 22:09:54 +00:00
Brian Boshes 8a63722901 *** empty log message ***
svn path=/trunk/boinc/; revision=3996
2004-08-05 21:50:35 +00:00
Brian Boshes aa5640f9d7 Fixed tab settings and reformatted, no other changes
svn path=/trunk/boinc/; revision=3792
2004-07-06 18:31:56 +00:00