Commit Graph

2355 Commits

Author SHA1 Message Date
David Anderson 4462fe534b - client: don't do RSS fetch if network suspended
svn path=/trunk/boinc/; revision=21123
2010-04-06 20:32:02 +00:00
Charlie Fenton d4129168fb Make Mac 6.10.44 the development build
svn path=/trunk/boinc/; revision=21110
2010-04-06 00:22:40 +00:00
Rom Walton df55dc6b48 Quick Updates
svn path=/trunk/boinc/; revision=21108
2010-04-05 23:06:55 +00:00
Rom Walton 312fdcfcd0 Quick Updates
svn path=/trunk/boinc/; revision=21092
2010-04-05 18:27:29 +00:00
David Anderson 12869ae674 - client: give dynamic estimate (based on fraction done)
a greater weight in time-to-completion estimate


svn path=/trunk/boinc/; revision=21040
2010-04-01 03:32:14 +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
Charlie Fenton 81c1af209d Release Mac BOINC 6.10.43
svn path=/trunk/boinc/; revision=20970
2010-03-19 21:36:40 +00:00
Rom Walton d5df18b03c Quick Updates
svn path=/trunk/boinc/; revision=20967
2010-03-19 19:17:28 +00:00
Rom Walton d9501b3787 Quick Updates
svn path=/trunk/boinc/; revision=20965
2010-03-19 17:41:50 +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
Rom Walton 3dc04f98fb Quick Updates
svn path=/trunk/boinc/; revision=20861
2010-03-12 00:26:42 +00:00
Rom Walton 03e9106162 Quick Updates
svn path=/trunk/boinc/; revision=20860
2010-03-12 00:23:38 +00:00
Rom Walton 278c916d91 Quick Updates
svn path=/trunk/boinc/; revision=20851
2010-03-11 21:19:40 +00:00
David Anderson 4f77556c74 - client: if a GPU job is blocked on available mem,
don't fetch more jobs for that resource type

svn path=/trunk/boinc/; revision=20817
2010-03-10 06:00:37 +00:00
David Anderson 8062f21d59 - server credit stuff (partial checkin)
svn path=/trunk/boinc/; revision=20810
2010-03-09 04:15:10 +00:00
Rom Walton 690a24ea36 Quick Updates
svn path=/trunk/boinc/; revision=20809
2010-03-08 20:20:10 +00:00
David Anderson b415b07785 - client: revisit the domino-effect preemption problem.
Removed my changes of 19 Jan 2010, which didn't work.
    Added new mechanism: keep track of whether a job J has ever run in EDF.
    If so, and if another job of the same project and resource type as J
    is marked as deadline miss, then mark J as deadline miss,
    so that it won't get preempted.
- web: change "result" to "task" in server status page
- admin web: show server stable SVN revision, not trunk

svn path=/trunk/boinc/; revision=20805
2010-03-05 21:13:53 +00:00
Rom Walton 8d80ded6ac Quick Updates
svn path=/trunk/boinc/; revision=20804
2010-03-05 19:15:17 +00:00
Rom Walton 20f6d7cfd4 Quick Updates
svn path=/trunk/boinc/; revision=20803
2010-03-05 18:38:49 +00:00
David Anderson 4f067e2a44 svn path=/trunk/boinc/; revision=20797 2010-03-04 21:23:30 +00:00
David Anderson 12a85e5ced - scheduler: code cleanup: goto considered harmful
- scheduler: when calculate scheduler runtime,
    don't include the part reading request msg from client.
    That can be misleadingly long

svn path=/trunk/boinc/; revision=20781
2010-03-03 19:29:23 +00:00
David Anderson e8f8c7bde2 - API: Win: resume other threads before exiting from timer thread.
Attempt to fix E@h bug.
- client: fix messages: asking for X instances doesn't mean
    that X instances are idle

