Commit Graph

187 Commits

Author SHA1 Message Date
David Anderson e8d931a729 - translation update
svn path=/trunk/boinc/; revision=22617
2010-11-03 18:40:15 +00:00
David Anderson 84679f482a - scheduler: change the "primary_platform_only" config option
to "prefer_primary_platform".
    If an app has only only 32-bit versions, use the for 64-bit clients.


svn path=/trunk/boinc/; revision=22282
2010-08-22 19:13:25 +00:00
David Anderson faab0991f7 - scheduler: fix and restore fpops scaling for anonymous platform jobs
svn path=/trunk/boinc/; revision=21962
2010-07-15 21:38:24 +00:00
David Anderson 85e06afe4b - scheduler: app_plan() no longer has to guess how efficiently
an app version will run on a particular host.
- scheduler: fix memory leak: BEST_APP_VERSIONs weren't being freed


svn path=/trunk/boinc/; revision=21148
2010-04-08 18:27:27 +00:00
David Anderson fb851311e0 - server: various changes;
see http://boinc.berkeley.edu/trac/wiki/CreditNew

    Projects will need to update DB and recompile all back-end programs.

    Summary:
    - new way of computing credit
    - "reliable host" mechanism is per app version
    - "host punishment" mechanism is per app version
    - adjustment of wu.rsc_fpops_est provides the
        equivalent of per app version DCF
    - max jobs in progress is now per app
    - max jobs per RPC is now per app

    TODO:
    - reliable mechanism:
        - populate and use host_app_version.error_rate
        - populate host_app_version.turnaround
    - host punishment:
        - populate host_app_version.max_jobs_per_day
        - populate host_app_version.n_jobs_today
        - use app.max_jobs_per_day_init
    - job limits:
        - use app.max_jobs_in_progress, max_gpu_jobs_in_progress
        - use app.max_jobs_per_rpc
    - adjust wu.rsc_fpops_est
    - remove old credit stuff
        fpops_cumulative, credit_multiplier
        credit computation in scheduler

- AVERAGE class: use the Knuth algorithm (Wikipedia)


svn path=/trunk/boinc/; revision=21021
2010-03-29 22:28:20 +00:00
David Anderson 86582342a8 - GUI RPC: in the structures used in the C++ interface to GUI RPC,
change various std::string to char[n], to improve performance.

NOTE: std::string should ONLY be used in cases where there is
no a priori limit on string length.
If there's a limit (e.g. because the string originates in
a fixed-size database field) always use char[n].

svn path=/trunk/boinc/; revision=20877
2010-03-12 17:47:17 +00:00
David Anderson d78b5fb79a - client: if a project is anonymous platform and it has no
app versions that use a resource,
    don't request work from it for that resource.

svn path=/trunk/boinc/; revision=20549
2010-02-11 22:19:22 +00:00
David Anderson ec59acc24c svn path=/trunk/boinc/; revision=20240 2010-01-22 04:05:34 +00:00
David Anderson fac88a844f svn path=/trunk/boinc/; revision=20207 2010-01-20 17:26:50 +00:00
David Anderson fe7d8b34f3 - client simulator: done for now
svn path=/trunk/boinc/; revision=20204
2010-01-20 06:35:57 +00:00
David Anderson e7dcff182f - web DB code: fix PHP warning when enumeration returns nothing.
From Nicolas. fixes #974
- client: tiny code shuffle

svn path=/trunk/boinc/; revision=20178
2010-01-15 23:08:55 +00:00
David Anderson d6b6f8d5db - client (Mac): append /usr/local/cuda/lib to LD_LIBRARY_PATH
and DYLD_LIBRARY_PATH
- client simulator: compile fixes

svn path=/trunk/boinc/; revision=20117
2010-01-09 16:41:17 +00:00
David Anderson fd1d46d17f - client: Unix: if can't create client lock file,
report ERR_OPEN rather than ERR_ALREADY_RUNNING
    fixes #970

svn path=/trunk/boinc/; revision=20051
2009-12-31 02:15:26 +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 43d4c667a7 - web: add Comment link to news items
svn path=/trunk/boinc/; revision=19991
2009-12-19 18:14:04 +00:00
David Anderson e57f286e47 - web: some fixes that arose from converting BOINC's news
to forum format.


