Jay Gischer (gischer++at++knex.engr.sgi.com)
Mon, 31 Aug 1998 12:13:01 -0700 (PDT)
> 2) Is this considered a bug or just a documentation drop-off?
My opinion is that it's a documentation drop-off.
>
> 3) Since stats collection (presumably) takes time, what is the
> most efficient/minimum required stats collection modes for
> stress management to work properly. Maybe PFSTATS_ENGFX
> is overkill.
>
Yes, I think it is. Performer uses both
PFFSTATS_ENPFTIMES (mode PFSTATS_ALL) and
PFSTATSHW_ENGFXPIPE_TIMES (mode PFSTATSHW_GFXPIPE_TIMES_TOTAL)
Probably it can cope only using the former, since HW stats aren't
available on every platform, however, it's not going to be as
accurate, since in that mode it can't differentiate between geometry
and fill limitations. These modes are turned on by default when you
create a channel.
> 4) Since I normally set the pfFStatsAttr to average stats over 60
> frames (1 second), am I also causing the stress management
> filters to see stress levels over a 1 second window instead of
> reacting immediately?
>
I've been unable to find any indication in the source that this
attribute has any influence over stress management. As far as I can
tell, stress calculations are based on the elapsed time in the
previous frame only.
As far as I can see, this attribute only influences the rate at which
the CPU stats are gathered and over what period stats are averaged.
But the average stats don't appear to be used by stress management.
That would suggest that you could set this to zero and never do any
accumulation at all, which would probably suit you just fine. The
code isn't completely clear, and I'd prefer to get Sharon's
confirmation on this, but it's an easy enough experiment to perform, I
suppose.
Performer sets the update interval by default to 2 seconds.
> 5) If it's a bug, is there a better work-around than turning stats
> collection on?
>
It's not a bug. Stats are what drives LOD/DVR; there aren't any
"private" stats that are used to drive stress management. The best thing to do
programatically is to operate on the current stats config (turn off
everything except X and Y), rather than setting it absolutely. (turn
off everything.
It is an issue with documentation.
------------------------------------------------------------------------
Jay L Gischer + "I see great things in baseball. It's our game.
Silicon Graphics + It will repair our losses and be a blessing to us."
(650) 390-4277 + -Walt Whitman
gischer++at++sgi.com +
+ "A life has no meaning except in the impact it
+ has on other lives"
+ -Jackie Robinson
This archive was generated by hypermail 2.0b2 on Mon Aug 31 1998 - 12:13:07 PDT