Block IO limits
The goal of the project is to add the block IO usage accounting to the existing racct/rctl infrastructure. I want to make it possible for the system administrator to limit the block IO throughput for a particular process, user or a jail to for example 1MB per second read access.
- block IO throughput limit for write access
- block IO throughput limit for read access
The following patch is work in progress
Apply the patch as follows
patch -p1 < patch-file.patch
Required kernel options
rctl -a user:tom:ior:deny=1M
- Adds a 1MB/sec IO limit for user tom for block IO read access.
rctl -a process:1657:iow:deny=1M
- Adds a 1MB/sec IO limit for process with id 1657 for block IO write access.