boinc/client
David Anderson 8c44b2f165 client: fix bug that could cause idle CPUs/GPUs.
Review: job scheduling has 2 phases:
1) Make a list of jobs to run.  Add enough jobs to use all resources.
2) Actually run the jobs and preempt existing jobs.

The problem: checking for RAM usage limits
(i.e. making sure the sum of working sets is < RAM usage prefs)
is done in 2) but not 1).
So on a 1 CPU machine we might make a run list consisting of a single job,
which turns out not to fit in available RAM,
and we end up running nothing.

Solution: when we add a job to the run list that previously
exceeded RAM limits, don't count its resource usage.
That way we'll add more jobs to the run list,
and we'll have something to run in the end.
2016-08-15 11:48:39 -07:00
..
android
os2
scripts
win WCG: Update branding images and files for World Community Grid 2014-03-26 18:16:14 -04:00
Makefile.am Fixed avx detection on GCC windows compiles 2014-06-20 07:48:31 -07:00
Makefile.curl.am
Makefile.linux
acct_mgr.cpp GUI RPC: enclose message bodies in CDATA to avoid XML parse errors 2016-04-05 13:14:21 -07:00
acct_mgr.h client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 21:53:07 -05:00
acct_setup.cpp client & MGR: Unify the language around the setup cookie feature. 2016-02-19 10:40:49 -05:00
acct_setup.h client & MGR: Unify the language around the setup cookie feature. 2016-02-19 10:40:49 -05:00
app.cpp client: fix memory accounting for VM apps 2016-06-01 13:09:43 -07:00
app.h client: fix bug that could cause idle CPUs/GPUs. 2016-08-15 11:48:39 -07:00
app_config.cpp client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-16 00:18:05 -05:00
app_config.h client: report parse errors in app_config.xml correctly 2014-11-24 00:41:26 -08:00
app_control.cpp client: Check for a new process initialization error code when the user session is being logged off. 2016-06-01 22:48:44 -07:00
app_graphics.cpp
app_start.cpp client: fix build break on Mac introduced by commit 2cc9a0b, 2016-02-18 01:41:38 -08:00
async_file.cpp client: fix problems w/ tempfile generation for async file operations 2016-07-17 00:15:09 -07:00
async_file.h client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 23:34:18 -05:00
auto_update.cpp
auto_update.h
boinc.xml client: Inform Windows we know about Windows 10 2014-10-04 07:07:34 +02:00
boinc_cmd.cpp client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 19:43:05 -05:00
boinc_log.cpp client: Cleanup some dangerous function usage in boinclog. 2016-02-14 20:29:03 -05:00
build_po
check_security.cpp
check_state.cpp
client_msgs.cpp GUI RPC: enclose message bodies in CDATA to avoid XML parse errors 2016-04-05 13:14:21 -07:00
client_msgs.h
client_state.cpp client: fix bug that could cause idle CPUs/GPUs. 2016-08-15 11:48:39 -07:00
client_state.h WCG: New feature 'cookieless installs' 2016-02-08 15:51:33 -05:00
client_types.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
client_types.h client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 21:53:07 -05:00
coproc_sched.cpp cppcheck: Prefer prefix ++/-- operators for non-primitive types 2015-01-14 21:18:29 +01:00
coproc_sched.h client: code shuffle; move GPU scheduling code to new file 2014-05-01 23:53:55 -07:00
cpp.h client: get static host info items only on startup 2014-11-25 14:46:58 -08:00
cpu_benchmark.h
cpu_sched.cpp client: fix bug that could cause idle CPUs/GPUs. 2016-08-15 11:48:39 -07:00
cs_account.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
cs_apps.cpp cppcheck: Prefer prefix ++/-- operators for non-primitive types 2015-01-14 21:18:29 +01:00
cs_benchmark.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
cs_cmdline.cpp client: Remove unneeded SANDBOX ifdefs. Use g_use_sandbox instead. I left one in main.cpp since I do not know where check_security() is. 2014-07-27 13:19:11 -04:00
cs_files.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
cs_notice.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
cs_notice.h client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
cs_platforms.cpp client: tweak to remove Coverity warning 2015-10-14 01:29:30 -07:00
cs_prefs.cpp client: reduce delay restarting tasks after exclusize app exits 2016-01-28 19:58:18 -08:00
cs_proxy.cpp client: don't show "not using proxy" message 2015-09-16 15:17:11 -07:00
cs_proxy.h
cs_scheduler.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
cs_statefile.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
cs_trickle.cpp client: Win typo fix 2016-07-17 00:24:44 -07:00
cs_trickle.h
current_version.cpp client/lib: change CONFIG to CC_CONFIG, config to cc_config. 2014-05-08 00:51:18 -07:00
current_version.h
dhrystone.cpp
dhrystone.h
dhrystone2.cpp
file_names.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
file_names.h client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
file_xfer.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
file_xfer.h
gpu_amd.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
gpu_detect.cpp initialize fields in constructors 2015-10-20 15:58:34 +02:00
gpu_detect.h client: continue adding support for OpenCL devices (GPUs and accelerators) other than AMD/ATI, NVIDIA or Intel GPUs. 2014-07-23 05:18:51 -07:00
gpu_intel.cpp
gpu_nvidia.cpp Client: fix nvidia_driver_version dlopen() 2016-04-05 07:43:22 +02:00
gpu_opencl.cpp Add <no_opencl/> option in cc_config.xml 2016-04-23 20:47:31 -07:00
gui_http.cpp
gui_http.h initialize fields in constructors 2015-10-18 22:25:31 +02:00
gui_rpc_server.cpp client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-16 00:14:52 -05:00
gui_rpc_server.h
gui_rpc_server_ops.cpp GUI RPC: enclose message bodies in CDATA to avoid XML parse errors 2016-04-05 13:14:21 -07:00
hostinfo_network.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
hostinfo_unix.cpp Android: Create an ANDROID_64 preprocessor define to deal with changes between Android API 9 and Android API 21 in the native development kit. 2016-06-19 17:58:07 -07:00
hostinfo_unix_test.cpp
hostinfo_win.cpp client: Let strlcat handle dealing with the buffer size and suppress the security warnings again. 2016-02-16 08:48:08 -05:00
http_curl.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
http_curl.h client: include client brand (if any) in HTTP user agent string 2015-04-11 10:52:37 -07:00
install-sh
log_flags.cpp Add <no_opencl/> option in cc_config.xml 2016-04-23 20:47:31 -07:00
log_flags.h client: work fetch code cleanup 2014-10-10 10:37:07 -07:00
mac_address.cpp Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-05-02 07:41:41 -07:00
mac_address.h replace tab characters with spaces 2014-05-01 21:03:49 -07:00
main.cpp client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 21:53:07 -05:00
main.h
makefile_sim client emulator: turn on compile warnings in makefile 2014-11-24 22:51:24 -08:00
net_stats.cpp client/lib: change CONFIG to CC_CONFIG, config to cc_config. 2014-05-08 00:51:18 -07:00
net_stats.h
pers_file_xfer.cpp Client: select next download url if the current one fails 2016-03-21 15:06:40 +01:00
pers_file_xfer.h
project.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
project.h Manager: show last RPC time in project properties 2015-06-19 13:42:03 -07:00
result.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
result.h initialize fields in constructors 2015-10-20 17:46:59 +02:00
rr_sim.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
rr_sim.h
rrsim_test.cpp cppcheck: Prefer prefix ++/-- operators for non-primitive types 2015-01-14 21:18:29 +01:00
sandbox.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
sandbox.h client: clean out project dir on project reset 2015-08-31 11:49:56 -07:00
scheduler_op.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
scheduler_op.h
setprojectgrp.cpp
sim.cpp client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 21:53:07 -05:00
sim.h
sim_host.xml
sim_prefs.xml
sim_projects.xml
sim_util.cpp client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 21:53:07 -05:00
switcher.cpp client sandbox: In switcher, satisfy an error / warning from rpmlint: ensure that we drop any supplementary groups associated with root 2016-02-26 01:45:54 -08:00
sysmon_win.cpp client: win compile fix 2016-07-26 13:44:07 -07:00
sysmon_win.h MGR & Client: Massive code clean-up. Remove as much of the LoadLibrary/GetProcAddress stuff as we can under VS 2012. 2014-03-06 18:27:54 -05:00
test_fx_in
test_fx_out
test_fx_out1
thread.cpp client, condor, remote submit: fix a few Coverity warnings 2015-10-14 10:29:15 -07:00
thread.h
time_stats.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
time_stats.h
whetstone.cpp
work_fetch.cpp client: Cleanup low hanging fruit with regards to cleaning up sprintf. 2016-02-18 00:59:13 -05:00
work_fetch.h client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 23:34:18 -05:00