Core-priority not working on Linux?

Moderators: Site Moderators, FAHC Science Team

Core-priority not working on Linux?

Postby ccgllc » Fri Apr 24, 2020 7:23 pm

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)
ccgllc
 
Posts: 20
Joined: Sun Apr 05, 2020 6:09 am

Re: Core-priority not working on Linux?

Postby bruce » Fri Apr 24, 2020 8:01 pm

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)
bruce
 
Posts: 20019
Joined: Thu Nov 29, 2007 11:13 pm
Location: So. Cal.

Re: Core-priority not working on Linux?

Postby ccgllc » Fri Apr 24, 2020 8:12 pm

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.
ccgllc
 
Posts: 20
Joined: Sun Apr 05, 2020 6:09 am


Return to V7.5.1 Public Release Windows/Linux/MacOS X

Who is online

Users browsing this forum: No registered users and 1 guest

cron