Hacker News new | past | comments | ask | show | jobs | submit login

> - Processes should be able to reserve some % of both CPU and I/O bandwidth. So you can have video players, games, etc. which remain perfectly smooth no matter what other processes are running at the same time.

It is far from the nicest interface, but I believe this can be achieved with cgroups in Linux (see `man 7 cgroups` "Cgroups version 1 subsystems").

The cpu subsystem: "Cgroups can be guaranteed a minimum number of "CPU shares" when a system is busy. This does not limit a cgroup's CPU usage if the CPUs are not busy."

The blkio subsystem offers "a proportional-weight time-based division of disk [I/O] implemented with CFQ." Though this only guarantees a proportion of I/O, not a specific bandwidth.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: