Re: [linux-audio-dev] [Slightly OT] How to access "real-time" capabilities

From: Jack O'Quin <joq@email-addr-hidden>
Date: Fri Jun 10 2005 - 16:13:34 EEST

asbjs@email-addr-hidden (Asbjørn Sæbø) writes:

> Judging from the answers so far, we should probably try using a 2.6.11
> kernel first. Using "chrt" on tcpreplay might be worth an attempt as a
> "quick-and-dirty" solution. And the "real" solution is probably to
> rewrite tcpreplay.

Sounds reasonable.

It's possible that the "rewrite" might not be all that major. Setting
the scheduling class for a thread is fairly easy. Making sure it
doesn't call any non-realtime-safe system services is harder. If you
need to read or write a log file on disk, you'll almost certainly need
a multithread solution similar to what we do for audio capture or
playback. Disk I/O is definitely *not* a realtime-safe operation.

-- 
  joq
Received on Fri Jun 10 20:15:05 2005

This archive was generated by hypermail 2.1.8 : Fri Jun 10 2005 - 20:15:07 EEST