Commit Graph

52 Commits

Author SHA1 Message Date
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 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
David Anderson 1e7e58875a - client: add cmdline options --exit_before_start and --exit_after_finish.
This cause the core client to exit immediately before or after
    running a job,
    letting you examine the contents of the slot directory.
- scheduler: changed max # of CPUs used in daily_result_quota
    limit from 4 to 8, and make it a compile-time parameter
- feeder/scheduler: make the number of work items in shared
    memory configurable (in config.xml).
    The element is <shmem_work_items>
- feeder: make the size of the work item query configurable
    (<feeder_query_size)
- feeder: remove code related to removing infeasible results
    from shared mem.
    This mechanism was never needed,
    and I think a timeout would accomplish the same effect.

client/
    app.C
    app_start.C
    client_state.C,h
    cs_cmdline.C
sched/
    feeder.C
    sched_array.C
    sched_config.C,h
    sched_send.C
    sched_shmem.C,h
    sched_util.C
    show_shmem.C

svn path=/trunk/boinc/; revision=12771
2007-05-29 21:45:01 +00:00
David Anderson 3431d99471 svn path=/trunk/boinc/; revision=12414 2007-04-18 20:49:58 +00:00
David Anderson 51c8c62fa3 *** empty log message ***
svn path=/trunk/boinc/; revision=10348
2006-06-14 20:17:35 +00:00
Bruce Allen f19d074a87 Sched code: move function into sched_util; useful for project
validation.
Minor E@H specific change

svn path=/trunk/boinc/; revision=10287
2006-06-09 19:07:34 +00:00
David Anderson a822d8312b server permissions
svn path=/trunk/boinc/; revision=10228
2006-05-31 21:25:39 +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 eb55f8944f back out backoff change
svn path=/trunk/boinc/; revision=8675
2005-10-14 04:41:53 +00:00
David Anderson 941d7e21d8 fix DEBUG symbol collision
svn path=/trunk/boinc/; revision=8189
2005-09-26 23:28:48 +00:00
Jeff Cobb 5218ad9bdf Jeff - pull out old hier dir/url hash function
svn path=/trunk/boinc/; revision=8163
2005-09-23 21:09:00 +00:00
Bruce Allen 5e7c9472ae poor programming practice
svn path=/trunk/boinc/; revision=8029
2005-09-15 15:15:07 +00:00
Bruce Allen a6bf4fc4d3 - Backend: To prevent possible namespace confusion in the future, changed the
name of elapsed_time() to elapsed_wallclock_time().
- Backend logging statements on exit() which echo elapsed run time to logs now
      do this with much higher printed precision.
- Backend logging, separate scheduler requests with an almost blank line

svn path=/trunk/boinc/; revision=8027
2005-09-15 15:07:41 +00:00
David Anderson 6aa21f5c1f *** empty log message ***
svn path=/trunk/boinc/; revision=6285
2005-06-03 21:39:38 +00:00
David Anderson ece2ec37db *** empty log message ***
svn path=/trunk/boinc/; revision=6182
2005-05-17 21:08:48 +00:00
Bruce Allen 835c2090f5 log execution times for two cgi scripts (scheduler and
file_upload_handler)

better print format for timezone

svn path=/trunk/boinc/; revision=6023
2005-05-04 16:31:25 +00:00
David Anderson 7a6caef6cb *** empty log message ***
svn path=/trunk/boinc/; revision=5754
2005-04-01 22:30:08 +00:00
David Anderson 3bc9adca43 *** empty log message ***
svn path=/trunk/boinc/; revision=5747
2005-03-30 22:38:37 +00:00
David Anderson 20656a03df *** empty log message ***
svn path=/trunk/boinc/; revision=5499
2005-02-23 00:11:59 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
Bruce Allen feb50863c2 More sched locality and other scheduler changes.
- Address David's comment of Feb 2.  Now properly reduce the
disk size resource requirements of a WU being sent if the
file is already on the host, or already included in a previous
WU being sent. DAVID: please check that reply_copy.wus.pop_back()
is right.
- For this, define a function host_has_file().  This can also
be used in the future for more intelligent file deletion
schemes.
- Make warnings to upgrade old clients have low priority until
3 days before deadline.  Then high priority.
- Fix sign error in messages sent to users about insufficient
disk space.
- Move extract_filename() from sched_locality.C to sched_util.C
- Pretty up the ordered list of URLs printed for a given host.
- I've even tested these changes before committing them!

