On Linux SCHED_FIFO and SCHED_RR

后端 未结 4 1258
陌清茗
陌清茗 2020-12-29 12:03

I\'m writing a a very small daemon that must remain responsive even when a system is under severe stress. I\'m looking at the differences between SCHED_FIFO and SCHED_RR in

4条回答
  •  清歌不尽
    2020-12-29 12:47

    The infamous pchdtvr program, which captures digital TV signals, uses SCHED_FIFO to make sure that the TV packets are written to disk no matter what. It can capture 4 shows at once while playing Doom on an old computer.

    The program is infamous because it was released under GPL and the author tried to revoke the GPL retroactively. This act provoked a minor firestorm. Anyway, you can find a recent version to study at http://frequal.com/pmn/pchdtvr.html.

提交回复
热议问题