home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13318 < prev    next >
Encoding:
Text File  |  1992-09-07  |  1.8 KB  |  49 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!root
  3. From: root@amerie.mcrcim.mcgill.edu (Thunder Root)
  4. Subject: Real time features/problems under Irix 4.0.4
  5. Message-ID: <1992Sep4.212119.13867@thunder.mcrcim.mcgill.edu>
  6. Sender: news@thunder.mcrcim.mcgill.edu
  7. Nntp-Posting-Host: amerie.mcrcim.mcgill.edu
  8. Organization: McGill Research Centre for Intelligent Machines
  9. Date: Fri, 4 Sep 92 21:21:19 GMT
  10. Lines: 38
  11.  
  12. Hi ...
  13.  
  14. We are using a Personal Iris 4D/35, running IRIX 4.0.4, to run a
  15. real time control task at 50 Hz. 
  16.  
  17. The real time task is created using sproc(), and given a non-degrading
  18. process priority using schedctl(NDPRI, 0, NDPHIMAX). All memory in the
  19. program is locked using plock(PROCLOCK), and stack space is locked as 
  20. well using mpin(). The real time event is generated by a VME bus
  21. interrupt that is caught by our own driver, which then calls the
  22. kernel routine pollwakeup() to wake up the real-time control task
  23. which is waiting inside a select().
  24.  
  25. We can verify the performance of the task using an oscilloscope.
  26. It runs fairly reliably (with a maximum jitter of 2 or 3 msec.) if I
  27. edit files, run make, or list directories. However, serious delays
  28. of around 200 msec. or so can be caused by things involving the
  29. screen display -- such as moving and exposing windows. Scrolling
  30. inside an xterm window will also cause such a delay (although
  31. scrolling inside a winterm does not).
  32.  
  33. Our documentation on IRIX real-time talks about guaranteed process
  34. dispatch times of 1 to 2 milliseconds for real time tasks. So ...
  35.  
  36. 1. What really _is_ the worst case process dispatch time?
  37.  
  38. 2. Is there anything we can do to improve ours? (short
  39.    of booting the machine single user :-))
  40.  
  41. Thanks,
  42.  
  43. John Lloyd            Research Center for Intelligent Machines
  44. lloyd@curly.mcrcim.mcgill.edu   McGill University, Montreal
  45. (514) 398-8281            Fax: (514) 398-7348
  46.  
  47.  
  48.  
  49.