Commit Graph

2329 Commits

Author SHA1 Message Date
David Anderson bba4ce24ce - client: compute projects' disk share (based on resource share).
Report it (along with disk usage) in scheduler request messages.
    This will allow the scheduler to send file-delete commands
    if the project is using more than its share.
- client: add <disk_usage_debug> log flag
- create_work: add --help, show --command_line option


svn path=/trunk/boinc/; revision=24968
2012-01-02 05:53:42 +00:00
Rom Walton 741eb51893 - client: processor features buffer is supposed to be 1024 bytes. avoid
truncation.
        
    lib/
        hostinfo.cpp

svn path=/trunk/boinc/; revision=24945
2011-12-30 15:59:46 +00:00
David Anderson 95ebb112c2 - client: for VBox apps, check stderr for "ERR_CPU_VM_EXTENSIONS_DISABLED".
If found, set HOST_INFO::p_vm_extensions_disabled,
    and pass this to the scheduler.
- scheduler (VBox app plan function) if a host has p_vm_extensions_disabled
    set, don't sent it multicore VBox jobs.

Note: if you have a host with VM extensions, and they're disabled
    in the BIOS, and you enable them, you can remove the
    <p_vm_extensions_disabled> line from client_state.xml
    and you'll be eligible to get multicore VM jobs again.


svn path=/trunk/boinc/; revision=24944
2011-12-30 09:43:58 +00:00
David Anderson fc6d530a6c - client: shuffle disk usage code in preparation for disk accounting
- use new XML parser in some GUI RPC code


svn path=/trunk/boinc/; revision=24925
2011-12-28 14:52:03 +00:00
Rom Walton 5233d1543c Quick Updates
svn path=/trunk/boinc/; revision=24908
2011-12-26 17:18:18 +00:00
David Anderson b003b8e290 - add support for APP::needs_network flag.
If set, don't run jobs for that app while network is suspended.
		- client: parse this flag and maintain in state file;
			do a job reschedule when network suspend state changes
		- GUI RPC: add RESULT::network_wait flag;
			if set, this job is waiting for network access to be allowed
		- Manager: display the above in task info
	- add support for "web graphics URL" (see above)
		- client: parse message containing URL on graphics_reply channel
			and store in ACTIVE_TASK::web_graphics_url
		- GUI RPC: add RESULT::web_graphics_url
		- Manager: if web graphics URL is present, Show Graphics opens a browser
	- remove some vestigial code for pre-V6 graphics

