home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27294 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.2 KB

  1. Xref: sparky comp.os.os2.misc:27294 comp.os.os2.programmer:4199
  2. Newsgroups: comp.os.os2.misc,comp.os.os2.programmer
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!nuscc!eletanjm
  4. From: eletanjm@nuscc.nus.sg (TAN JIN MENG)
  5. Subject: Re: Request for info about kernel pre-emption and priorities
  6. Message-ID: <1992Aug13.155927.6849@nuscc.nus.sg>
  7. Organization: National University of Singapore
  8. References: <1992Aug12.163357.34974@ans.net>
  9. Date: Thu, 13 Aug 1992 15:59:27 GMT
  10. Lines: 16
  11.  
  12. db3l@ans.net (David Bolen) writes:
  13. : In OS/2 1.x, I believe the time latency from when a high priority thread
  14. : became "ready to run" (either resource released, or the thread was unblocked
  15. : due to some other mechanism, such as a timer firing) until it got control of
  16. : the CPU was guaranteed to be <1ms.  Not the greatest in terms of real-time
  17. : operation, but not bad for a multitasking OS.  I'm not how much, if at all,
  18. : that figure has been adjusted for v2.0.
  19.  
  20. I have measured the average context  switch time and the average time
  21. for a high priority thread to preempt a low priority thread to be 
  22. 84 usecs and 250 usecs (about - I'm doing this from home so I can't
  23. verify again - my memory got holes) on OS/2 2.0 with WPS loaded on a
  24. 486-33DX AT clone.
  25.  
  26. jin meng
  27.