Message boards :
Number crunching :
Creating a config file for NumberFields@home / setting aside enough resources for the GPU?
Message board moderation
Author | Message |
---|---|
Send message Joined: 22 Feb 23 Posts: 2 Credit: 140,700 RAC: 0 ![]() |
I want to create a local config file that I can modify to use a certain number of of CPU cores for CPU work, and a certain number of CPU cores for GPU work. I have Win11, and I'm going to put it in \ProgramData\BOINC\projects\numberfields.asu.edu_NumberFields. I don't have a local config file, right now it just uses the settings on NumberFields' website and the settings from BOINCStatsBAM. I'm trying to avoid setting the CPU cores to any given amount, and NumberFields assigning as many CPU tasks to that limit as possible, without leaving at least one CPU core idle exclusively for NumberFields GPU tasks (not for non-BOINC stuff). I suppose I could also use a program I have called Process Lasso to do the same thing; I could just pick the NumberFields GPU process, assign a specific CPU core to it, and exclude all other processes on my computer from using it. I'd rather just do a local config file so I have finer control over the number of tasks allowed, etc.. Does anyone have their own config file text they can share, or just any advice wrt to the config file? |
Send message Joined: 22 Feb 23 Posts: 2 Credit: 140,700 RAC: 0 ![]() |
I didn't see an edit button for the first forum post in a thread. I guess this is the kind of place that uses pens instead of pencils for taking tests, lol. Here is an example app_config.xml I got from the Gridcoin Discord server. <app_config> <app> <name>GetDecics</name> <max_concurrent>1</max_concurrent> <gpu_versions> <gpu_usage>1.00000</gpu_usage> <cpu_usage>1.000000</cpu_usage> </gpu_versions> <fraction_done_exact>0</fraction_done_exact> <report_results_immediately>0</report_results_immediately> </app> <project_max_concurrent>0</project_max_concurrent> <report_results_immediately>0</report_results_immediately> </app_config> |
![]() Send message Joined: 8 Jul 11 Posts: 1355 Credit: 574,935,712 RAC: 780,884 ![]() ![]() ![]() |
You can control the number of cpus through the BOINC manager. To run more than 1 GPU task, see this link for my app_config, but I think the one you quoted should also work if you change the cpu_usage and gpu_usage fields: https://numberfields.asu.edu/NumberFields/forum_thread.php?id=558&postid=3380#3380 |