Commit Graph

24158 Commits

Author SHA1 Message Date
David Anderson 39edd6d3f8 remote job submission: improve error reporting 2014-04-12 10:05:59 -07:00
David Anderson 1e6e22449d remote job submission: minor bug fix 2014-04-11 15:54:41 -07:00
David Anderson ec8200d0eb Web: in PHP < 5.3.0, mysqli doesn't support persistent connections 2014-04-11 11:02:12 -07:00
Rytis Slatkevičius 69f0696829 Remove one more hardcoded download location; do not read read config file in a loop 2014-04-11 14:20:04 +03:00
Rytis Slatkevičius d56b399f55 Fix several undefined functions and parameters in remote job submission example 2014-04-11 14:00:50 +03:00
Rytis Slatkevičius 1b5d17944c Read download file location for remote job submission RPC (was hardcoded). 2014-04-11 12:39:51 +03:00
David Anderson fec574f4e8 create_work: increase the efficiency of bulk job creation
The job submission RPC handler (PHP) originally ran the
create_work program once per job.
This took about 1.5 minutes to create 1000 jobs.
Recently I changed this so that create_work only is run once;
it does one SQL insert per job.
Disappointingly, this was only slightly faster: 1 min per 1000 jobs.

This commit changes create_work to create multiple jobs per SQL insert
(as many as will fit in a 1 MB query, which is the default limit).
This speeds things up by a factor of 100: 1000 jobs in 0.5 sec.
2014-04-10 23:53:19 -07:00
David Anderson bb4f4194d0 scheduler: cap CPU time of reported results at elapsed time * ncpus
This affects only result display,
since CPU time is no longer used for anything.
2014-04-10 23:52:13 -07:00
David Anderson 0d6ea0018f Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-04-10 09:17:01 -07:00
David Anderson 641b2da0b3 admin web: fix bug that could cause badges to not get deleted properly. 2014-04-10 09:16:10 -07:00
Rom Walton bac89be769 VBOX: Only increment the elapsed time is both boinc_status.suspended is false and vm.suspended is false.
VBOX: Only change the elapsed time is the stop watch elapsed time is a positive value.

