On Tue, Nov 3, 2009 at 5:52 PM, Jim Walker <James.Walker at sun.com> wrote:
> Garrett D'Amore wrote:
>>
>> Jim Walker wrote:
>>>
>>> Garrett D'Amore wrote:
>>>>
>>>> Can you add *which* kstats are being used? ?Individual kstats are
>>>> normally not documented, and some of them are more volatile than others. 
>>>> ?If
>>>> this case is going to use kstats, then I think we need to document which
>>>> ones are used in case someone decides to change them in the future.
>>>
>>> Appendix A. in the proposal file has been updated to include the
>>> individual kstat information.
>>>
>>> Cheers,
>>> Jim
>>
>> Thanks. ?The stats you're using look reasonable to me, but I'd like to
>> hear from someone more familiar with the VM subsystem -- the anoninfo and
>> cpu_vminfo stats might be unreliable...
>
> Here are the anoninfo and cpu_vminfo stats being used.
>
> anoninfo.ani_max;
> anoninfo.ani_resv;
> cpu_vminfo.pgpgin;
> cpu_vminfo.pgpgout;
>
> Can someone knowledgeable give an idea of their reliability?
>
> Currently, we are assuming they are as reliable as any
> other stat.
>
> I would like to wrap up this case.
>
> Here's the full proposal:
> http://arc.opensolaris.org/caselog/PSARC/2009/583/proposal.txt
>

I am curious if there is any existing case, or any documentation that
can be referenced that provides better guidance about kstats, or if
not, would it be appropriate to ask ARC to provide some guidance with
this case.  I know it would help me greatly in a project I'd like to
bring before ARC at some point, and would probably help others in the
future as well.

I've been told that use of _any_ kstats that haven't been classified
as !private is verboten (at least in the 'don't bother trying to get
it integrated sense -- it can always be published external to
opensolaris.org), even if the consumer was in the _same_
consolidation.

I was also told that currently the only kstats that are !private are a
number of network interface (and possibly tcp/ip) related kstats.
This case is clearly using more than those, and that is where I'd like
to know more about when they can and can't be used.

Reply via email to