lichess-org/fishnet

Set niceness value

obj-obj opened this issue · 1 comments

Niceness on Linux sets CPU priority. Self-setting the niceness to 19 (the maximum) would put fishnet at low priority compared to all other processes, which is useful for running fishnet on desktop systems. I'm currently running fishnet using all my cores at a niceness value of 19, and the system is almost as responsive as if it wasn't at 100% CPU usage.

Maybe this crate could be used?.

This now landed in fishnet v2.8.1.