Commit Graph

105 Commits

Author SHA1 Message Date
David Anderson a09e19b8dc - scheduler: add a general method for excluding hosts from job distribution.
config.xml has optional <ban_os> and <ban_cpu> elements,
    which contain regular expressions matched against
    os_name\tos_version and p_vendor\tp_model.
    If a host matches either one, it's not sent jobs.
- scheduler: fix bug in job assignment
- scheduler: initial (incompleted, commented-out) code for
    matchmaker scheduling
- server programs: declare "SCHED_CONFIG config" in sched_config.C;
    remove declarations of it from all other .C files
    (because I added a vector to it, I can no longer use memset
    to initialize it to zero; instead, it must be a global variable,
    not an automatic)

svn path=/trunk/boinc/; revision=14783
2008-02-25 18:05:04 +00:00
David Anderson 42d2abfa34 - scheduler: code cleanup, remove "SCHED_MSG_LOG::" from a zillion places
svn path=/trunk/boinc/; revision=14774
2008-02-21 21:00:58 +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 505d04969a - file upload handler: fix major bug (introducted 12 Sept)
that caused it to report "volume full" erroneously
- added --help option to some backend programs;
    gives general info and directs to web page
    file_upload_handler.C

svn path=/trunk/boinc/; revision=13685
2007-09-27 15:08:40 +00:00
David Anderson 227f9e6dd4 - use safe_strcpy() instead of strcpy() in a few places
in the client and db_dump
- scheduler: change REQ_FILE_PREFIX to use ../ instead of /tmp/
                 

svn path=/trunk/boinc/; revision=13646
2007-09-24 22:57:00 +00:00
David Anderson 7ea662932c - add new stats site
- back end: use boinc_mkdir to get permissions right

html/inc/
    stats_sites.inc
lib/
    filesys.C
sched/
    db_dump.C
    db_purge.C
    feeder.C

svn path=/trunk/boinc/; revision=13033
2007-06-26 21:14:58 +00:00
David Anderson 0daa5a8802 - translation.inc: backed out change of 7 May;
we need to use " to expand $PROJECT var
- scheduler:
    take work_buf_min into account in deciding whether
    a result will be reported by its deadline.
- all back end programs:
    better error message if can't parse config file

html/inc/
    translation.inc
sched/
    *.C

svn path=/trunk/boinc/; revision=12652
2007-05-11 16:30:13 +00:00
David Anderson 3431d99471 svn path=/trunk/boinc/; revision=12414 2007-04-18 20:49:58 +00:00
David Anderson f7d648e350 *** empty log message ***
svn path=/trunk/boinc/; revision=12075
2007-02-13 21:41:07 +00:00
David Anderson cc9ab449e0 *** empty log message ***
svn path=/trunk/boinc/; revision=11872
2007-01-15 22:53:41 +00:00
David Anderson 3967a1f924 *** empty log message ***
svn path=/trunk/boinc/; revision=11850
2007-01-12 17:42:29 +00:00
David Anderson a1da0712e8 *** empty log message ***
svn path=/trunk/boinc/; revision=11725
2006-12-27 20:04:50 +00:00
David Anderson 34d94f9ecf *** empty log message ***
svn path=/trunk/boinc/; revision=11332
2006-10-21 01:44:32 +00:00
David Anderson adf4a44b55 *** empty log message ***
svn path=/trunk/boinc/; revision=11246
2006-10-04 21:08:37 +00:00
Bruce Allen 2c45c1708f For computing and tracking a host's average credit/cpu_time I
have inserted a new averaging function
update_credit_per_cpu_sec() into lib/util.C.  This function
should be called from validator.C, and then the value of
credit_per_cpu_sec should be exported by db_dump.C in the
host_id.gz stats file.

David, Eric, if you could check the code and logic here I would
be grateful. This is currently disabled in validator.C with
a #ifdef macro.  I won't enable it until we've agreed on this.

