Commit Graph

7878 Commits

Author SHA1 Message Date
David Anderson 08af46829a - credit test program: create a data file separately so you
don't have to do a big DB query each time


svn path=/trunk/boinc/; revision=20837
2010-03-11 04:19:07 +00:00
Charlie Fenton 00d0a6ccc7 MGR: Improve performance when reducing number of rows in lists (as when selecting "Show active tasks")
svn path=/trunk/boinc/; revision=20832
2010-03-11 01:14:07 +00:00
David Anderson 8f3d111f5c - client: don't suspend non-CPU-intensive jobs because of CPU load
svn path=/trunk/boinc/; revision=20825
2010-03-10 18:59: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 0ad0886df3 - server credit stuff.
New policy: anon platform and old platform jobs
    get average credit, possibly scaled by elapsed time.
    We no longer attempt to guess what app version produced them.

svn path=/trunk/boinc/; revision=20816
2010-03-10 00:33:31 +00:00
David Anderson 8062f21d59 - server credit stuff (partial checkin)
svn path=/trunk/boinc/; revision=20810
2010-03-09 04:15:10 +00:00
David Anderson 7e34f25942 - web RPC: generalize team lookup so that you can look up multiple
teams in one RPC.  From Willy de Zutter.

svn path=/trunk/boinc/; revision=20808
2010-03-06 20:25:58 +00:00
David Anderson 295d4b54ea - server: major improvements to locality scheduling from Einstein@home.
Triggering the work generator is now done via the DB
    instead of flat files.

    Since only E@h uses locality scheduling,
    I kept the DB changes in a separate file (db/schema_locality.sql).
    There's a new field in the workunit table,
    and that's a required update (in db_update.php)
- manager: compile fix


svn path=/trunk/boinc/; revision=20807
2010-03-05 22:55:16 +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
Bernd Machenschalk 99d7de0508 fix to compile boinc_api.cpp on Windows
looks like copy/paste error, retval is not defined there
    David, please review & change if necessary

svn path=/trunk/boinc/; revision=20802
2010-03-05 14:14:36 +00:00
Bernd Machenschalk b60fe84bc4 for now maintain (install, uninstall) header files in both BOINC/ and boinc/
svn path=/trunk/boinc/; revision=20801
2010-03-05 12:51:22 +00:00
Bernd Machenschalk 325fc46261 include sys/types.h for gid_t
svn path=/trunk/boinc/; revision=20800
2010-03-05 12:43:52 +00:00
Charlie Fenton 5a08d16602 MGR: Allow compile-time choice of either rules or alternating gray and white background stripes in lists
svn path=/trunk/boinc/; revision=20799
2010-03-05 07:04:58 +00:00
David Anderson 3b1cc344f4 - client: don't start new network activity if CPU benchmarks in progress
svn path=/trunk/boinc/; revision=20798
2010-03-04 22:51:03 +00:00
Rom Walton 6258c89a1c - MGR: Restore wxGTK hacks, bug is still alive and well.
clientgui/
        AdvancedFrame.cpp
        Events.h

svn path=/trunk/boinc/; revision=20794
2010-03-04 19:35:16 +00:00
Rom Walton 70316084ab - MGR: Remove some hacks to deal with early wxGTK bugs which have since
been fixed.

    clientgui/
        AdvancedFrame.cpp
        Events.h

svn path=/trunk/boinc/; revision=20792
2010-03-04 18:57:53 +00:00
Charlie Fenton 5f62c184c0 MGR: in Event Log: enable, disable buttons immediately when selecting or deselecting items; fix Mac-only drawing bug when window is inactive.
svn path=/trunk/boinc/; revision=20789
2010-03-04 12:06:18 +00:00
Charlie Fenton 46e2905e95 MGR:Don't alternate gray and white backgrounds in lists; use wxLC_HRULES flag instead.
svn path=/trunk/boinc/; revision=20787
2010-03-04 10:35:02 +00:00
David Anderson 5b7f8b8348 - web: fix bug that caused "send email" and "show hosts"
in project prefs to always select "no"


svn path=/trunk/boinc/; revision=20786
2010-03-04 04:16:00 +00:00
David Anderson c0ad0f3745 - update_versions: if file is already in download dir,
and is the same, don't copy (it might not be writeable)
- client: change "result" to "task" in user-visible messages

svn path=/trunk/boinc/; revision=20785
2010-03-03 23:52:20 +00:00
David Anderson a8ed958cd6 - scheduler: cuda_fermi class needs CUDA version 3.0+
- boinccmd: "result" -> "task"

svn path=/trunk/boinc/; revision=20784
2010-03-03 22:36:36 +00:00
Rom Walton c97d777998 - client: more Windows SKU detection changes
(from: [P3D] Crashtest)

    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=20782
2010-03-03 22:06:03 +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
Rom Walton 84554063f1 - MGR: Use theme colors when setting up the color scheme for list items.
The previous use of gray just happened to be the same color as the
        deselected but highlighted list item which caused the 'gray'
        backgrounded items to display a white background after Windows
        inverted the color for highlighting. By using theme colors we avoid
        having to worry about such things.
        
    clientgui/
        BOINCBaseView.cpp
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=20780
2010-03-03 18:46:21 +00:00
Charlie Fenton 7ba5ea88b2 MGR: Save & restore separate size info for project, task property dialogs; save positions on Mac
svn path=/trunk/boinc/; revision=20775
2010-03-03 01:47:41 +00:00
David Anderson 87a8fb1aee - client: generalize the GUI RPC mechanism to access via HTTP.
The handler checks for POST headers,
		and if present adds a reply header.
		Also: remove the restriction that request messages
		must be read in their entirety on the first recv().

		I'm testing this using javascript's XMLHttpRequest.
		It's not completely working;
		the browser sends an OPTIONS request, then sends a POST.
		The BOINC client parses and replies to these,
		but for some reason the browser doesn't seem to be
		parsing the POST reply.

