Re: [ippm] Extending TWAMP for Monitoring Service KPIs

Srivathsa Sarangapani <srivathsas@juniper.net> Mon, 18 July 2016 09:48 UTC

Return-Path: <srivathsas@juniper.net>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A261D12D7F0 for <ippm@ietfa.amsl.com>; Mon, 18 Jul 2016 02:48:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=junipernetworks.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cdKK0l4NnEyf for <ippm@ietfa.amsl.com>; Mon, 18 Jul 2016 02:47:58 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0113.outbound.protection.outlook.com [104.47.37.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3B73B12D815 for <ippm@ietf.org>; Mon, 18 Jul 2016 02:43:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vuHLngUyHGDt51PACRHKHhxTN6xlwPrB3Al+HzQfpg0=; b=XwQnGkbE9aD+B5E3JtpgebkvBEqZ6PUiDi3MlAjZVTUijC5GS3uaNmN6cFSSkclg9eyemQZ2jnn0C7w4M2CNqfcoPt04bkK/6LpFJGl+8CtwtCWUFXf0wUqkVOevVUNz1gy5v/aFNDJ6wvZP9AASZW2ogJ/sAEFf+msJO26RfRE=
Received: from BY2PR0501MB2133.namprd05.prod.outlook.com (10.163.198.19) by BL2PR05MB929.namprd05.prod.outlook.com (10.242.198.14) with Microsoft SMTP Server (TLS) id 15.1.539.14; Mon, 18 Jul 2016 09:43:48 +0000
Received: from BY2PR0501MB2133.namprd05.prod.outlook.com ([10.163.198.19]) by BY2PR0501MB2133.namprd05.prod.outlook.com ([10.163.198.19]) with mapi id 15.01.0539.019; Mon, 18 Jul 2016 09:43:47 +0000
From: Srivathsa Sarangapani <srivathsas@juniper.net>
To: P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com>, IETF IPPM WG <ippm@ietf.org>
Thread-Topic: [ippm] Extending TWAMP for Monitoring Service KPIs
Thread-Index: AQHR4LlJs7ZNvrtoBUGJaILAXRFapqAd3QBggABvgYA=
Date: Mon, 18 Jul 2016 09:43:47 +0000
Message-ID: <CE52FF64-54B5-42DD-8667-2664A0B65D24@juniper.net>
References: <0BEE6422-CA88-457A-B651-66C2DE417D16@juniper.net> <256DB779817549478A1637DDB82E83051D89167B@ESESSMB309.ericsson.se>
In-Reply-To: <256DB779817549478A1637DDB82E83051D89167B@ESESSMB309.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.18.0.160709
authentication-results: spf=none (sender IP is ) smtp.mailfrom=srivathsas@juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [116.197.184.13]
x-ms-office365-filtering-correlation-id: 43e696af-3616-4e8d-8767-08d3aef0040e
x-microsoft-exchange-diagnostics: 1; BL2PR05MB929; 6:PsrtaoztvSkszIrhqbyA3jsvHRm8yCbOrODkmah7Uk4jjclQ2si6FI4U2BVUicCpdgIycNFRz1rsyBjZfClFgoDPw2szFvXolGJRsIau1UqcfBRCR9iVOF8LoRNt7UXezGIvlNLwj/pvY5ODRVmdmWCWGZy7pgtcXhV/AbMp8eqdBDBeeyD/GCqKxyGB8g8JAb4lwVdjvc6p5A/d9tlNcIMxZpUrw4IhCl1a0A+t7vfRbNPy6ZVC0Bk10BwpseJZ8QhVQ0BWAs/JQAL1cQJAoRhvne7a3+SpeC1pkh8mAQpEz/JFrzrCNk9p5H+IeuJPhHQzgo5uuuuJNQksXcv2eg==; 5:zEyqxnIRwXQj0A644OfyM2n5fVDfFmOXlx48EQGWKQswcdSkjFxvd5XC2oVz2YB3L5JivDj/bEmgRsMLKTSbojRNPHI2S20RXFlfzvWAzB3wr45BwZr4gLWJfzZWxGGGO0ZEMliAJl0txcNOOmEbmQ==; 24:oKRZR1tj9y0pCg2hpSKmy+Af0FD7qfSmgSIYiBTiPsrc1r36nmN6Mq3QS0npSJ4u6KfKJT5k9Jm9MaqVH433tG0YEkoLuFVG7OHS5Tk9RjE=; 7:JQ1AZt5Xu5zmjhvuUt9lLAoqiQoarIc2hr9zq/2bTJCH3ZagfTTSjotsd6YUsg/AntGpI1BvfsHLT/6FLq9NdV1wiB7Pqz0Wh9jIED81dP7qNLB3z5ZuwVNgOvAAgF18DzK/2G/GrDxOlp8IlQic9EDo5YYJtDl44RrlQp7A/AKRTrA+ncju5n/q4Wi6eAeyRKXiIDhKgja3O94hkcESojUerppmuHEK96P37ENOa5in6pl+EYFuGvv2x6kAGfiF
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR05MB929;
x-microsoft-antispam-prvs: <BL2PR05MB929B30582A06340CE46B7D7D6360@BL2PR05MB929.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(158342451672863)(72170088055959)(120809045254105)(138986009662008)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BL2PR05MB929; BCL:0; PCL:0; RULEID:; SRVR:BL2PR05MB929;
x-forefront-prvs: 00073DB75F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(7916002)(377454003)(199003)(189002)(377424004)(53754006)(68736007)(87936001)(19625215002)(19300405004)(8676002)(122556002)(83716003)(2906002)(107886002)(4001430100002)(83506001)(6116002)(3280700002)(19580395003)(105586002)(10400500002)(102836003)(3660700001)(9326002)(97736004)(8936002)(189998001)(82746002)(561944003)(4326007)(5001770100001)(4001350100001)(2900100001)(33656002)(92566002)(7906003)(50986999)(81166006)(106116001)(81156014)(86362001)(106356001)(19617315012)(15975445007)(101416001)(76176999)(66066001)(2950100001)(54356999)(77096005)(7736002)(16236675004)(7846002)(36756003)(19580405001)(3846002)(586003)(5002640100001)(99286002)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR05MB929; H:BY2PR0501MB2133.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CE52FF6454B542DD86672664A0B65D24junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2016 09:43:47.2256 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR05MB929
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/5wtMbTM6480OrEF2Vs658MV4NTQ>
Cc: Peyush Gupta <peyushg@juniper.net>
Subject: Re: [ippm] Extending TWAMP for Monitoring Service KPIs
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jul 2016 09:48:01 -0000

Hi Muthu,

Thanks for your comments. Please see my answers inline:

—
Regards,
Vathsa


From: P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com>
Date: Monday, July 18, 2016 at 2:31 PM
To: Srivathsa Sarangapani <srivathsas@juniper.net>, IETF IPPM WG <ippm@ietf.org>
Cc: Peyush Gupta <peyushg@juniper.net>
Subject: RE: [ippm] Extending TWAMP for Monitoring Service KPIs

I read these drafts and some of the review comments and arguments. While the justifications for this work has been primarily "why not use TWAMP for this purpose", I do not find arguments on why TWAMP is the appropriate protocol for the kind usages described in the draft.
VAT>>>TWAMP is widely used to calculate RTT between 2 network nodes.
Why shouldn’t it be used to piggyback more relevant information like liveliness. Please note currently the TWAMP data payload is not used. It is filled with either zeros or pseudo random values. With our extension this payload can be efficiently used to carry some more relevant information.

If the intention is to find whether a HTTP application is alive, one could send the HTTP request directly to the application and wait for a response.
VAT>>>Say if the network admin wants to know the RTT + the liveliness of an application, then he need to send 2 probes every interval. One TWAMP probe for calculating RTT and one application specific probe to check the liveliness. So with our proposal the desired functionality can be achieved by just 1 probe. So this way, it reduces the number of probes by 50%. This would effectively use the network resources.

OTOH, if the intention is to do the same for some other node Z, one could send a HHTP request to an application running in Z and let it initiate the HHTP request to the target application and pass on the result. We could also extend SIP, XMPP, RTSP or any other application protocol to communicate with Z. It isn't clear why TWAMP is more suitable than any of these protocols.
VAT>>>Good question. I don’t think the main functionality of SIP, XMPP or RTSP is to Measure the IP performance Metric of the network.
But IPPM Protocols are defined and designed for this purposes. I would like to paste some relevant text from the IPPM charter:
“The WG will seek to develop new metrics and models to more accurately characterize the network paths under test and/or the performance of transport and application layer protocols on these paths.”


Regards,
Muthu

From: ippm [mailto:ippm-bounces@ietf.org] On Behalf Of Srivathsa Sarangapani
Sent: Monday, July 18, 2016 7:58 AM
To: IETF IPPM WG <ippm@ietf.org>
Cc: Peyush Gupta <peyushg@juniper.net>
Subject: [ippm] Extending TWAMP for Monitoring Service KPIs

Hi All,

New versions of the TWAMP Service Monitoring extension drafts are being posted after addressing the comments given by Greg, Qin and others in the mailing list.
We request you all to please go through the documents and reply back with your comments/suggestions.
The documents are in the below path:

Name:         draft-spv-ippm-monitor-methodology-services-kpi
Revision: 02
Title:        Monitoring Service KPIs using TWAMP - Methodology
Document date: 2016-07-17
Group:        Individual Submission
Pages:        20
URL:            https://www.ietf.org/internet-drafts/draft-spv-ippm-monitor-methodology-services-kpi-02.txt
Status:         https://datatracker.ietf.org/doc/draft-spv-ippm-monitor-methodology-services-kpi/
Htmlized:       https://tools.ietf.org/html/draft-spv-ippm-monitor-methodology-services-kpi-02
Diff:           https://www.ietf.org/rfcdiff?url2=draft-spv-ippm-monitor-methodology-services-kpi-02

Abstract:
   The TWAMP protocol provides a common architecture for two way
   measurements in the IP network.  However IP network performance are
   also affected by a set of L4-L7 service deployed in the network.
   Monitoring of these service performance in the IP network also plays
   a vital role in network optimization and application layer traffic
   optimization.  This capability is not supported by the existing TWAMP
   protocol.

   In this document, we extend TWAMP protocol to support service
   performance monitoring and service KPIs calculation.  Some of the
   existing fields in the TWAMP protocol are extended to support new
   modes for calculating these KPIs.  A set of new messages are added in
   the control protocol between TWAMP client (session sender) and the
   TWAMP server (session reflector).  Services here ranging from Layer 4
   to Layer 7 services,such as Http based services, Traffic load
   balancer, DPI, Video caching, real time streaming and IPSec.  The
   KPIs MAY be service latency, liveliness of an application, number of
   flows and sessions per service, load balancer statistics.

   There is a separate Draft[I.D-spv-ippm-monitor-implementation-
   services-kpi] that talks about implementation of monitoring these
   KPIs in the network using TWAMP.  Monitoring of these KPIs in the
   service plane with in a network play a vital role in optimum usage of
   network resources and improving the overall performance and capacity.


Name:         draft-spv-ippm-monitor-implementation-services-kpi
Revision: 02
Title:        KPI Metrics for Service Monitoring using TWAMP
Document date: 2016-07-17
Group:        Individual Submission
Pages:        9
URL:            https://www.ietf.org/internet-drafts/draft-spv-ippm-monitor-implementation-services-kpi-02.txt
Status:         https://datatracker.ietf.org/doc/draft-spv-ippm-monitor-implementation-services-kpi/
Htmlized:       https://tools.ietf.org/html/draft-spv-ippm-monitor-implementation-services-kpi-02
Diff:           https://www.ietf.org/rfcdiff?url2=draft-spv-ippm-monitor-implementation-services-kpi-02

Abstract:
   We are using a new method to calculate services KPIs and metrics in
   the network using TWAMP protocol.  This draft outlines the
   implementation of the service KPIs and there use cases in the service
   plane in the network.  The KPIs discussed in this draft include
   Service Latency and Application Liveliness detection.

   Service latency is defined as the time spent by the packet when it is
   injected in the service module or service card till the time,
   serviced packet is received back by the TWAMP server.  TWAMP server
   records the timestamp of the packet when it is injected into the
   service module and then again record the timestamp when it receives
   the packet afer service is applied in the data plane.

   Application Liveliness detection means whether the application is up
   and running in the network.  In case you want to monitor the http
   application or the dns server and verify if they are up and running,
   this method is applicable.  The implementation can be used for
   liveliness detection of any service in the network.


—
Regards,
Vathsa