svn path=/trunk/boinc/; revision=11136
2006-09-11 11:41:54 +00:00
David Anderson 9929015c1e xml_escape bug
svn path=/trunk/boinc/; revision=10238
2006-06-01 19:59:57 +00:00
David Anderson 6dfea20db2 url_escape speedup
svn path=/trunk/boinc/; revision=9938
2006-04-17 22:41:29 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 941d7e21d8 fix DEBUG symbol collision
svn path=/trunk/boinc/; revision=8189
2005-09-26 23:28:48 +00:00
David Anderson e3e70b9eb4 quorum size doesn't depend on nresults
svn path=/trunk/boinc/; revision=7710
2005-09-01 17:28:29 +00:00
David Anderson d16fccdf1e *** empty log message ***
svn path=/trunk/boinc/; revision=6694
2005-07-19 19:33:22 +00:00
David Anderson 0ac17c0a7f *** empty log message ***
svn path=/trunk/boinc/; revision=6331
2005-06-12 20:43:59 +00:00
David Anderson e76d620053 *** empty log message ***
svn path=/trunk/boinc/; revision=6133
2005-05-12 21:33:18 +00:00
David Anderson 709ef2675c *** empty log message ***
svn path=/trunk/boinc/; revision=5911
2005-04-21 05:48:00 +00:00
David Anderson 71c9615182 *** empty log message ***
svn path=/trunk/boinc/; revision=5657
2005-03-14 07:04:06 +00:00
David Anderson e18a297017 *** empty log message ***
svn path=/trunk/boinc/; revision=5625
2005-03-10 22:05:42 +00:00
David Anderson 7300ca2b0d *** empty log message ***
svn path=/trunk/boinc/; revision=5612
2005-03-09 20:40:57 +00:00
David Anderson 3b3cd0f240 *** empty log message ***
svn path=/trunk/boinc/; revision=5577
2005-03-07 23:15:53 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 08b22711f2 *** empty log message ***
svn path=/trunk/boinc/; revision=5230
2005-01-28 00:48:05 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson b7a7cd825f *** empty log message ***
svn path=/trunk/boinc/; revision=5151
2005-01-20 18:50:49 +00:00
David Anderson 367a4426ca *** empty log message ***
svn path=/trunk/boinc/; revision=5147
2005-01-20 06:11:03 +00:00
David Anderson cc9c0a6341 *** empty log message ***
svn path=/trunk/boinc/; revision=5135
2005-01-18 19:56:18 +00:00
David Anderson 335af90e5f *** empty log message ***
svn path=/trunk/boinc/; revision=5122
2005-01-14 21:21:04 +00:00
David Anderson aa1fceb978 *** empty log message ***
svn path=/trunk/boinc/; revision=5120
2005-01-14 03:32:16 +00:00
David Anderson 86c3728abe *** empty log message ***
svn path=/trunk/boinc/; revision=5020
2005-01-07 19:45:46 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
Eric Heien 931d54044e compile fix
svn path=/trunk/boinc/; revision=4320
2004-10-13 00:21:50 +00:00
David Anderson 22f1a1093a *** empty log message ***
svn path=/trunk/boinc/; revision=4285
2004-10-01 23:46:22 +00:00
David Anderson 3f057eb903 *** empty log message ***
svn path=/trunk/boinc/; revision=4269
2004-09-30 17:41:02 +00:00
David Anderson 4fd244d5d8 *** empty log message ***
svn path=/trunk/boinc/; revision=4249
2004-09-27 04:26:51 +00:00
David Anderson 45b76a2180 *** empty log message ***
svn path=/trunk/boinc/; revision=4238
2004-09-24 20:48:07 +00:00
David Anderson 2ae09fc7dd *** empty log message ***
svn path=/trunk/boinc/; revision=4099
2004-08-24 00:15:14 +00:00
David Anderson 6a92c0ea93 *** empty log message ***
svn path=/trunk/boinc/; revision=4056
2004-08-12 15:06:35 +00:00
David Anderson df63facd48 *** empty log message ***
svn path=/trunk/boinc/; revision=4053
2004-08-12 13:02:25 +00:00
David Anderson 05c23f787c *** empty log message ***
svn path=/trunk/boinc/; revision=3894
2004-07-16 17:47:34 +00:00