Commit Graph

353 Commits

Author SHA1 Message Date
Charlie Fenton 390633ff7e Back out my shared memory changes of 27 June because it might prevent compound applications from attaching to the shared memory as needed
svn path=/trunk/boinc/; revision=13046
2007-06-28 11:09:07 +00:00
Charlie Fenton fdf8973685 CC: Mark shmem segment for eventual destruction on first msg from task (*nix only)
svn path=/trunk/boinc/; revision=13034
2007-06-27 10:29:31 +00:00
Charlie Fenton 8c4b7e6bc6 clear retry_shmem_time when releasing shared memory
svn path=/trunk/boinc/; revision=13026
2007-06-26 03:42:23 +00:00
Charlie Fenton 7bb1b1a0d4 CC: Add logic to scheduler, etc. for systems which limit the number of shared memory segments per process and / or system-wide.
svn path=/trunk/boinc/; revision=13015
2007-06-25 11:46:15 +00:00
David Anderson 9850a17167 - GUI RPC: add graphics_exec_path and slot_path fields to RESULT.
These let the Manager run the graphics app.
    Graphics apps have physical name *v6graphics*
- Separated ACTIVE_TASK::write() and ACTIVE_TASK::write_gui().
    These need to write largely disjoint set of items.
- code cleanup: remove a zillion "else"s in parsing code
- code cleanup: change a zillion match_tag(buf, "<foo/>"
    to parse_bool(buf, "foo")

client/
    app.C,h
    client_state.C
    client_types.C,h
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C
sched/
    server_types.C

svn path=/trunk/boinc/; revision=12938
2007-06-14 23:08:43 +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 ca2dead91d - client simulator: make it compile on Win
- client: parse version_num in active_task to avoid spurious error msg

	client/
		app.C
		sim.C
	win_build/
		sim.vcproj

svn path=/trunk/boinc/; revision=12636
2007-05-10 16:07:45 +00:00
David Anderson 4a1741e220 - Core client: handle multiple platforms correctly.
Remove the tacet assumption that a host can handle
        applications for a single platform.
        With the Apr 30 scheduler changes,
        a project may (at different times)
        send app versions for the same app and version number,
        but different platforms.
        Before we would have ignored all but the first;
        now we handle them correctly.

        Implementation notes:
        - Add APP_VERSION.platform, RESULT.platform,
            and RESULT.version_num.
            If these are missing from an XML doc
            (e.g. an existing state file or a scheduler reply
            from a project not running current server)
            then set to the primary platform.
        - Continue to write workunit.version_num
            and active_task.version_num to state file,
            even though these are no longer part of the struct.
            This allows users to revert to an older version.

    client/
        app.C
        check_state.C
        client_state.C,h
        client_types.C,h
        cs_apps.C
        cs_scheduler.C
        cs_statefile.C
        sim.C

svn path=/trunk/boinc/; revision=12542
2007-05-03 17:14:30 +00:00
David Anderson 4931b54706 *** empty log message ***
svn path=/trunk/boinc/; revision=12335
2007-04-09 16:19:42 +00:00
David Anderson 1be9af1b1a *** empty log message ***
svn path=/trunk/boinc/; revision=12303
2007-04-03 19:35:33 +00:00
Charlie Fenton 8b58ec7490 *** empty log message ***
svn path=/trunk/boinc/; revision=12237
2007-03-16 03:16:24 +00:00
David Anderson 71afcf8c06 *** empty log message ***
svn path=/trunk/boinc/; revision=12235
2007-03-15 23:01:51 +00:00
David Anderson 138f17af40 *** empty log message ***
svn path=/trunk/boinc/; revision=12216
2007-03-13 19:33:27 +00:00
David Anderson e3dd5f75f9 *** empty log message ***
svn path=/trunk/boinc/; revision=12136
2007-02-21 22:27:35 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson 3b27b99b0e *** empty log message ***
svn path=/trunk/boinc/; revision=12056
2007-02-08 21:06:03 +00:00
David Anderson ac3e809427 *** empty log message ***
svn path=/trunk/boinc/; revision=12026
2007-02-02 17:12:07 +00:00
David Anderson a26b6a2215 *** empty log message ***
svn path=/trunk/boinc/; revision=11972
2007-01-25 23:39:06 +00:00
David Anderson 71fc6345b7 *** empty log message ***
svn path=/trunk/boinc/; revision=11957
2007-01-24 21:20:57 +00:00
David Anderson 2b3045ac49 *** empty log message ***
svn path=/trunk/boinc/; revision=11951
2007-01-24 19:31:49 +00:00
David Anderson cc9ab449e0 *** empty log message ***
svn path=/trunk/boinc/; revision=11872
2007-01-15 22:53:41 +00:00
David Anderson 3d43d682bf *** empty log message ***
svn path=/trunk/boinc/; revision=11640
2006-12-09 00:10:53 +00:00
David Anderson d3b1c45d64 *** empty log message ***
svn path=/trunk/boinc/; revision=11634
2006-12-07 17:30:48 +00:00
David Anderson adcd68afce *** empty log message ***
svn path=/trunk/boinc/; revision=11628
2006-12-06 20:59:29 +00:00
Charlie Fenton 6cd1958284 *** empty log message ***
svn path=/trunk/boinc/; revision=11559
2006-11-21 12:21:49 +00:00
David Anderson ecc969a351 *** empty log message ***
svn path=/trunk/boinc/; revision=11558
2006-11-21 00:45:22 +00:00
David Anderson e9161f7a05 *** empty log message ***
svn path=/trunk/boinc/; revision=11440
2006-11-01 23:36:13 +00:00
David Anderson 0257e48e2f *** empty log message ***
svn path=/trunk/boinc/; revision=11439
2006-11-01 22:40:30 +00:00
David Anderson 450c1737c3 *** empty log message ***
svn path=/trunk/boinc/; revision=11245
2006-10-04 17:02:58 +00:00
David Anderson 450f3c4f30 *** empty log message ***
svn path=/trunk/boinc/; revision=11241
2006-10-03 22:50:13 +00:00
David Anderson 631883dfe2 *** empty log message ***
svn path=/trunk/boinc/; revision=11238
2006-10-03 17:24:25 +00:00
David Anderson 883ea45c62 *** empty log message ***
svn path=/trunk/boinc/; revision=11237
2006-10-03 17:14:56 +00:00
David Anderson 5e406b783c *** empty log message ***
svn path=/trunk/boinc/; revision=11236
2006-10-03 15:43:38 +00:00
David Anderson fde92c7d86 *** empty log message ***
svn path=/trunk/boinc/; revision=11225
2006-10-02 17:44:27 +00:00
David Anderson 14a7fb85f6 *** empty log message ***
svn path=/trunk/boinc/; revision=11124
2006-09-08 19:27:42 +00:00
David Anderson db24601537 *** empty log message ***
svn path=/trunk/boinc/; revision=11123
2006-09-07 20:39:25 +00:00
David Anderson b4105a1a3b *** empty log message ***
svn path=/trunk/boinc/; revision=11122
2006-09-07 18:19:25 +00:00
David Anderson 59d5508392 *** empty log message ***
svn path=/trunk/boinc/; revision=11107
2006-09-05 19:00:59 +00:00
Walt Gribben de89213743 *** empty log message ***
svn path=/trunk/boinc/; revision=11056
2006-09-01 02:04:21 +00:00
Charlie Fenton 59d49c5287 *** empty log message ***
svn path=/trunk/boinc/; revision=11032
2006-08-29 06:24:34 +00:00
David Anderson 6ae2249607 memory usage
svn path=/trunk/boinc/; revision=11020
2006-08-28 18:22:07 +00:00
David Anderson 20dea204ca *** empty log message ***
svn path=/trunk/boinc/; revision=10972
2006-08-22 20:58:57 +00:00
David Anderson edafe87ad4 *** empty log message ***
svn path=/trunk/boinc/; revision=10731
2006-07-22 18:24:01 +00:00
David Anderson 5f6d665ee3 *** empty log message ***
svn path=/trunk/boinc/; revision=10624
2006-07-11 22:52:17 +00:00
David Anderson 15fa53c622 *** empty log message ***
svn path=/trunk/boinc/; revision=10514
2006-06-26 17:09:23 +00:00
David Anderson 978c79f062 *** empty log message ***
svn path=/trunk/boinc/; revision=10467
2006-06-22 19:40:30 +00:00
David Anderson 1fa2e3de0a *** empty log message ***
svn path=/trunk/boinc/; revision=10393
2006-06-19 04:29:26 +00:00
David Anderson f4ffa949de CPU scheduler
svn path=/trunk/boinc/; revision=10365
2006-06-15 23:15:27 +00:00
David Anderson 85c2cfc698 *** empty log message ***
svn path=/trunk/boinc/; revision=10353
2006-06-15 05:14:39 +00:00
David Anderson df69518594 switcher
svn path=/trunk/boinc/; revision=10253
2006-06-05 04:30:16 +00:00