v8 config.xml settings
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 91
- Joined: Mon Jan 30, 2023 10:43 am
- Hardware configuration: NVIDIA RTX 4070
10 x Raspberry Pi 5 Model B 2GB RAM
10 x Raspberry Pi 4 Model B 2GB RAM - Location: VIC, Australia
v8 config.xml settings
Is it possible to set the number of CPU's and behaviour while-on-battery in config.xml? It would be handy to do this, rather than changing these settings on multiple machines.
Also, is it possible to move the data directory (in Windows) to a different location (RAM drive, to avoid excessive writing to SSD) like in v7?
Finally, once set up, is it necessary to retain the v7 config.xml, or can it be deleted.
Also, is it possible to move the data directory (in Windows) to a different location (RAM drive, to avoid excessive writing to SSD) like in v7?
Finally, once set up, is it necessary to retain the v7 config.xml, or can it be deleted.
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
user, team, passkey, cause, cpus are imported on first run. A few other settings are also imported on first run (I would have to read code to know what). After first run, all settings exposed in web control are stored in client.db
Config.xml is read only. It is optional unless you wish to use other settings like allow and log- settings.
If you want to use a nonstandard data directory on Windows, you should set it when installing.
Config.xml is read only. It is optional unless you wish to use other settings like allow and log- settings.
If you want to use a nonstandard data directory on Windows, you should set it when installing.
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
config.xml is the easiest way to set the account token on first run so that the client is linked to your account.
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
I believe you missed it.
It may have a non obvious name.
It may have a non obvious name.
-
- Posts: 91
- Joined: Mon Jan 30, 2023 10:43 am
- Hardware configuration: NVIDIA RTX 4070
10 x Raspberry Pi 5 Model B 2GB RAM
10 x Raspberry Pi 4 Model B 2GB RAM - Location: VIC, Australia
Re: v8 config.xml settings
I know. I was hoping to set up the other machine options, like machine name (which I do know how to do), the number of CPUs to use, and the scheduling options, so that I didn't have to do this after fah-client is up and running.
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
Just looked at code. It's no longer clear what is and isn't imported.
You might need to experiment.
These might be imported, even though they're group options, as is cpus:
on-idle
on-battery
keep-awake
You might need to experiment.
These might be imported, even though they're group options, as is cpus:
on-idle
on-battery
keep-awake
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
lufah can set most options when client is running.
-
- Posts: 91
- Joined: Mon Jan 30, 2023 10:43 am
- Hardware configuration: NVIDIA RTX 4070
10 x Raspberry Pi 5 Model B 2GB RAM
10 x Raspberry Pi 4 Model B 2GB RAM - Location: VIC, Australia
Re: v8 config.xml settings
Indeed I had missed it (or more correctly rushed through the installation), and it has a perfectly obvious name. I remember thinking at the time, I just selected the install directory, why is it asking again.
I fixed it, by uninstalling, without deleting the data, then moving the data to the new location, and reinstalling, while selecting that new location for data. It's almost like I didn't actually uninstall and reinstall it.
Last edited by ETA_2025 on Tue Jan 21, 2025 12:32 pm, edited 1 time in total.
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
You might check
fah-client --help
to see what might be supported in config.xml
Don't be deceived about xml format by the help output.
fah-client --help
to see what might be supported in config.xml
Don't be deceived about xml format by the help output.
-
- Posts: 91
- Joined: Mon Jan 30, 2023 10:43 am
- Hardware configuration: NVIDIA RTX 4070
10 x Raspberry Pi 5 Model B 2GB RAM
10 x Raspberry Pi 4 Model B 2GB RAM - Location: VIC, Australia
Re: v8 config.xml settings
The help file has cpus <integer=7>, so should the number of CPUs be entered as:
<cpus v="4"/>
or cpus <"4">
or cpus <4>
or <cpus> = <"4">
or <cpus> = <4>
and with or without preceding double dashes?
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
<cpus v=“4”/>
The value is always a string in config.xml.
The help indicates what the string should represent and the default value.
The value is always a string in config.xml.
The help indicates what the string should represent and the default value.
-
- Site Moderator
- Posts: 1273
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: v8 config.xml settings
The double dashes are for command line options.
-
- Posts: 91
- Joined: Mon Jan 30, 2023 10:43 am
- Hardware configuration: NVIDIA RTX 4070
10 x Raspberry Pi 5 Model B 2GB RAM
10 x Raspberry Pi 4 Model B 2GB RAM - Location: VIC, Australia
Re: v8 config.xml settings
Thanks calxalot, <cpus v="4"/> was recognised, but the Cores count was still 3 under machine's settings.
Anyway, that was my last machine to move to v8, so I don't know if I'll need this option again.
-
- Posts: 1055
- Joined: Sun Dec 16, 2007 6:22 pm
- Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, Radeon 7, 5700xt, 6900xt, RX 550 640SP - Location: London
- Contact:
Re: v8 config.xml settings
If all the systems have been moved to v8, best to completely wipe config.xml and just configure everything through v8 webui.
cpu:3 issue might be related to the fact that v8 automatically reduces core count for a GPU
cpu:3 issue might be related to the fact that v8 automatically reduces core count for a GPU
FAH Omega tester