svn path=/trunk/boinc/; revision=19963
2009-12-18 04:32:30 +00:00
David Anderson 1b7f0aa88a - web: bb2html() previously generated HTML that assumed
the BOINC stylesheet (main.css) was included.
    This is no good if we're exporting the HTML.
    Add an option to generate generic HTML.
- web: add options to the forum RSS feed:
    1) threads_only: just show threads (i.e. 1st post in each thread)
    2) truncate: truncate posts to 256 chars.
        If this is not set, convert post from BBcode to generic HTML,
        and put this (XML-encoded) in item.description
This is preparation for using the forum code for project news,
and for displaying forum RSS feeds in the manager.


svn path=/trunk/boinc/; revision=19915
2009-12-15 17:57:36 +00:00
David Anderson ae3f3e74f1 - client: in choosing GPU jobs in FIFO order,
use job name as tiebreaker if received times are the same.
    This makes the order deterministic.
- web: show elapsed time and CPU time,
    and show app version info, in result display

svn path=/trunk/boinc/; revision=19008
2009-09-06 03:51:12 +00:00
David Anderson fa0c32c20e - scheduler: compile fixes
svn path=/trunk/boinc/; revision=18783
2009-07-30 17:00:43 +00:00
David Anderson 456b617c6f svn path=/trunk/boinc/; revision=18710 2009-07-24 05:09:32 +00:00
David Anderson 0bf42a7f84 svn path=/trunk/boinc/; revision=18709 2009-07-24 04:49:12 +00:00
David Anderson e794e71c48 - client: code cleanup for project-level file xfer backoff
svn path=/trunk/boinc/; revision=18601
2009-07-16 16:35:57 +00:00
David Anderson 4287dface3 svn path=/trunk/boinc/; revision=18189 2009-05-22 17:16:31 +00:00
David Anderson dfe290f150 - file deleter: improved log messages (from Bernd M)
svn path=/trunk/boinc/; revision=18084
2009-05-12 22:44:04 +00:00
David Anderson 2664ea5c2c svn path=/trunk/boinc/; revision=18076 2009-05-12 04:49:44 +00:00
David Anderson ac99693ef9 - web: trim dutch translation file
svn path=/trunk/boinc/; revision=18073
2009-05-11 19:38:53 +00:00
David Anderson 8340535c35 - Japanese web translation
svn path=/trunk/boinc/; revision=18067
2009-05-11 04:18:46 +00:00
David Anderson d593780ed8 svn path=/trunk/boinc/; revision=18063 2009-05-10 04:41:43 +00:00
David Anderson 5198ad31d9 - client: write message (and show new config info) when config file reread
- client: improve cpu_sched_debug messages
- web translation: code wasn't handling multi-line tokens

svn path=/trunk/boinc/; revision=18028
2009-05-06 09:49:46 +00:00
David Anderson e84b1f189e - client: view 2 GPUs as equivalent if their memory differs by <30%.
(maybe their memory differed slightly from the most capable one)

svn path=/trunk/boinc/; revision=17987
2009-05-04 02:22:25 +00:00
David Anderson 24ffcbc733 svn path=/trunk/boinc/; revision=17982 2009-05-03 12:22:48 +00:00
David Anderson c2710be9f9 - removed outdated translation files; updated template
svn path=/trunk/boinc/; revision=17962
2009-05-01 17:05:12 +00:00
David Anderson 592bf5c17b - scheduler: get effective RAM sizes and running fraction just once
svn path=/trunk/boinc/; revision=17072
2009-01-29 20:42:45 +00:00
David Anderson 305654d9ff - converted BOINC web files to new translation format (tra())
svn path=/trunk/boinc/; revision=17023
2009-01-26 23:52:27 +00:00
David Anderson 685ea38041 - web: change style sheet so tables are bordered only if class is "bordered"
- web: fix error if translation string missing


svn path=/trunk/boinc/; revision=16363
2008-10-30 18:27:22 +00:00
David Anderson 1f6df503f5 - web: don't select orphaned profile as UOTD;
delete profile when delete user.  Fixes #761

svn path=/trunk/boinc/; revision=16255
2008-10-22 15:49:01 +00:00
David Anderson a4380ee9a6 - web: make some things in sample front page translatable.
TODO: make them all translatable.
- manager: compile fix for Linux

