Creating a config file for NumberFields@home / setting aside enough resources for the GPU?

Message boards : Number crunching : Creating a config file for NumberFields@home / setting aside enough resources for the GPU?
Message board moderation

To post messages, you must log in.

AuthorMessage
joeybuddy96

Send message
Joined: 22 Feb 23
Posts: 2
Credit: 140,700
RAC: 0
Message 3468 - Posted: 22 Feb 2023, 22:02:43 UTC

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?
ID: 3468 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
joeybuddy96

Send message
Joined: 22 Feb 23
Posts: 2
Credit: 140,700
RAC: 0
Message 3469 - Posted: 22 Feb 2023, 23:25:42 UTC - in response to Message 3468.  
Last modified: 22 Feb 2023, 23:26:31 UTC

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>
ID: 3469 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Eric Driver
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 8 Jul 11
Posts: 1323
Credit: 410,322,546
RAC: 243,689
Message 3470 - Posted: 23 Feb 2023, 3:43:09 UTC - in response to Message 3469.  

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
ID: 3470 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Creating a config file for NumberFields@home / setting aside enough resources for the GPU?


Main page · Your account · Message boards


Copyright © 2024 Arizona State University