Core-priority not working on Linux?

Moderators: Site Moderators, FAHC Science Team

Post Reply
ccgllc
Posts: 20
Joined: Sun Apr 05, 2020 5:09 am

Core-priority not working on Linux?

Post by ccgllc »

Hi all -

I have:

Code: Select all

<core-priority v='low'/> 
In my config.xml, but FahCore is still running at Nice 19 (minimum).

What am I doing wrong? I'd like FaH to run at a higher priority than BOINC (which also runs at Nice 19)
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Core-priority not working on Linux?

Post by bruce »

You make a good point, I'll discuss it with the developer.

I do know that it's very difficult to get BOINC and FAH to find a suitable balance. If you want to split your time equally, I recommend a week on one and then a week on the other ... (ending FAH with the FINISH function)
ccgllc
Posts: 20
Joined: Sun Apr 05, 2020 5:09 am

Re: Core-priority not working on Linux?

Post by ccgllc »

Alas, I'm a set and forget type of guy. I run a small data center and really don't want to have weekly tasks to do. I only allow FAH CPU work on my larger servers (32+ cores), since I figure those are somewhat rarer than the typical home desktop I5/I7/Ryzan based systems. That said, I've noticed 32 core work is hit and miss, so would like BOINC to run in the background to soak up anything not used by FAH.

I would suggest:

v="idle" = nice 19
v="low" = nice 9
v="normal" = nice 0

or perhaps

v="nice=n" and allow the owner to specify the n. For instance, I have storage servers that use next to no CPU power that have been repurposed into that role. They have CPUs to burn currently, so nice=0 make perfect sense to me, or perhaps nice=4. Given that Unix nice values are not absolute priorities (eg, even nice 19 processes get some cycles), having cpu hogs at nice=0 will not render the machines inoperable.
Post Reply