flux v1.33
Release notes:
- Some config keys related to limiting on unfocus were renamed (backward compatibility is kept):
cpu-limit->unfocus-cpu-limitidle->unfocus-sched-idlemute->unfocus-mutedelay->limits-delay
Yeah, those are longer, but config file looks more understandable with these, especially for newbies.
- Now daemon sets
SCHED_FIFOscheduling policy tocpulimitandflux-grab-cursor, if possible. Forcpulimit, this improves interrupts stability, preventing the limited process from being paused or kept working for longer than expected, what may break limited process stability or cause system-wide performance drops respectively. Forflux-grab-cursor, this reduces input lag, as it acts as a bridge between mouse and window. To make that work, you need to add your user tofluxgroup. - Optimized function responsible for messages, now there is no any subshell, everything is done via
printf. That makes messages more lightweight, even with enabled timestamps and colors (those are processed before event reading). - Solution to print executed command from config file (replacing variable names with their values) has been rewritten from scratch to get rid of subshell (
$(bash -c "echo \"$passed_event_command\"")) and make command being shown properly in output/log. - To improve daemon performace/reduce overhead, usage of other subshells was reduced everywhere where that makes a sense.
- A bunch of other minor fixes and improvements.
P.S.: Performance improvement in daemon is about up to 40%, especially when it handles a lot of opened windows with --hot option.