
From hamid.mukhtar@gmail.com  Wed Jul 22 05:31:05 2009
Return-Path: <hamid.mukhtar@gmail.com>
X-Original-To: ietfmibs@core3.amsl.com
Delivered-To: ietfmibs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 946D93A6C3A for <ietfmibs@core3.amsl.com>; Wed, 22 Jul 2009 05:31:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.482
X-Spam-Level: 
X-Spam-Status: No, score=-100.482 tagged_above=-999 required=5 tests=[AWL=-0.365, BAYES_20=-0.74, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Q4b9RCKv1s0 for <ietfmibs@core3.amsl.com>; Wed, 22 Jul 2009 05:31:05 -0700 (PDT)
Received: from mail-yx0-f196.google.com (mail-yx0-f196.google.com [209.85.210.196]) by core3.amsl.com (Postfix) with ESMTP id CD9C43A6C23 for <ietfmibs@ietf.org>; Wed, 22 Jul 2009 05:31:04 -0700 (PDT)
Received: by yxe34 with SMTP id 34so244483yxe.29 for <ietfmibs@ietf.org>; Wed, 22 Jul 2009 05:30:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=jCbwbJpuae9d5uwBaczCSp7ZDrmTq3sZyJWyJja9brI=; b=FUus453Y5o8PBLr1JQsJoV4cBmgJJeqoPQl/Pjjg8Y2j2mWpI6v1djrqUbpJMxLByJ WBiMUiLYvWJ3bTeW+jlK3UN+FDc0y4hX/h0uvVnmKDHdHSZ2sYaKmndVhDtkewa3bZtw lsMM2C5ntVmjAa/EaAPg0KhqkzFQZyfg+TPIw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=nxU9Ku8FC2kWpX9HxP+dbp5DA5O603urYttXFfJy0ax8hPcQ7RUpF3qP7Ueywxs4R+ dnRtx9ivYR50aKbpTIdbAv0hp5Yez4YFQ5O193uX/CNBFCGBMg0WDQJed1jbMkecaYvv 690ZkLZCy4j0/C6os7JkwGXmwTSB9S+VN0aJo=
MIME-Version: 1.0
Sender: hamid.mukhtar@gmail.com
Received: by 10.100.154.17 with SMTP id b17mr1130585ane.45.1248265826105; Wed,  22 Jul 2009 05:30:26 -0700 (PDT)
From: Hamid Mukhtar <hamid@etri.re.kr>
Date: Wed, 22 Jul 2009 21:30:11 +0900
X-Google-Sender-Auth: 573f153b91919091
Message-ID: <e9a260f20907220530m220b35bah7a7e25673b26b29b@mail.gmail.com>
To: ietfmibs@ietf.org
Content-Type: multipart/alternative; boundary=0016e642d3762678e5046f4a893c
Subject: [IETFMIBS] Data caching with SNMPv3
X-BeenThere: ietfmibs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF MIB Discussion list <ietfmibs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietfmibs>
List-Post: <mailto:ietfmibs@ietf.org>
List-Help: <mailto:ietfmibs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jul 2009 12:31:05 -0000

--0016e642d3762678e5046f4a893c
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Dear all,

Does SNMPv3 specify any way of maintaining a temporary state (a cache) for a
frequently queried object(s) at the agent side to reduce the management
traffic.
There are some implementations which support object caching, however, I am
not sure if that is specified in the current SNMPv3 or the sub-agent
protocols.

Kindly help me in this regard.

Thanks,
Hamid

--0016e642d3762678e5046f4a893c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Dear=A0all,</div>
<div>=A0</div>
<div>Does SNMPv3 specify any way of maintaining a temporary state (a cache)=
 for a frequently queried object(s) at the agent side to reduce the managem=
ent traffic. </div>
<div>There are some implementations which support=A0object caching, however=
, I am not sure if that is=A0specified in the current SNMPv3 or the sub-age=
nt protocols.</div>
<div>=A0</div>
<div>Kindly help me in this regard.</div>
<div>=A0</div>
<div>Thanks,</div>
<div>Hamid</div>

--0016e642d3762678e5046f4a893c--

From j.schoenwaelder@jacobs-university.de  Wed Jul 22 06:24:02 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: ietfmibs@core3.amsl.com
Delivered-To: ietfmibs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A559F3A68B1 for <ietfmibs@core3.amsl.com>; Wed, 22 Jul 2009 06:24:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.382
X-Spam-Level: 
X-Spam-Status: No, score=-1.382 tagged_above=-999 required=5 tests=[AWL=0.867,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IauxLqZcDQDl for <ietfmibs@core3.amsl.com>; Wed, 22 Jul 2009 06:23:58 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id AB26B3A6B0A for <ietfmibs@ietf.org>; Wed, 22 Jul 2009 06:23:40 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id B0A32C001B; Wed, 22 Jul 2009 15:01:07 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id ZxlP-PlHwFus; Wed, 22 Jul 2009 15:01:06 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id E2FC7C0007; Wed, 22 Jul 2009 15:01:06 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 3A024B68E13; Wed, 22 Jul 2009 15:01:04 +0200 (CEST)
Date: Wed, 22 Jul 2009 15:01:04 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Hamid Mukhtar <hamid@etri.re.kr>
Message-ID: <20090722130104.GA5486@elstar.local>
References: <e9a260f20907220530m220b35bah7a7e25673b26b29b@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <e9a260f20907220530m220b35bah7a7e25673b26b29b@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: "ietfmibs@ietf.org" <ietfmibs@ietf.org>
Subject: Re: [IETFMIBS] Data caching with SNMPv3
X-BeenThere: ietfmibs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: IETF MIB Discussion list <ietfmibs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietfmibs>
List-Post: <mailto:ietfmibs@ietf.org>
List-Help: <mailto:ietfmibs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jul 2009 13:24:02 -0000

On Wed, Jul 22, 2009 at 02:30:11PM +0200, Hamid Mukhtar wrote:
 
> Does SNMPv3 specify any way of maintaining a temporary state (a
> cache) for a frequently queried object(s) at the agent side to
> reduce the management traffic.

> There are some implementations which support object caching,
> however, I am not sure if that is specified in the current SNMPv3 or
> the sub-agent protocols.

>From the protocol perspective, the originating data source is the
instrumentation of the agent (or a sub-agent). Implementations often
to cache information in the instrumentation in order to reduce
overhead but that is clearly an implementation decision - nothing the
protocol cares about.

A feature that does exist and may or may not be relevant is the notion
of time filtered tables that allow to retrieve only those data objects
that changes since the last poll. But this is at the end a matter of
MIB design - not the protocol itself.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

From moulton@snmp.com  Wed Jul 22 08:40:34 2009
Return-Path: <moulton@snmp.com>
X-Original-To: ietfmibs@core3.amsl.com
Delivered-To: ietfmibs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B64313A68AE for <ietfmibs@core3.amsl.com>; Wed, 22 Jul 2009 08:40:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pn3qhSxehcMF for <ietfmibs@core3.amsl.com>; Wed, 22 Jul 2009 08:40:32 -0700 (PDT)
Received: from mailbox.snmp.com (mailbox.snmp.com [192.147.142.80]) by core3.amsl.com (Postfix) with ESMTP id CF7893A6820 for <ietfmibs@ietf.org>; Wed, 22 Jul 2009 08:40:31 -0700 (PDT)
Received: from ws4.snmp.com (ws4.snmp.com [192.147.142.78]) by mailbox.snmp.com (8.9.3p2-20030922/m.0080228) with ESMTP id KAA15377; Wed, 22 Jul 2009 10:53:46 -0400 (EDT)
Received: from ws4.snmp.com (localhost.localdomain [127.0.0.1]) by ws4.snmp.com (8.13.1/8.13.1) with ESMTP id n6MErn6O024205; Wed, 22 Jul 2009 10:53:49 -0400
Message-Id: <200907221453.n6MErn6O024205@ws4.snmp.com>
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.1-RC3
To: "ietfmibs@ietf.org" <ietfmibs@ietf.org>
In-reply-to: <20090722130104.GA5486@elstar.local> 
References: <e9a260f20907220530m220b35bah7a7e25673b26b29b@mail.gmail.com> <20090722130104.GA5486@elstar.local>
Comments: In-reply-to Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> message dated "Wed, 22 Jul 2009 15:01:04 +0200."
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 22 Jul 2009 10:53:49 -0400
From: Steve Moulton <moulton@snmp.com>
X-Mailman-Approved-At: Wed, 22 Jul 2009 08:47:15 -0700
Cc: Hamid Mukhtar <hamid@etri.re.kr>
Subject: Re: [IETFMIBS] Data caching with SNMPv3
X-BeenThere: ietfmibs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF MIB Discussion list <ietfmibs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietfmibs>
List-Post: <mailto:ietfmibs@ietf.org>
List-Help: <mailto:ietfmibs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jul 2009 15:40:34 -0000

On Wednesday, July 22 2009, Juergen Schoenwaelder <j.schoenwaelder@jacobs-unive
rsity.de> wrote:

> On Wed, Jul 22, 2009 at 02:30:11PM +0200, Hamid Mukhtar wrote:
>  
> > Does SNMPv3 specify any way of maintaining a temporary state (a
> > cache) for a frequently queried object(s) at the agent side to
> > reduce the management traffic.
> 
> > There are some implementations which support object caching,
> > however, I am not sure if that is specified in the current SNMPv3 or
> > the sub-agent protocols.
> 
> >From the protocol perspective, the originating data source is the
> instrumentation of the agent (or a sub-agent). Implementations often
> to cache information in the instrumentation in order to reduce
> overhead but that is clearly an implementation decision - nothing the
> protocol cares about.
> 
> A feature that does exist and may or may not be relevant is the notion
> of time filtered tables that allow to retrieve only those data objects
> that changes since the last poll. But this is at the end a matter of
> MIB design - not the protocol itself.

Expanding on Juergen's excellent response ...

Management applications can also have implementation tweaks to 
take advantage of what caching comes naturally to agents.  In many
cases, a single row of data for a particular table may be cached
in the agent (though not so often for multiple rows, as the magnitude
of the cache coherency problem increases dramatically here).    
For tables with many rows (I'm thinking about 
route or arp tables in a router) significant performance improvements
can be attained by retrieving entire rows at a time, rather than
following the lexicographical ordering (which follows "columns"
in tables, rather than "rows").

This kind of caching is by no means an implementation universal, nor 
is it enshrined in any standard document (of which I am aware).  
The point is that agent cache implementation patterns often follow the pattern 
of the data that is being instrumented.

---
Steve Moulton        SNMP Research, Inc            voice: +1 865 573 1434
Sr Software Engineer 3001 Kimberlin Heights Rd.    fax: +1 865 573 9197
moulton at snmp.com  Knoxville, TN 37920-9716 USA  http://www.snmp.com


