Real-Time Video Recording (ionice equivalent)

Adam Vande More amvandemore at
Tue Jul 27 20:52:07 UTC 2010

On Tue, Jul 27, 2010 at 2:29 PM, Debacker <debackerl at> wrote:

> Of course, just like you could put real-time processes in one CPU, and
> normal processes on another to avoid implement complex algorithms.
> While your solution is pragmatic, I would like to know if there are "clean"
> ways to do it. If not, this would be a documented use case to why would
> anyone actually need an I/O scheduler.

First, top-posting on this list is considered rude.  Please don't do that.

If you're running 8.1, try "man gsched", it's new and haven't tried it.

Other than that, the traditional way would be to give higher priority to the
process that needs it.  It's the poor man's io scheduler, but it generally
does work well.

If you have lots of concurrent io and are running a UFS file-system,
consider running gjournal as it scales those requests better.

Also if you're hardware supports it, NCQ is available via the ahci and a few
other modules.  It will make your requests more efficient.

Adam Vande More

More information about the freebsd-questions mailing list