svn path=/trunk/boinc/; revision=20772
2010-03-02 18:58:34 +00:00
Charlie Fenton 7c4d87d486 Release Mac BOINC 6.10.36 to alpha test
svn path=/trunk/boinc/; revision=20766
2010-03-02 02:22:12 +00:00
Rom Walton 1b91ec8720 Quick Updates
svn path=/trunk/boinc/; revision=20762
2010-03-01 17:53:48 +00:00
Charlie Fenton a3082cb2e0 Release BOINC Mac 6.10.35 to alpha test
svn path=/trunk/boinc/; revision=20740
2010-02-26 09:48:36 +00:00
Rom Walton 6fe1c90c75 Quick Updates
svn path=/trunk/boinc/; revision=20735
2010-02-25 18:03:46 +00:00
Charlie Fenton f1336e5ed9 Correct Mac 6.10.34 release date
svn path=/trunk/boinc/; revision=20720
2010-02-24 09:56:11 +00:00
Charlie Fenton 07fd8f59ce Release BOINC Mac 6.10.34 to alpha test
svn path=/trunk/boinc/; revision=20717
2010-02-24 09:33:27 +00:00
Rom Walton a7930c58ed Quick Updates
svn path=/trunk/boinc/; revision=20709
2010-02-23 18:41:46 +00:00
David Anderson 575cec858c - admin web: a project must provide an .htaccess file
or an auth_ops() function (not necessarily both).
    New projects are given an .htaccess file with no .htpasswd,
    so they must either create a .htpasswd file
    or define auth_ops() in order to use admin web pages.