svn path=/trunk/boinc/; revision=16207
2008-10-14 21:40:14 +00:00
David Anderson 210f9202ea - web: fix bug in profile creation. fixes #755
svn path=/trunk/boinc/; revision=16194
2008-10-13 03:19:34 +00:00
David Anderson 22773619ca - web: in checking if hosts can be merged,
do time-overlap check if either host has pending results
    Fixes #748

svn path=/trunk/boinc/; revision=16163
2008-10-08 21:49:06 +00:00
David Anderson 44f4c9d840 - add distclean target for samples/ makefiles
svn path=/trunk/boinc/; revision=16143
2008-10-06 20:24:58 +00:00
David Anderson 65a1bdab39 - lib: change XML_PARSER to handle attributes and spaces in tags.
e.g. it handles <foo /> correctly,
    and handles <foo attr="x">
    (it doesn't return the attributes, but it doesn't choke on them).
- GUI RPC client lib:
    use XML_PARSER to process authorization replies,
    e.g. so that it handles <authorized />

    TODO: use XML_PARSER to parse all GUI RPC requests and replies

- web: add a CSS entry for news item titles
- web (news items): add an optional "category" field to news items:
    suggested values: "server status", "news", "emergency".
    These are not used to display the items,
    but are passed in the RSS feed and could be used by news aggregators.
- manager: replace "BOINC-based account managers" with "account managers"


svn path=/trunk/boinc/; revision=16028
2008-09-19 18:08:17 +00:00
David Anderson 53ccd10f13 - scheduler: add <debug_resend> config option to enable messages
about job resending

svn path=/trunk/boinc/; revision=15889
2008-08-19 03:00:17 +00:00
David Anderson afbfeaa637 - web: start working towards the goal of passing the
"HTML 4.01 Transitional" test.
    The BOINC home page, project home page, and forum index now pass.
- web: .po files need to have CHARSET, LANG_NAME_NATIVE,
    and LANG_NAME_INTERNATIONAL

svn path=/trunk/boinc/; revision=15855
2008-08-15 16:26:55 +00:00
David Anderson 884bad0975 - client: show proxy info in messages at startup and when changed
fixes #704
- web: fix the am_set_info.php RPC
    (most args are optional, not mandatory)

svn path=/trunk/boinc/; revision=15716
2008-07-30 21:37:41 +00:00
David Anderson a054467f9b - web: include "reason" field in emails for thread moderation
svn path=/trunk/boinc/; revision=15553
2008-07-06 22:30:10 +00:00
David Anderson ba752a17e7 - make_project: allow account creation initially.
Otherwise it's another nit-picky little step
    in the project "quick start" process.

svn path=/trunk/boinc/; revision=15382
2008-06-10 21:19:09 +00:00
David Anderson e0f418dbf7 - client: eliminate spurious "unparsed XML" messages
Fixes #664.  Rom, please backport to 6.2
- web: convert some tr() to tra() on BOINC web pages

svn path=/trunk/boinc/; revision=15258
2008-05-20 00:11:28 +00:00
David Anderson 58b5f80366 - Added <d_allowed> element to get_disk_usage GUI RPC
svn path=/trunk/boinc/; revision=15190
2008-05-13 19:52:35 +00:00
David Anderson 58645a3be1 - client (Unix): linking libcudart.so wasn't working,
so CUDA detection failed.
    For reasons I don't understand,
    adding "/usr/local/cuda/lib" to LD_LIBRARY_PATH
    and then doing dlopen("libcudart.so") wasn't working,
    even though the library is in that dir.
    I worked around this by calling
    dlopen("/usr/local/cuda/lib/libcudart.so") and if that fails call
    dlopen("libcudart.so"),
- Unix: commented out Eric's setenv() stuff.
    After doing a configure, HAVE_SETENV is not in config.h,
    so something's messed up with it.
- client: trimmed down "pre-release software" message


svn path=/trunk/boinc/; revision=15143
2008-05-07 21:46:49 +00:00
David Anderson 68f535d033 - user web: send no-cache headers except if we're doing
whole-page caching.  Fixes #626

svn path=/trunk/boinc/; revision=15089
2008-04-24 16:16:36 +00:00