svn path=/trunk/boinc/; revision=24899
2011-12-26 03:30:32 +00:00
David Anderson 5c02170d5a - storage simulator: add stats for network load and fault tolerance.
- client: msg tweak
- client: minimum work buffer lower bound is 180 sec
- scheduler: in computing HOST_USAGE::project_flops for a job,
    if we don't have sufficient elapsed_time statistics
    for either the (host, app_version) or the app_version,
    use a conservative estimate (p_fpops*(#cpus+#ngpus))
    rather than the number returned by app_plan().
    This avoids "time limit exceeded" errors when the latter is way off.


svn path=/trunk/boinc/; revision=24820
2011-12-16 19:45:31 +00:00
David Anderson 819360dfe8 - scheduler: encode CAL version numbers in a way that handles
release #s > 1000


svn path=/trunk/boinc/; revision=24746
2011-12-06 19:41:14 +00:00
David Anderson e8027a224e - client: isdigit() asserts if its arg is negative (which it can be).
Call isascii() first.
	- GUI RPC lib: add some consts

svn path=/trunk/boinc/; revision=24726
2011-12-04 19:02:36 +00:00
David Anderson dd93780787 - API and client: add "ncpus" field to APP_INIT_DATA.
Tells multicore apps how many cores to use.
    The --nthreads command line arg to the app is now deprecated
    though we'll keep it around for the time being.


svn path=/trunk/boinc/; revision=24708
2011-12-01 18:44:19 +00:00
David Anderson 4111916c4f - wrapper: measure CPU time of app's process tree,
not just the top-level process
- wrapper: handle fraction-done files correctly


svn path=/trunk/boinc/; revision=24664
2011-11-29 15:06:08 +00:00
David Anderson 9279ef467e - GUI RPC client lib: change setsockopt() for receive timeout
to work on Windows.  From Fred.


svn path=/trunk/boinc/; revision=24648
2011-11-24 21:16:32 +00:00
David Anderson f590ccc0af - storage simulator work
svn path=/trunk/boinc/; revision=24619
2011-11-19 00:29:55 +00:00
Charlie Fenton 031ec10629 Remove Mac Availability Macro and weak-link support from cl_boin.ch
svn path=/trunk/boinc/; revision=24618
2011-11-18 00:05:19 +00:00
Charlie Fenton fb27092cc7 Remove include of boinc_cl.h from parse.h; it is no longer needed
svn path=/trunk/boinc/; revision=24617
2011-11-17 12:19:24 +00:00
David Anderson 6e1414a07f - scheduler: increase buffer for global prefs from 8K to 64K
- lay the groundwork for changing it to std::string


svn path=/trunk/boinc/; revision=24595
2011-11-15 00:11:12 +00:00
David Anderson a7e7da6bff - client: show error messages (as notices) when get an error
parsing cc_config.xml
- client: if an <exclude_cpu> element in cc_config.xml
    specifies a nonexistent app, show an error msg with
    a list of existing app names
- web: increase the default mem limit from 64MB to 256MB
    TODO: change user_hosts.php to show N at a time


svn path=/trunk/boinc/; revision=24593
2011-11-14 23:31:12 +00:00
David Anderson a4f09b9c1b - intermediate checkin so that I can edit on Unix
svn path=/trunk/boinc/; revision=24592
2011-11-14 23:05:42 +00:00
Rom Walton c85668d044 Quick Updates
svn path=/trunk/boinc/; revision=24571
2011-11-10 17:41:13 +00:00
Rom Walton e732b9d2ef - client & lib: Update the OpenCL header to include calling conventions
and weak link information for Mac machines.

    lib/
        cl_boinc.h

svn path=/trunk/boinc/; revision=24570
2011-11-10 17:35:26 +00:00
Jeff Cobb 2e526a0956 server: more fixes to DB to handle unsigned result IDs
svn path=/trunk/boinc/; revision=24564
2011-11-09 20:24:48 +00:00
David Anderson ad2f3771da - client: fix bugs when writing/parsing cc_config.xml via GUI RPCs
(e.g. when editing it via the Manager).
    Include only the GPUs that were specified in the original cc_config.xml,
    not those detected by the client.
- client: fix bug that failed to require authorization for
    GUI RPCs that are supposed to be authorized
- client: report parse errors in acct_mgr_url.xml and acct_mgr_login.xml
- fix compile warnings
- user web: in sample project_specific_prefs.inc,
    get app names from the DB instead of listing them in the PHP code.


svn path=/trunk/boinc/; revision=24518
2011-11-03 19:19:36 +00:00
David Anderson 690e18bbe3 - server: plan class names containing 'nvidia' or 'cuda'
are assumed to be for NVIDIA GPU apps;
    plan class names containing 'ati' are assumed to be for AMD GPU apps.
    Clauses for 'nvidia' were missing in a couple of places.


svn path=/trunk/boinc/; revision=24512
2011-11-03 05:26:19 +00:00
Rom Walton 687195e7f0 Quick Updates
svn path=/trunk/boinc/; revision=24510
2011-11-03 02:35:04 +00:00
David Anderson d2e5ed17cf - client: smoothed working-set size wasn't being computed correctly.
It was always just the most recent size.


svn path=/trunk/boinc/; revision=24500
2011-10-26 23:23:01 +00:00
David Anderson 77e3c4d06c - API: compile fixes for MinGW. From Oliver Bock.
svn path=/trunk/boinc/; revision=24474
2011-10-24 23:38:19 +00:00
David Anderson 6043d44d59 - compile warning fix
svn path=/trunk/boinc/; revision=24461
2011-10-22 07:02:04 +00:00
David Anderson b99390e8dd - fix NVIDIA peak FLOPS
svn path=/trunk/boinc/; revision=24454
2011-10-21 18:08:45 +00:00
David Anderson da55db138a - scheduler: fix calculation of ATI peak FLOPS;
older clients don't report have_cal.


svn path=/trunk/boinc/; revision=24452
2011-10-21 17:44:18 +00:00
David Anderson 53af2ae778 - client/API: pass bool using_sandbox in APP_INIT_DATA;
says whether the client is using account-based sandboxing.
    Needed by vboxwrapper.
- web: don't show authenticator in Your Account page.
    The problem with authenticators is that if a bad guys gets yours,
    they can log in to your account even if you change your password.
    Eventually we should not use them at all
    (i.e. in cookies and sent to client).
- make_project: copy python stuff (e.g. bin/start) for web-only projects;
    generate appropriate project.readme file for web-only projects.


svn path=/trunk/boinc/; revision=24447
2011-10-21 06:58:35 +00:00
David Anderson ddc859c0b3 - client simulator: bug fix
svn path=/trunk/boinc/; revision=24437
2011-10-19 17:45:10 +00:00
David Anderson 68b3fe6b19 - client: fix crashing bug when there's a cycle in the process graph.
I had fixed this in one place but not another.
- client: don't memset(0,) a PROCINFO; use clear() instead


svn path=/trunk/boinc/; revision=24431
2011-10-19 07:49:23 +00:00
David Anderson b95ac02c5b - client: change the way project priorities are computed,
so that they do what they're supposed to
    (i.e. enforce resource shares)
- client: change log flag <debt_debug> to <priority_debug>
- client simulator: update REC even with large delta-t.
- client simulator: handle "no new work" apps correctly


svn path=/trunk/boinc/; revision=24429
2011-10-19 06:37:03 +00:00
Charlie Fenton 785a0b49c2 Mac: Update Mac build scripts, XCode project and source files to allow automated builds under OS 10.7 Lion and XCode 4.2
svn path=/trunk/boinc/; revision=24414
2011-10-18 12:42:53 +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
Eric J. Korpela b0c0daa8ce -Fixed bug in xml_unescape() that caused a segfault if an entity of the form
&#NNN; was truncated.

svn path=/trunk/boinc/; revision=24409
2011-10-17 23:13:13 +00:00
David Anderson 1bacc6c5cb - client: show OpenCL version correctly on Win
svn path=/trunk/boinc/; revision=24402
2011-10-14 20:44:00 +00:00
Rom Walton afb727eba3 - Remove dead code related to v5 graphics applications from the
client software.
    
    client/
        boinc_cmd.cpp
    clientgui/
        AsyncRPC.cpp, .h
        BOINCGUIApp.cpp, .h
        MainDocument.cpp
    clientgui/gtk/
        taskbarex.cpp
    clientscr/
        screensaver.cpp
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp
    win_build/
        win-config.h

svn path=/trunk/boinc/; revision=24398
2011-10-14 19:02:43 +00:00
Charlie Fenton 7bde8c785f client: fix NVIDIA driver version and CUDA version display for Mac
svn path=/trunk/boinc/; revision=24382
2011-10-12 01:15:35 +00:00
Charlie Fenton af369205a0 client: fix NVIDIA driver version and CUDA version display for Mac
svn path=/trunk/boinc/; revision=24381
2011-10-12 00:21:04 +00:00
David Anderson 0793e66ff7 - client and user web: show NVIDIA driver version and CUDA version
as, e.g., 275.33 instead of 27533


svn path=/trunk/boinc/; revision=24378
2011-10-11 18:57:49 +00:00
David Anderson cb3cdae1a5 - client/server: add a new result state RESULT_UPLOAD_FAILED
for when the job completed successfully but
    one or more output files had permanent upload failures.
    Show this state in web interfaces.
- sample_work_generator: check return value of count_unsent_results(),
    so that we don't generate infinite work if there's a DB problem
- web: RSS feed shows news items from last 90 days, rather than 14


svn path=/trunk/boinc/; revision=24377
2011-10-11 17:41:10 +00:00
Rom Walton edbbf54a92 - client: Fix crashing bug in OpenCL detection on Windows.
- lib: Fix crashing bug for debug builds of the BOINC client
    
    client/
        coproc_detect.cpp
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=24363
2011-10-10 14:21:08 +00:00
Charlie Fenton 89a6164e64 code cleanup
svn path=/trunk/boinc/; revision=24362
2011-10-10 12:36:26 +00:00
Charlie Fenton e456d3c831 code cleanup
svn path=/trunk/boinc/; revision=24361
2011-10-10 11:50:00 +00:00
Charlie Fenton 33bebdc50a code cleanup
svn path=/trunk/boinc/; revision=24360
2011-10-10 07:09:24 +00:00
David Anderson e00b080b5e - scheduler: fix crashing bug when using HR. From Kevin Reed.
svn path=/trunk/boinc/; revision=24355
2011-10-08 08:16:24 +00:00
David Anderson dd3b628748 - client: compare OpenCL-only devices the same as other devices
- code cleanup


svn path=/trunk/boinc/; revision=24354
2011-10-08 06:33:39 +00:00
Charlie Fenton 3645b573a9 client: Compare openCL-only devices by estimated peak flops
svn path=/trunk/boinc/; revision=24351
2011-10-08 01:20:44 +00:00
David Anderson dc7e407532 - client/scheduler: the code for estimating peak FLOPS of ATI GPUs
(from Crunch3r) has a multiplier of 2.5 for cores/processor.
    This is possibly because give a double-precision estimate.
    But actually we want single-precision.  Change it to 5. See
    http://golubev.com/about_cpu_and_gpu_2_en.htm


svn path=/trunk/boinc/; revision=24349
2011-10-07 21:59:07 +00:00