Commit Graph

5075 Commits

Author SHA1 Message Date
Charlie Fenton 29b50b9276 client: fix build break on Mac 2013-10-03 23:26:20 -07:00
Rom Walton 7cca8a59eb client: Add vm_extensions_disabled as an element to APP_INIT_DAATA. We can use the additional information to selectively enable/disable hardware acceleration in VirtualBox. 2013-10-03 23:52:05 -04:00
Rom Walton 310acf1892 client: Initialize diagnostics framework for the sub-second CPU throttler. 2013-10-03 20:24:42 -04:00
Rom Walton 2cd108af7e client: Initialize diagnostics framework for the power management and proxy detection threads on Windows 2013-10-03 20:15:20 -04:00
Eric J Korpela 05b6bfdfa1 Fix for signal handler type change. 2013-09-27 17:41:44 -07:00
David Anderson 35f489d36f Client: debug sub-second CPU throttling 2013-09-20 23:18:33 -07:00
David Anderson ebde7809ce client: preliminary implementation (commented out) of sub-second throttling 2013-09-20 14:30:04 -07:00
David Anderson f4cfc8a624 client: message tweak 2013-09-17 13:35:28 -07:00
David Anderson dd41c91c32 client: message tweaks 2013-09-17 13:05:06 -07:00
David Anderson 826ab1d945 Client (Android): add device_name field to DEVICE_STATUS, so that GUI can tell client the device name 2013-09-10 18:04:34 -07:00
Rom Walton c532e1f454 client: misc bug fixes for CPU feature detection. 2013-09-09 12:19:18 -04:00
Rom Walton 74e12f6bcc client: Add missing code to properly detect AVX on Windows. It'll go into affect when we fully convert over to VS2010. 2013-09-09 11:54:42 -04:00
David Anderson 9024f8cc18 Client: change length of old-results log from 24 hours to 1 hour 2013-09-08 12:52:10 -07:00
David Anderson d6398b0834 Client and boinccmd: fixes for get_old_results GUI RPC
- Add binding for get_old_results GUI RPC
- Add --get_old_tasks option to boinccmd
- Compile fixes for gcc (can't have a var named "or")
2013-09-08 12:11:09 -07:00
David Anderson dd7c8335f3 Client: keep an in-memory list of reported tasks in the last 24 hours, and add a GUI RPC for fetching this list 2013-09-07 18:30:05 -07:00
David Anderson c1bddf4252 client: allow <app_version> elements in app_config.xml, allowing users to override the parameters of particular app versions 2013-09-06 15:41:43 -07:00
David Anderson 44f0928a7a Android compile fix 2013-08-28 00:17:51 -07:00
David Anderson 51e173d595 Client (Android): move whetstone.h into cpu_benchmark.h 2013-08-27 21:25:04 -07:00
David Anderson 98123560e2 Condor: add variant of uppercase that processes multiple files 2013-08-27 21:24:01 -07:00
David Anderson 9acf242f93 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-08-27 21:10:00 -07:00
David Anderson 7b2ca9e787 Client (Android): run the Whetstone benchmarks using VFP or Neon if available. From Carl. 2013-08-27 21:08:02 -07:00
David Anderson 420dadd3e9 client (Android): fix bug that cause wrong domain name to be shown.
I moved get_host_info() after parse_state_file() in the init,
since on Android we need to get the domain name from the state file
before calling get_host_info().
Hopefully this won't cause other problems.
2013-08-27 12:13:18 -07:00
David Anderson d9ee74fc41 client: AMD GPU naming tweak 2013-08-26 20:07:21 -07:00
Charlie Fenton cb46429336 client: Clarify comment about max RAM size reported by OpenCL CPU detection 2013-08-26 17:14:54 -07:00
Rom Walton f1df32e4e3 android: Add host name to the list of items we dump to the event log at startup. It should help volunteers determine which device is which when matching it up to a project's website. 2013-08-26 13:12:39 -04:00
Rom Walton 8d115edf35 android: Rename existing android devices which have the domain_name 'localhost'. Parsing of the existing host info structure in the client_state.xml file happens before the detection routines are executed. 2013-08-26 12:46:19 -04:00
Rom Walton 1deb7a13bb android: fix build break 2013-08-23 15:47:39 -04:00
David Anderson b10348ca1a client (Android): use random string for domain name
- parse domain_name from state file
- if it's empty, generate one of the form android_xxxxxxxx
- don't use MAC address
2013-08-22 23:50:13 -07:00
David Anderson 6b5285ba04 client: more MAXPATHLEN fixes 2013-08-22 17:06:09 -07:00
Charlie Fenton 53eceeb71e client: better error handling for OpenCL CPUs 2013-08-22 07:25:36 -07:00
Charlie Fenton 8a2d5d8c50 client: better error handling for OpenCL CPUs 2013-08-22 07:02:59 -07:00
Charlie Fenton c5724ca325 client: For compatibility with boinc_get_opencl_ids(), don't include CPU when enumerating opencl_dev_index 2013-08-22 06:16:36 -07:00
Charlie Fenton eb15b04d4a client: implement support for OpenCL detection of CPUs
Notes:
- The same CPU can have a different cpu_opencl_prop for each of multiple OpenCL platforms.  We send them all to the project server because:
   - Different OpenCL platforms report different values for the same CPU.
   - Some OpenCL CPU apps may work better with certain OpenCL platforms.
- OpenCL has only 64 bits for global_mem_size, so it can report a max of only 4GB; get the CPU RAM size from gstate.hostinfo.m_nbytes.
2013-08-22 05:06:54 -07:00
David Anderson e401380d5c admin web: fix PHP errors in failure page 2013-08-16 22:21:12 -07:00
David Anderson fc8eca4216 client: if we request work from a project and don't get any notices, clear that project's scheduler notices
I.e. if you got an "insufficient disk space" notices, and you fixed the problem, the notice should go away.
2013-08-13 14:56:37 -07:00
David Anderson 18f797b6bf client (Android): in check_suspend_processing(), check CPU throttling last. That way if suspend_reason is CPU_THROTTLING, the GUI knows that there is no other source of suspension. 2013-08-13 14:16:18 -07:00
David Anderson d980f70163 client and manager: the set_cc_config and get_cc_config GUI RPCs had nonstandard replies, which weren't parsed correctly by the calling code.
The reply from a GUI RPC that don't return info is one of:
<success/>
<error>error message</error>
<status>N</status>
2013-08-11 00:23:41 -07:00
David Anderson 9607f3342c client, FreeBSD: report "pni" instead of "sse3" 2013-08-08 11:52:01 -07:00
David Anderson 1dac077a05 client: message tweak 2013-08-08 10:59:49 -07:00
David Anderson 59ba61b323 client (Android): don't use network preferences
Many Android users had existing preferences with settings like
"don't compute when idle" that make sense for PCs but not mobile devices.
When this pref is enforced on Android, no computing happens
and user confusion results.
We're addressing this by using only local prefs on Android.
We considered other approaches - e.g. having a "mobile" venue -
but they're too complex.
2013-08-04 15:13:26 -07:00
David Anderson c3485cd6a9 client (Android): allow GUI to pass MAC address to client via set_host_info(). If domain name is "localhost" and MAC address is nonempty, use MAC address instead of domain name when showing host on project web page. 2013-08-03 18:42:11 -07:00
David Anderson 9d43d18011 client: include project resource shares in account manager request message 2013-08-03 13:13:54 -07:00
David Anderson e2901ebf9a client: initialize device_status_time (shouldn't make any difference) 2013-08-02 13:34:44 -07:00
David Anderson e85a18289e client (win): fix typo in last commit 2013-07-30 10:47:54 -07:00
David Anderson 57afbc26ba client: improved CPU type and feature detection. From [P3D Crashtest] 2013-07-30 10:35:45 -07:00
Charlie Fenton 7d372d2803 Fix warnings of class or global variables shadowed by local variables or arguments 2013-07-29 01:31:09 -07:00
Joachim Fritzsch 9ac8818c19 android: attempt to fix bug #1300, number of cpu cores detection.
Parsing information at /sys/devices/system/cpu/present should represent possible number of CPUs indepentendly of CPU throttling.
2013-07-24 15:21:06 +02:00
Rom Walton 9b2d0f992f client: Add detection of the AVX instruction set for newer processors 2013-07-22 13:08:36 -04:00
Joachim Fritzsch 520b9852d7 android: bug fix for number cpu core detection. issue #1300.
previous attempt to only read sysconf for number of cores is insufficient, due to a bug in the Android system. Bug got fixed in April 2012 but is still present on many devices.

workaround: read /sys/devices/system/cpu and parse number of cores from there. sysconf uses /proc/stat/ which gets adapted to changes in cpu throttling. Read both sources and compare higher results.
2013-07-17 14:01:39 +02:00
David Anderson 4d0109e3fb Client: add test harness for file copy (make sure we can handle > 2GB) 2013-07-16 21:40:13 -07:00