svn path=/trunk/boinc/; revision=20774
2010-03-02 22:52:22 +00:00
David Anderson fe67e7c4e9 - add remote job submission system (from Toni Giorgino)
svn path=/trunk/boinc/; revision=20773
2010-03-02 19:39:40 +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
Rom Walton 4f2c78d4e9 - client: Add missing European SKUs to the host detection code.
(from: Robert Kreß)
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=20771
2010-03-02 18:04:27 +00:00
Charlie Fenton f2f7983200 Fix typo in checkin notes
svn path=/trunk/boinc/; revision=20770
2010-03-02 13:25:23 +00:00
Charlie Fenton 4a2bc02de8 Fix typo in checkin notes
svn path=/trunk/boinc/; revision=20769
2010-03-02 13:25:02 +00:00
Charlie Fenton 0d7783178f MGR: Keep getting messages even if the Event Log is not open fo prevent loss of data
svn path=/trunk/boinc/; revision=20768
2010-03-02 13:24:22 +00:00
Charlie Fenton bf7b3e552b MGR: Fix more Event Log bugs
svn path=/trunk/boinc/; revision=20767
2010-03-02 13:09:06 +00:00
David Anderson 2a12a8fb8b - client: if suspending apps because of CPU benchmarks,
leave them in memory

svn path=/trunk/boinc/; revision=20765
2010-03-02 01:24:03 +00:00
Rom Walton 2a5248cf39 - client: Improve error checking with CPU detection features.
- lib: cleanup some warnings.
    
    client/
        hostinfo_win.cpp
    lib/
        str_util.h

svn path=/trunk/boinc/; revision=20764
2010-03-02 00:21:40 +00:00
David Anderson 9020d0b715 - server: if MySQL version is 5.0.19 <= v < 5.1,
set the reconnect option before real_connect() instead of after.
    From Oliver Bock.

svn path=/trunk/boinc/; revision=20763
2010-03-01 19:12:19 +00:00
David Anderson 0a9f5d1433 - client: fix bug that interfered with work fetch
for particular resources in anonymous platform case.

svn path=/trunk/boinc/; revision=20755
2010-03-01 04:35:39 +00:00
David Anderson b7d48765a8 - client: if have coproc jobs but coproc is missing,
skip those jobs in RR sim.
    Otherwise we add stuff to uninitialized data structures,
    and a crash can result.
- client: initialize the above data structures anyway


svn path=/trunk/boinc/; revision=20753
2010-02-28 04:32:10 +00:00
David Anderson dc0b76494c - client: if suspend a file xfer, set upload_offset to -1;
that way it will query server for file length when it resumes,
		rather than uploading from the beginning
	- client: back out SEH handling for GPU detection

svn path=/trunk/boinc/; revision=20750
2010-02-27 01:04:14 +00:00
David Anderson f82216e203 - scheduler: add plan class "cuda_fermi":
requires CUDA 2.3 and compute capability 2.0+

svn path=/trunk/boinc/; revision=20748
2010-02-26 23:45:12 +00:00
David Anderson 09b0a9f93c - admin web: reorganize main page;
add "transition all" command

svn path=/trunk/boinc/; revision=20745
2010-02-26 21:34:20 +00:00
Rom Walton 04b6570f96 - client: Add SEH handlers around the Nvidia and ATI detection
routines.  Take care of situations where something within
        the vendors functions cause a crash.
        
    client/
        coproc_detect.cpp

svn path=/trunk/boinc/; revision=20744
2010-02-26 18:03:39 +00:00
Charlie Fenton a40f1516a7 MGR: Add to Event Log filtering by project, gray & white alternating backgrounds, dimming when connection lost
svn path=/trunk/boinc/; revision=20741
2010-02-26 12:32:38 +00:00
Charlie Fenton 804be2ad2a MGR: Save and restore height and width of Properties dialog; fix comments
svn path=/trunk/boinc/; revision=20738
2010-02-26 09:18:53 +00:00
Rom Walton 24f49eac73 - WIN: Add some missing CPU features to the feature list
- WIN: Make sure the Brand string for a CPU is printable. Older Intel
        processors have some control characters.
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=20729
2010-02-25 15:48:54 +00:00
Charlie Fenton 16e1ca0485 MGR: Fix Advanced Dialog sizer bug on Mac, make it no longer resizeable by user.
svn path=/trunk/boinc/; revision=20727
2010-02-25 09:48:57 +00:00
David Anderson 6214524fbe - web: translation typo
svn path=/trunk/boinc/; revision=20712
2010-02-23 22:09:11 +00:00
Rom Walton a5bbf07ccc - client: Add a function to the client software to be able to detect
the number of bytes sent and received across all non-loopback
        interfaces.
        
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=20704
2010-02-23 05:13:54 +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 04425c51af - web: translation stuff
svn path=/trunk/boinc/; revision=20657
2010-02-19 17:51:00 +00:00