TL;DR
New option: process priority that Factorio will configure for itself on startup.What?
You know that process priorities that you may configure for running processes. The thing is, processes are allowed to configure their CPU priority in most cases. So instead of going through task manager every time when I launch Factorio to set its priority to IDLE I want Factorio to configure it by itself.Why?
Let's say I playing Factorio using primary display. My family wants to watch some movie. Or something at YouTube or something like that. So we connect HDMI TV LED to PC, expanding display area to TV display, dragging browsers with YT there and launching whatever they want to watch. To make this work, we need to configure video output, audio output and make sure what YT will not catch any processing lags. The latter can be done either by raising 'TV'-media priority above average (what may lead to system instability) or by lowering priority of some other stuff below average.Media streams actually don't need much processing power as mostly they just produce load spikes every time they need to refill frame buffer. So in essence they need brief intense I/O and calculations while sitting still most of the time. So when mediastream needs to refill buffers I wish to let it done that as fast as possible. Me, while playing Factorio, hardly will even notice if every 20th frame will take, I don't know, 11ms instead of 10 to being fully processed.
Factorio already allows to configure Factorio's display and audio output letting OS default settings be. With configurable priority the overall experience will be smooth ever more than now.
Plus, whole implementation is like couple of lines to call OS' API function and extra line in settings UI.