Re: Clipfly & PFPHASE_LOCK

New Message Reply Date view Thread view Subject view Author view

Moshe Nissim (moshe++at++orad.co.il)
Sun, 28 Mar 1999 13:03:06 +0200


Hi Ran,

Another sad note about sginap() in 6.5, that I just found out:
Even with realtime priority, it waits too long, for 11 ms instead of 10.
It seems to me that some internal calculation figures one timeslice too many.
With non-realtime priority, the timeslice is 10 ms (at least that was what it used
to be pre-6.5), and you wake up one timeslice too late -- 20 ms.
With realtime priority, the timeslice is 1 ms (again, what I know of pre-6.5), and you
still wake up one timeslace too late, after 11 slices instead of 10 - 11 ms.
Given this, your first workaround for Performer (running in realtime priority), still breaks
for rendering times in a certain window.
BTW, schedctl(NPRI,...) is no longer available in 6.5 (also not in 6.4).
It is replaced by sched_setparam() and schd_setscheduler()
 

-- 
  Moshe Nissim,   Orad Hi-Tec Systems
  Tel: (972) - 9 - 7676862 (ext. 579)
  Fax: (972) - 9 - 7676861
  Email: moshe++at++orad.co.il
 

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Sun Mar 28 1999 - 02:59:19 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.