Commit Graph

22 Commits

Author SHA1 Message Date
David Anderson 9c4925fbd2 client emulator: add the ability to include projects without apps 2013-06-17 14:27:25 -07:00
David Anderson ff68226477 - client emulator: if try to do RPC to a "down" project, back off
- client emulator web interface: show simulations in reverse chron order
2013-03-25 10:22:46 -07:00
David Anderson fc6b050883 - client: removed unused code for old work-fetch logic 2013-03-15 13:38:45 +01:00
David Anderson e41f7dfee5 - client: parse <fetch_on_update> config flag, and show it on startup 2013-03-07 11:30:08 +01:00
David Anderson 1a21c2e4dc - client emulator tweak 2013-03-05 16:57:51 +01:00
David Anderson 0a75353fb7 - client (Android and other Unix without shmget())
Don't write spurious messages to stderr about shmem operations
    not being supported.
2013-03-05 16:42:44 +01:00
David Anderson 777f1f11e8 - client: change work fetch policy to avoid starving GPUs in situations where GPU exclusions are used. - client: fix bug in round-robin simulation when GPU exclusions are used.
Note: this fixes a major problem (starvation)
    with project-level GPU exclusion.
    However, project-level GPU exclusion interferes with most of
    the client's scheduling policies.
    E.g., round-robin simulation doesn't take GPU exclusion into account,
    and the resulting completion estimates and device shortfalls
    can be wrong by an order of magnitude.

    The only way I can see to fix this would be to model each
    GPU instance as a separate resource,
    and to associate each job with a particular GPU instance.
    This would be a sweeping change in both client and server.
2013-03-01 15:31:41 +01:00
David Anderson 2ac9fe8566 - client/scheduler:
If the file "client_opaque.txt" exists on the client,
    include its contents in scheduler request messages.
    On the scheduler, parse this into SCHEDULER_REQUEST::client_opaque,
    where it can be used by the customizable scheduler functions.


svn path=/trunk/boinc/; revision=24586
2011-11-14 06:27:36 +00:00
David Anderson 3410abef6f - backend API: added function cancel_jobs(minid, maxid)
for canceling jobs
- added program cancel_jobs for canceling jobs
- DB interface: it's not an error if update_fields_noid()
    affects != 1 rows


svn path=/trunk/boinc/; revision=24413
2011-10-18 07:15:04 +00:00
David Anderson 54311606e3 - client: associate a PROJECT with HTTP_OP where applicable,
so that if you use <http_debug> and filter by project
    you don't see other projects' HTTP stuff
- client simulator: cc_config.xml is part of the scenario;
    log flags are part of the simulation


svn path=/trunk/boinc/; revision=24410
2011-10-18 04:23:03 +00:00
David Anderson c22f8f41b9 - client simulator: make the output more graphical
svn path=/trunk/boinc/; revision=24406
2011-10-17 06:13:51 +00:00
David Anderson 9667ff52a8 - client simulator: fixes
- client: message tweaks


svn path=/trunk/boinc/; revision=24297
2011-09-26 23:34:40 +00:00
David Anderson 62074bd4fa - client emulator web interface: make cc_config.xml an attribute
of the simulation, not the scenario.
    If you want to run a simulation w/ different log flags,
    you shouldn't have to create a new scenario.
- client emulator: add --config_prefix cmdline arg
- validator: prevent infinite loop when app_version.pfc_avg
    is wonky (like 1e-300).
    Next step: figure out how it got that way.


svn path=/trunk/boinc/; revision=23828
2011-07-10 07:05:07 +00:00
David Anderson b062bd03f4 - admin web: all specifying an SVN config dir in the web config file,
in case your svn requires a proxy or something.
    From Boris Dayma.


svn path=/trunk/boinc/; revision=23386
2011-04-19 20:17:51 +00:00
David Anderson 3fc341fc60 - user web: fix numeric field sanitization in prefs. Fixes #1087.
- client: if PREFS::max_ncpus_pct is 0, don't set it to 100;
    doing so prevents PREFS::max_ncpus from having any effect.


svn path=/trunk/boinc/; revision=23355
2011-04-08 00:14:01 +00:00
David Anderson edcd09bded - client sim stuff
svn path=/trunk/boinc/; revision=23354
2011-04-07 23:10:06 +00:00
David Anderson 62ae83e615 - manager: change simple view notices window title from Messages to Notices
svn path=/trunk/boinc/; revision=23353
2011-04-06 19:03:00 +00:00
David Anderson eaff1b16cc - wrapper: improved subprocess cleanup, Unix
svn path=/trunk/boinc/; revision=23240
2011-03-17 05:56:54 +00:00
David Anderson 4bf163581d - client simulator stuff
svn path=/trunk/boinc/; revision=23239
2011-03-15 19:16:13 +00:00
David Anderson 3c74717d04 - client simulator stuff
svn path=/trunk/boinc/; revision=23235
2011-03-14 23:56:14 +00:00
David Anderson 73dfafde79 - validator: if --credit_from_wu is set, and no credit specified in WU,
assign zero credit and keep going
- client simulator work


svn path=/trunk/boinc/; revision=23231
2011-03-14 06:27:51 +00:00
David Anderson e858e7bcfa - move client simulator PHP code to doc/sim
svn path=/trunk/boinc/; revision=23229
2011-03-12 16:43:41 +00:00