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