svn path=/trunk/boinc/; revision=5382
2005-02-10 06:21:58 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Bruce Allen 22c0a5155e The signal being used to control the daemons is SIGHUP not SIGINT. Changed
comment and print statement from SIGINT to SIGHUP.

svn path=/trunk/boinc/; revision=5037
2005-01-09 07:48:33 +00:00
David Anderson 98e93a0a5d *** empty log message ***
svn path=/trunk/boinc/; revision=5029
2005-01-08 06:54:03 +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
David Anderson 70472e1617 *** empty log message ***
svn path=/trunk/boinc/; revision=4908
2004-12-20 20:47:25 +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
David Anderson 161fb2868f *** empty log message ***
svn path=/trunk/boinc/; revision=4189
2004-09-13 18:05:54 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00
David Anderson 000b18f565 *** empty log message ***
svn path=/trunk/boinc/; revision=3314
2004-05-03 19:30:01 +00:00
David Anderson 7e749941e5 *** empty log message ***
svn path=/trunk/boinc/; revision=3310
2004-04-30 23:18:56 +00:00
David Anderson dd51f9ea18 *** empty log message ***
svn path=/trunk/boinc/; revision=3232
2004-04-08 08:15:23 +00:00
David Anderson 9767991240 *** empty log message ***
svn path=/trunk/boinc/; revision=3228
2004-04-07 06:51:42 +00:00
David Anderson f4d30aa220 *** empty log message ***
svn path=/trunk/boinc/; revision=2840
2003-12-31 23:09:21 +00:00
David Anderson 645f77de1b *** empty log message ***
svn path=/trunk/boinc/; revision=2819
2003-12-21 05:55:48 +00:00
David Anderson 76ce035063 *** empty log message ***
svn path=/trunk/boinc/; revision=2773
2003-12-10 00:54:17 +00:00
David Anderson 2f229d2f54 *** empty log message ***
svn path=/trunk/boinc/; revision=2463
2003-10-14 23:40:50 +00:00
David Anderson 4f9dd9b18b *** empty log message ***
svn path=/trunk/boinc/; revision=2064
2003-08-12 20:58:24 +00:00
David Anderson eafb60f64a indentation
svn path=/trunk/boinc/; revision=1675
2003-07-13 01:10:24 +00:00
Karl Chen aa79f220c1 config.xml paths ; test scripts
svn path=/trunk/boinc/; revision=1654
2003-07-09 23:54:45 +00:00
Karl Chen 7881eb5cbf rewrote logging facilities
svn path=/trunk/boinc/; revision=1634
2003-07-02 02:02:18 +00:00
David Anderson 636bb2ce04 license change
svn path=/trunk/boinc/; revision=1629
2003-07-01 20:37:09 +00:00
Karl Chen 1a2a84cdf7 *** empty log message ***
svn path=/trunk/boinc/; revision=1620
2003-07-01 00:39:54 +00:00
Karl Chen a2fc72deb1 improved scheduler logging ; use a library
svn path=/trunk/boinc/; revision=1619
2003-07-01 00:20:22 +00:00
Karl Chen f520d99108 added unistd.h
svn path=/trunk/boinc/; revision=1563
2003-06-20 21:33:49 +00:00
Karl Chen dfa0325c19 write pid to pidfile ; trap sigints and exit on check_stop_trigger() ; stop servers by killing them
svn path=/trunk/boinc/; revision=1556
2003-06-20 01:31:03 +00:00
Eric Heien 65dbd70e64 *** empty log message ***
svn path=/trunk/boinc/; revision=1397
2003-06-11 23:36:40 +00:00
David Anderson 756384d8b4 update_stats bug fixes
svn path=/trunk/boinc/; revision=1035
2003-03-08 23:50:21 +00:00