> Yeah, I had an off-line discussion with Phil Beevers about this.
> I understand that having a global limit for all types of 
> events kind of sucks.

Just for the record, my concern was basically the same as James': that
10000 might be too small a limit to be safe for some events and too big
a limit to be applicable for others.

My idea for addressing this was for the callback rate to be adaptive:
you want to smooth out the interrupt rate, so for a given event it could
start with a base frequency value and tune it to make sure the
interrupts are happening not too quickly and not too slowly. Thus the
number of events before an interrupt might not be constant (i.e. you
wouldn't expect it to be specified as part of the probe name), so you
need the number of events as an argument to the probe.

As well as being more complex to implement, I'd be the first to admit
it's not that intuitive to script against. It has some nice properties,
though - it means you don't have to manually tune to deal with the
quantisation effects, but you don't kill yourself with interrupts.

For now I think Jon's approach is about the best compromise. It has the
added advantage of being analogous with the performance counter
monitoring in the Sun Studio analyzer, so at least some segment of the
user population should understand what it's doing!

-- 

Philip Beevers
Chief Architect - Fidessa

mailto:[EMAIL PROTECTED]
phone: +44 1483 206571  

********************************************************************************************************************************************************************************************
This message is intended only for the stated addressee(s) and may be 
confidential.  Access to this email by anyone else is unauthorised. Any 
opinions expressed in this email do not necessarily reflect the opinions of 
Fidessa. Any unauthorised disclosure, use or dissemination, either whole or in 
part is prohibited. If you are not the intended recipient of this message, 
please notify the sender immediately.

Fidessa plc - Registered office:
Dukes Court, Duke Street, Woking, Surrey, GU21 5BH, United Kingdom
Registered in England no. 3781700 VAT registration no. 688 9008 78

Fidessa group plc - Registered Office:
Dukes Court, Duke Street, Woking, Surrey, GU21 5BH, United Kingdom
Registered in England no. 3234176 VAT registration no. 688 9008 78
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to