RE: Cannot find an adquest mib2c configuration file for travesing

This is a discussion on RE: Cannot find an adquest mib2c configuration file for travesing within the SNMP Coders forums, part of the Networking and Network Related category; Hi all, I managed to "create" myself a pass through interface to traverse big tables. Basically it is ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-07-2005
sasson, shuki
 
Posts: n/a
Default RE: Cannot find an adquest mib2c configuration file for travesing

Hi all, I managed to "create" myself a pass through interface to traverse
big tables. Basically it is based on table iterator template.
I add a pointer to the request structure and request info to the
netsnmp_iterator_info. This information is assigned by table_iterator.cxx
before the call to get first.
In get first the information about the requests and the request type is
observed (get or getnext) and only the indexes that corresponds to the
requests are added.
If someone needs more details about this "improvement" please let me know.


However
Even after applying this fix I see 35% degradation in performance compares
to another agent implementation.
The question I have to this forum Does Net-SNMP fit to real time environment
or is it too heavy?

When I analyze who are the big CPU consumers from function call
perspectives:
1.malloc and free are big consumers.
2. Also ipi_tlb_flush_handler.
My question: Does anyone have any idea how to improve Net-SNMP performance
for table handling?

Thanks,
Shuki

-----Original Message-----
From: Robert Story [mailto:rstory@freesnmp.com]
Sent: Friday, September 30, 2005 3:41 PM
To: sasson, shuki
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Cannot find an adquest mib2c configuration file for travesing
large tables.

On Wed, 28 Sep 2005 16:23:28 -0400 shuki wrote:
SS> will be a single function all instead hundred of thousands as it is with
SS> the MFD and the Iterator.

Early versions of MFD defaulted to an iterator style wrapper, but the
current
code is based on the idea of caching the data, and a single routine is
called
to do that. Then a binary search finds the data.

However, a 'pass-thru' template has been on my to-do list for a while. I was
just talking to someone else about it last week.

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0