This is just weird (http://lhcathome2.cern.ch/test4theory/result.php?resultid=4289098):
2014-04-08 15:52:43 (6732): Status Report: Job Duration: '86400.000000'
2014-04-08 15:52:43 (6732): Status Report: Elapsed Time: '54506.443735'
2014-04-08 16:06:16 (6732): Status Report: Job Duration: '86400.000000'
2014-04-08 16:06:16 (6732): Status Report: Elapsed Time: '450358026.129327'
2014-04-10 12:12:33 -04:00
Rom Walton 7568de7c06 WINBUILD: Remove unneeded custom actions.
WINBUILD: Add missing RevokeBOINCUsersRights custom action.
2014-04-09 16:15:19 -04:00
Charlie Fenton e0a2dfac05 SCR: Fix Mac screen saver to dismiss on mouse move On OS 10.8 and OS 10.9. 2014-04-08 23:41:21 -07:00
Rom Walton 65ea84546e MGR: Remove validator resets when cancel is pressed, apparently it is no longer needed. 2014-04-08 17:03:29 -04:00
Rom Walton 3bceafe8af MGR: Re-enable cancel confirmation dialog in the wizard. 2014-04-08 16:37:39 -04:00
Rom Walton df8063fe6b MGR: Streamline an earlier commit and make it standard for all platforms. 2014-04-08 16:28:50 -04:00
Charlie Fenton 1e893a46ab MGR: Fix Manager hang on Mac when canceling out of Attach Wizard "Communicating with project / account manager" pages 2014-04-08 04:04:07 -07:00
Charlie Fenton ade41889a4 MGR: Fix some errors in Attach Wizard 2014-04-08 02:56:56 -07:00
Rom Walton df285c246a WINBUILD: Add custom actions to revoke all rights granted to BOINC based accounts that were granted during a service based install. 2014-04-07 16:56:52 -04:00
David Anderson 59e15f562f fix Win compile warning. 2014-04-07 10:34:45 -07:00
David Anderson 99a21e3443 remote job submission: create batches more efficiently
Change the "submit_batch" RPC handler to use the new feature of create_work
that lets you create multiple jobs in one command.
2014-04-07 10:14:32 -07:00
David Anderson c3cbf29af3 create_work: add --stdin option for more efficient batch creation
Previously if you wanted to create lots of jobs from a script (e.g. PHP)
you had to run create_work once per job.
With the --stdin option you run it once,
passing it a file (view stdin) with one line per job.
Each line can specify a command line and/or a set of input files.

On my server this gives a performance of about 1000 jobs per minute,
which is less than I would have expected,
but all the time is spent in doing MySQL inserts
so that's as good as we can do for now.

Also fix a bug in stage_file.
2014-04-07 09:07:00 -07:00
Rom Walton 0c003b782d MGR: Fix the use of validators in our implementation of Wizards. 2014-04-07 10:35:07 -04:00
Rom Walton 14d24440dc VBOX: Print out the decimal value for the random checkpoint value instead of a double. 2014-04-05 15:28:06 -04:00
Rom Walton 6f55578937 VBOX: Initialize the random number generator before asking for a random number. 2014-04-05 15:23:39 -04:00
Rom Walton 1a744614b6 VBOX: Introduce a random checkpoint offset value on initial start up to interleave the disk I/O when multiple vboxwrappers are running. 2014-04-05 14:28:33 -04:00
Rom Walton d9229aabe5 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-04-05 02:12:22 -04:00
Rom Walton 1fa7573de0 MGR: Remove our list control zebra striping in favor of the wxWidgets version. It bases the background color on the selected theme. 2014-04-05 02:11:48 -04:00
Charlie Fenton b2a98c8f38 Mac installer: fix a potential bug. 2014-04-04 02:17:46 -07:00
David Anderson 936556b4ac Admin web: don't use project banner; use stylesheets
It doesn't make sense to show the project banner in admin pages;
the banner typically has (broken) links to non-admin pages.

Also, include basic stylesheets in admin pages.
2014-04-03 12:14:37 -07:00
Rom Walton 7f88c53228 WINBUILD: Create CARestorePermissionBOINCData which will reset the permissions on the data directory on uninstall.
This is needed when the service install was selected and we will be removing the users and groups we created on install.
2014-04-03 13:14:14 -04:00
Rom Walton ee8bc5e786 WINBUILD: We no longer support Windows 95, merge the Win95 BOINCCAS code into the main BOINCCAS DLL. 2014-04-03 11:56:19 -04:00
Rom Walton 834162bee9 WINBUILD: Remove old 5.x to 6.x migration custom actions. 2014-04-03 11:13:11 -04:00
Rom Walton e40f265c2b WINBUILD: Update BOINCCAS project files to VS 2010 2014-04-03 11:06:23 -04:00
Charlie Fenton 71b8dc4dc3 MGR: Change keyboard shortcut for Diagnostic Flags dialog from control-shift-D to control-shift-F for both Advanced and Simple Views, because control-shift-D was already in use to select the Disks tab in Advanced View. 2014-04-03 04:52:00 -07:00
Charlie Fenton 0432a8e3f6 MGR: Move Diagnostic Flags dialog from Tools menus to Advanced Menu, add keyboard shortcut control-shift-D to both Advanced View and Simple View. 2014-04-03 01:21:56 -07:00
Rom Walton 44463ddba8 client: Remove a GetProcAddress() call. Call GetNativeSystemInfo() directly. 2014-04-03 02:16:23 -04:00
Rom Walton 0659dee3f0 client: Remove unneeded defines (They are included in the VS 2010 Windows SDK). 2014-04-03 01:59:17 -04:00
David Anderson fc7c75b200 server: parse peak memory/disk info from client, store in DB, display in web
The latest client reports the peak working set size, swap size,
and disk usage for completed jobs.
Add fields to the results table to store these.
Parse them in scheduler request messages, and write to the DB.
Display them in the result web page.

This data can be used to improve (or even automate)
the job estimates for memory and disk usage.
2014-04-02 19:35:59 -07:00
David Anderson 06a701aefb Manager: message tweak 2014-04-02 09:50:08 -07:00
Charlie Fenton dad13f8e88 MGR: Fix a potential memory leak in new Diagnostics dialog 2014-04-02 06:22:31 -07:00
Charlie Fenton a30b052aa8 MGR: Fix compiler warning 2014-04-02 04:43:47 -07:00
Charlie Fenton 82ec99dd7e Cosmetic tweak for Windows and Linux when pressing Diagnostics dialog's Default button 2014-04-02 04:39:20 -07:00
Charlie Fenton b329278b92 MGR: Fixes to Diagnostics dialog:
- Cosmetic fixes for Windows
  - Default button restores default values in dialog but does not write cc_config file or close the dialog
2014-04-02 04:12:05 -07:00
David Anderson 1193a874ed Client: tweaks to last commit 2014-04-02 01:49:00 -07:00
David Anderson b1a6fa39fc Client: keep track of job's peak WSS, swap size, and disk usage; send to server
Also fixed a bug where, if a job was aborted while not running,
its final CPU and elapsed time weren't copied from ACTIVE_TASK to RESULT,
hence not sent to scheduler
2014-04-02 00:56:15 -07:00
David Anderson 1be9c1e0b1 lib: add code to write GPU exclusions in CC_CONFIG XML 2014-04-02 00:54:14 -07:00
Rom Walton 7d153c34a7 WINBUILD: Update to version 7.3.15 2014-04-01 17:58:45 -04:00
Rom Walton f9d1c219bd - Tag for 7.3.15 release
client_release/7.4/7.3.15
2014-04-01 12:19:26 -04:00
David Anderson e2ffe54c73 Client: remove unnecessary CPU benchmarking
On client startup, decide whether we need to do CPU benchmarks
(cmdline option was set, or we haven't done them for 30 days).
If so, do them when possible.
2014-04-01 00:31:26 -07:00