This seems to either generate the iterate_access code stubs or the MFD's
iterate code stubs, and the documentation for MFD and your reply to a
someone else's note indicate that these are poor performers.  Are there any
other options?

I am going to be implementing a table that has several HW statistics per
port number (i.e., this is the index) so it will always potentially be out
of date.  Using the iterate_access code, what is the most efficient way to
do this?  Updating the entire table for every Get seems like overkill.
Will it work if I just update the row I am working with?  Is it possible to
implement a table handler for volatile data without having a copy of the
data?  By that I mean, can I figure out the index and column from the
incoming Get request and just retrieve the HW stat for that and return it?
I haven't seen anything like that in the tutorials.

Thanks.


Kathy McLeod
Dept S82  CCB - SNMP
IBM Rochester, MN
(507) 253-4803


                                                                           
             Dave Shield                                                   
             <d.t.shi...@liver                                             
             pool.ac.uk>                                                To 
             Sent by:                  Kathy McLeod/Rochester/i...@ibmus    
             dave.shi...@googl                                          cc 
             email.com                 [email protected] 
                                       t                                   
                                                                   Subject 
             03/22/2010 10:39          Re: adding cache handling to        
             AM                        table_data.conf code                
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 22 March 2010 15:33, Kathy McLeod <[email protected]> wrote:
> Do you have sample code for adding a cache handler and container to code
> generated by table_data.conf, or could you give me some pointers?

Run
      mib2c -S cache=1   mib2c.table_data.conf   {tableName}

This will generate a template that includes cache support.

Dave



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to