home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16226 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!ukma!darwin.sura.net!sgiblab!sgigate!odin!bubba.wpd.sgi.com!probins
  3. From: probins@bubba.wpd.sgi.com (Paul Robins)
  4. Subject: Re: how to interrogate ftimer status from a program?
  5. Message-ID: <1992Nov10.201008.9557@odin.corp.sgi.com>
  6. Sender: news@odin.corp.sgi.com (Net News)
  7. Nntp-Posting-Host: bubba.wpd.sgi.com
  8. Reply-To: probins@wpd.sgi.com
  9. Organization: Silicon Graphics, Inc.
  10. References: <23907@hacgate.SCG.HAC.COM> <1992Nov6.213506.12264@odin.corp.sgi.com> <s1po0j4@rhyolite.wpd.sgi.com>
  11. Date: Tue, 10 Nov 1992 20:10:08 GMT
  12. Lines: 34
  13.  
  14. In article <s1po0j4@rhyolite.wpd.sgi.com>, vjs@rhyolite.wpd.sgi.com (Vernon Schryver) writes:
  15. |> In article <1992Nov6.213506.12264@odin.corp.sgi.com>, probins@bubba.wpd.sgi.com (Paul Robins) writes:
  16. |> > ...
  17. |> > Fast clock does not incur nearly the overhead of timers, but I don't have a
  18. |> > relative number. I've been assured that it is of neglible impact.
  19. |> 
  20. |> 
  21. |> A few years ago the number was either 5% or 15% of a CPU (I've
  22. |> forgotten which) to run the fast clock.  That is why it was not turned
  23. |> on by default.  More precisely, that is why ASD changed it from
  24. |> being on by default to being off by default.
  25. |> 
  26. |> Maybe that cost has changed.  Maybe some people now consider 5% (or 15?)
  27. |> "neglible."  Some did back then, until the issue was raised.
  28. |> 
  29. |> You can measure it for yourself.  Pick any CPU stupid benchmark
  30. |> (e.g. drhystone).  Run it with `ftimer -f off`, and then run it with
  31. |> `ftimer -f on`.  Do this several times to get consistent numbers.  As
  32. |> long as you change nothing else, the difference is the cost of fast
  33. |> timers.
  34. |> 
  35. |> 
  36. |> Vernon Schryver,   vjs@sgi.com
  37.  
  38. Vernon, I was commenting on the fast clock not the fast timer. The man page
  39. for fast timer claims a 5-10% degredation in performance. But there is no
  40. mention for the penalty of the fast clock alone.
  41. -- 
  42.  
  43.   --bubba
  44.  
  45.     hakuna matata
  46.  
  47.   390-1282      Mail stop 9U-510
  48.