svn path=/trunk/boinc/; revision=20671
2010-02-21 04:45:52 +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 906cfeb4f4 - parsing of platforms from WCG's get_project_config.php was wrong
svn path=/trunk/boinc/; revision=20461
2010-02-07 04:01:11 +00:00
Charlie Fenton 93e680e346 Release Mac BOINC 6.10.33 to alpha test
svn path=/trunk/boinc/; revision=20430
2010-02-05 08:47:28 +00:00
Charlie Fenton 556c9141e6 Release Mac BOINC 6.10.32 to alpha test
svn path=/trunk/boinc/; revision=20414
2010-02-04 00:14:30 +00:00
Rom Walton a53d2486b0 Quick Updates
svn path=/trunk/boinc/; revision=20405
2010-02-03 18:05:20 +00:00
Rom Walton ca2b898700 Quick Updates
svn path=/trunk/boinc/; revision=20401
2010-02-03 17:18:10 +00:00
Charlie Fenton 703a496091 Mac Sandbox: update documentation
svn path=/trunk/boinc/; revision=20294
2010-01-28 10:33:21 +00:00
Rom Walton 1effb5364e Quick Updates
svn path=/trunk/boinc/; revision=20281
2010-01-27 17:46:44 +00:00
Charlie Fenton 8d597082c3 Update sandbox documentation
svn path=/trunk/boinc/; revision=20275
2010-01-27 08:57:37 +00:00
Rom Walton 509b3b5896 Quick Updates
svn path=/trunk/boinc/; revision=20266
2010-01-25 23:47:44 +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 e84d691136 - update BOINC project translation template
svn path=/trunk/boinc/; revision=20179
2010-01-15 23:25:46 +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
Rom Walton 76d3d51331 Quick Updates
svn path=/trunk/boinc/; revision=20176
2010-01-15 18:52:58 +00:00
Charlie Fenton 2fafa1c767 Release Mac BOINC 6.10.28 to alpha test
svn path=/trunk/boinc/; revision=20137
2010-01-12 12:19:28 +00:00
David Anderson 0255297345 - API: if app can't acquire lock file, tell the client not
to restart app for 10 minutes.
    Hopefully what will happen is:
    - another instance of app is running in slot dir
        (shouldn't happen, but sometimes does)
    - that app will eventually finish, and will write
        a checkpoint file saying so.
        It will call boinc_finish(0), but the client won't notice
        that it has exited.
    - the next time the client starts the app,
        it will acquire lock, see that it's done,
        and call boinc_finish(0).
        This time the client will notice,
        and the job will be reported as correct.
    The downside to all this is that the client won't know
    that the CPU is in use, and will schedule NCPUS jobs.

svn path=/trunk/boinc/; revision=20128
2010-01-11 20:52:55 +00:00
David Anderson b5b6b1e794 svn path=/trunk/boinc/; revision=20121 2010-01-10 22:51:53 +00:00
David Anderson da6b6b33fe - client: fix notification display logic
svn path=/trunk/boinc/; revision=20119
2010-01-10 21:57:15 +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
Charlie Fenton d04d50861f Release Mac BOINC 6.10.27 to alpha test
svn path=/trunk/boinc/; revision=20115
2010-01-09 07:54:59 +00:00
Charlie Fenton b49e36049b Release Mac BOINC 6.10.26 to alpha test
svn path=/trunk/boinc/; revision=20099
2010-01-07 12:41:15 +00:00
David Anderson 37aae854f3 - client: scheduling problem:
- a project overestimates job FLOP counts
    - the client starts jobs in EDF mode
    - as job progresses and fraction done increases,
        its completion time estimate decreases until
        it's no longer a deadline miss.
    - job gets preempted by other job from that project;
        you end up with lots of partly completed jobs.
    Solution (I hope): if an app version has running jobs,
        compute a "temp DCF" for the app version,
        which is the min of dynamic/static estimates for its jobs.
        Apply this scaling factor to completion time estimates
        for unstarted jobs in RR simulation
- client: the estimation of remaining time of running jobs was wrong
    (how did this bug survive so long?)

svn path=/trunk/boinc/; revision=20077
2010-01-06 06:01:23 +00:00
David Anderson e2df29dfcf svn path=/trunk/boinc/; revision=20059 2010-01-01 21:09:49 +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 d86c0b2802 - web tweaks
svn path=/trunk/boinc/; revision=20037
2009-12-24 22:47:53 +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 12955d898c - client (Mac): it's DYLD_LIBRARY_PATH, not DYLIB_LIBRARY_PATH
svn path=/trunk/boinc/; revision=19972
2009-12-18 17:49:38 +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
Rom Walton aae3e754b0 Quick Updates
svn path=/trunk/boinc/; revision=19852
2009-12-10 20:55:58 +00:00
David Anderson ea54aa7759 - client: STD for a device with N instances
can increase or decrease at N times real time.
    My checkin of 7 Dec reflects this by changing
    the STD limits to +- N*MAX_STD.
    This looks like a bug to users.
    Instead, scale that rate of STD change by 1/N,
    and keep the old limits of +- MAX_STD

svn path=/trunk/boinc/; revision=19851
2009-12-10 17:07:45 +00:00
Rom Walton b8a5211c12 Quick Updates
svn path=/trunk/boinc/; revision=19848
2009-12-09 21:31:33 +00:00
Rom Walton 5dd856f287 Quick Updates
svn path=/trunk/boinc/; revision=19847
2009-12-09 21:28:17 +00:00
Charlie Fenton 3147f74103 Indicate which clients work on which Mac OS versions
svn path=/trunk/boinc/; revision=19803
2009-12-07 09:03:51 +00:00
Charlie Fenton e226c41d84 Indicate which clients work on which Mac OS versions
svn path=/trunk/boinc/; revision=19802
2009-12-07 09:00:33 +00:00
David Anderson 2ef5c5895b - client: fix bug in debt calculation
- client: <zero_debts> zeroes STD too

svn path=/trunk/boinc/; revision=19783
2009-12-04 21:21:18 +00:00
David Anderson fb4797adfd - client: Add offset to LTD of non-eligible projects
only if the offset is positive.
- client: some cmdline args set members of config.
    However, config was being cleared after cmdline args were parsed,
    so these args had no effect.
    Instead, clear config before parsing cmdline

svn path=/trunk/boinc/; revision=19776
2009-12-03 19:09:45 +00:00
Charlie Fenton cc08c800aa Promote Mac 6.10.21 to Recommended
svn path=/trunk/boinc/; revision=19770
2009-12-03 01:03:35 +00:00
Charlie Fenton 3bcdba0561 Release BOINC Mac 6.10.21 to alpha test
svn path=/trunk/boinc/; revision=19754
2009-12-01 10:05:29 +00:00
David Anderson 6fc27ffc44 - client: use [wfd] consistently
svn path=/trunk/boinc/; revision=19725
2009-11-27 21:21:39 +00:00
David Anderson f31e46f13b - change project_list.php so that it shows platform[plan_class].
That way the client can know which projects have GPU
    and multithread apps.
- client: message tweak


svn path=/trunk/boinc/; revision=19589
2009-11-17 21:38:44 +00:00
David Anderson e057c552d8 - client: add <exclusive_gpu_app> option:
suspend GPU usage when particular apps are running

svn path=/trunk/boinc/; revision=19573
2009-11-13 17:49:18 +00:00
David Anderson 3f084596e0 - scheduler: fix bug that caused no ATI jobs to be sent
if max_jobs_in_progress defined.

svn path=/trunk/boinc/; revision=19529
2009-11-10 22:19:36 +00:00
Rom Walton 4b377284aa Quick Updates
svn path=/trunk/boinc/; revision=19519
2009-11-09 17:11:18 +00:00
David Anderson 8caa2cf3d5 - test code for new credit system
svn path=/trunk/boinc/; revision=19462
2009-11-04 21:23:56 +00:00
Rom Walton f6f1fef5c7 Quick Updates
svn path=/trunk/boinc/; revision=19443
2009-11-02 17:21:35 +00:00
Rom Walton 13b0f7703c Quick Updates
svn path=/trunk/boinc/; revision=19442
2009-11-02 16:55:48 +00:00
David Anderson 0fdd1ef4c8 - MGR: fixed some strings, removed trailing \n's
svn path=/trunk/boinc/; revision=19440
2009-11-01 00:34:12 +00:00
Charlie Fenton 06033fb0d4 Update sandbox documentation
svn path=/trunk/boinc/; revision=19436
2009-10-31 09:25:52 +00:00
Rom Walton 0ce0610ccf Quick Updates
svn path=/trunk/boinc/; revision=19425
2009-10-30 16:34:07 +00:00
Rom Walton 9b9751e23c Quick Updates
svn path=/trunk/boinc/; revision=19424
2009-10-30 16:33:05 +00:00
Rom Walton 3267627ef4 Quick Updates
svn path=/trunk/boinc/; revision=19423
2009-10-30 16:29:08 +00:00
Rom Walton 52d35f9614 Quick Updates
svn path=/trunk/boinc/; revision=19422
2009-10-30 16:08:13 +00:00
David Anderson 171352dc58 - user web: fix bug in "allow beta work" pref.
The presence of a bool doesn't mean it's true.


svn path=/trunk/boinc/; revision=19413
2009-10-29 21:50:25 +00:00
Rom Walton 6f4a671ce1 Quick Updates
svn path=/trunk/boinc/; revision=19386
2009-10-28 21:42:00 +00:00
Rom Walton 55d7bb8b67 Quick Updates
svn path=/trunk/boinc/; revision=19385
2009-10-28 18:28:23 +00:00
David Anderson 545d137804 - client: no network activity if running CPU benchmarks
svn path=/trunk/boinc/; revision=19375
2009-10-23 21:57:58 +00:00
Rom Walton 6a1fdfb468 Quick Updates
svn path=/trunk/boinc/; revision=19368
2009-10-22 19:55:58 +00:00
Rom Walton de32ad0e0f Quick Updates
svn path=/trunk/boinc/; revision=19367
2009-10-22 19:53:20 +00:00
Rom Walton fbce114d48 Quick Updates
svn path=/trunk/boinc/; revision=19364
2009-10-22 17:52:38 +00:00
Rom Walton aa96a419a2 Quick Updates
svn path=/trunk/boinc/; revision=19353
2009-10-20 15:44:22 +00:00
Rom Walton 3feea59efc Quick Updates
svn path=/trunk/boinc/; revision=19345
2009-10-20 02:56:23 +00:00
David Anderson fe2a18f282 - client/scheduler: standardize the FLOPS estimate between NVIDIA and ATI.
Make them both peak FLOPS,
    according to the formula supplied by the manufacturer.

    The impact on the client is minor:
    - the startup message describing the GPU
    - the weight of the resource type in computing long-term debt

    On the server, I changed the example app_plan() function
    to assume that app FLOPS is 20% of peak FLOPS
    (that's about what it is for SETI@home)

svn path=/trunk/boinc/; revision=19310
2009-10-16 00:13:01 +00:00
David Anderson 4537dedcd3 - update cal.h to current ATI code
svn path=/trunk/boinc/; revision=19304
2009-10-14 20:09:41 +00:00
David Anderson d6efa7dabb - client: address the situation where GPUs become unusable
for certain periods (e.g. when Remote Desktop is used on Win).
    - add is_usable() member function to COPROC.
        Currently this just calls the respective (CUDA or CAL)
        initialization function.
        We need to check whether this works and/or causes problems.
    - in enforce_schedule(), check whether usability has changed
        for each GPU type.
        If we've gone from usable to unusable,
        flag all jobs for that GPU as coproc_missing
        (so they won't get run, and will quit if they're running).
        If we've gone from unusable to usable, clear the flag.
    This should deal with all cases except where
    the client is started up with GPUs unusable.
- scheduler: more query optimizations for locality scheduling
    (from Oliver Bock)

svn path=/trunk/boinc/; revision=19301
2009-10-14 18:07:49 +00:00
Rom Walton 553a3a50af - DOC: Update manager_links.php so that it'll compare by numerical
values instead of using string based comparison.
        
    doc/
        manager_links.php

svn path=/trunk/boinc/; revision=19298
2009-10-13 18:56:14 +00:00
David Anderson eae03746de Add manager help redirector.
svn path=/trunk/boinc/; revision=19297
2009-10-13 18:44:58 +00:00