[bmwg] Latency test for an openflow controller

hassan hatim <hassanhtm@yahoo.com> Sun, 08 June 2014 20:37 UTC

Return-Path: <hassanhtm@yahoo.com>
X-Original-To: bmwg@ietfa.amsl.com
Delivered-To: bmwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB9E51A03EB for <bmwg@ietfa.amsl.com>; Sun, 8 Jun 2014 13:37:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.204
X-Spam-Level: **
X-Spam-Status: No, score=2.204 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FRT_BELOW2=2.154, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=no
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 4O5__n-R8xfG for <bmwg@ietfa.amsl.com>; Sun, 8 Jun 2014 13:37:10 -0700 (PDT)
Received: from nm34-vm2.bullet.mail.bf1.yahoo.com (nm34-vm2.bullet.mail.bf1.yahoo.com [72.30.239.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D32E71A0175 for <bmwg@ietf.org>; Sun, 8 Jun 2014 13:37:09 -0700 (PDT)
Received: from [98.139.214.32] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 08 Jun 2014 20:37:08 -0000
Received: from [98.139.212.242] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 08 Jun 2014 20:37:08 -0000
Received: from [127.0.0.1] by omp1051.mail.bf1.yahoo.com with NNFMP; 08 Jun 2014 20:37:08 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 741983.25971.bm@omp1051.mail.bf1.yahoo.com
Received: (qmail 26009 invoked by uid 60001); 8 Jun 2014 20:37:08 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1402259828; bh=CIkI8C27naqGyiVdLA8xCxHh27J9LbmTLDYudUJYhvg=; h=Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Wbfxl7A2nhvKJA5bJDaY81uDTPr6IKX3tjlevQ0sP+5r9MUnfWAKhVLuHsY8jsZ4+0IBZnfcrWviinsPfOqzpj4AMWcjMe6Rnv2Y5CxCHLtLWgrW6AupeJQygsYKSDbHRCrh7C8ZlOufRfL880dvQ/ax2URGIZqA/qCEN+C1uaQ=
X-YMail-OSG: GDEdfL4VM1kE0qatlTZcuR_ITzF5U_tm8qrR7F56J9RmeyC sdRtzaK_pBToNgaGAoru8k7cqu92vkZ5Z4LBx0vwTKCAyVAEgUh9EnOBFSAr r5VdAaBRlPaAZDSwUMK_9ASWR.hX7fD3GjuOO52OvO7uDgJqq1ZZ5Bn4kKNQ xPm5.GI90n3mXbJV3B3SwkxmfRq7.I8LS8rbqRga72iPXqxORj.wbic9Y.D3 G_Xrsc0J4iGV1pW7qzQhCKjrProYRdrJrslMZfaeZlODAN.Q5fS5GYvHpOK1 xUSRfLzlp0mO_DiZa.8LrtIEJvw4OdTAmS9bWrrcQjBfRr4UuHMYfEHzaKkn LoitJXVCDSsIXJSqmLSx67wwEf90fqYWeoO1gMNuDR_axs2YkVZP.yD3JSNB or5ndEvSAE0V3iEvWUaJjqg1iKLB8GgetBIPVQBO8eCHVgwZYVJamDlTIlWf QrnGyMqs0L_pmEdL8rmHj3qiKUz6uw_BSeU9fr5HfEzXr4dV2Jdq3SFlB4uO cpQhLgb8IXKwNXG8adjU.wzNeLWHLpsMqndWZ5ffuFw--
Received: from [46.195.5.60] by web161801.mail.bf1.yahoo.com via HTTP; Sun, 08 Jun 2014 13:37:08 PDT
X-Rocket-MIMEInfo: 002.001, RGVhcnMKCkkgZGlkIGEgbGF0ZW5jeSB0ZXN0IGZvciBhbiBPcGVuRmxvdyBjb250cm9sbGVyIGJ5IGNiZW5jaCB0b29sLCB0aGUgcmVzdWx0cyBpcyBiZWxsb3c6CgotSzU2Q0I6fiQgdGFza3NldCAtYyAwLTMgY2JlbmNoIC1jIMKgbG9jYWxob3N0IC1wIDY2MzMgLW0gMTAwMDAgLWwgMTQgLXcgMiAtTSAxMDAwMDAgwqAtaSA1MCAtSSA1IC1zIMKgMQpjYmVuY2g6IGNvbnRyb2xsZXIgYmVuY2htYXJraW5nIHRvb2wKwqAgwqBydW5uaW5nIGluIG1vZGUgJ2xhdGVuY3knCsKgIMKgY29ubmVjdGluZyB0byBjb24BMAEBAQE-
X-Mailer: YahooMailWebService/0.8.190.668
Message-ID: <1402259828.19243.YahooMailNeo@web161801.mail.bf1.yahoo.com>
Date: Sun, 08 Jun 2014 13:37:08 -0700
From: hassan hatim <hassanhtm@yahoo.com>
To: "bmwg@ietf.org" <bmwg@ietf.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="1882999342-486904202-1402259828=:19243"
Archived-At: http://mailarchive.ietf.org/arch/msg/bmwg/asvj8nD7E9F6Jwykj025-0krwaU
X-Mailman-Approved-At: Mon, 09 Jun 2014 08:20:19 -0700
Subject: [bmwg] Latency test for an openflow controller
X-BeenThere: bmwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: hassan hatim <hassanhtm@yahoo.com>
List-Id: Benchmarking Methodology Working Group <bmwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bmwg>, <mailto:bmwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/bmwg/>
List-Post: <mailto:bmwg@ietf.org>
List-Help: <mailto:bmwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bmwg>, <mailto:bmwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jun 2014 20:46:29 -0000

Dears

I did a latency test for an OpenFlow controller by cbench tool, the results is bellow:

-K56CB:~$ taskset -c 0-3 cbench -c  localhost -p 6633 -m 10000 -l 14 -w 2 -M 100000  -i 50 -I 5 -s  1
cbench: controller benchmarking tool
   running in mode 'latency'
   connecting to controller at localhost:6633 
   faking 1 switches offset 1 :: 14 tests each; 10000 ms per test
   with 100000 unique source MACs per switch
   learning destination mac addresses before the test
   starting test with 0 ms delay after features_reply
   ignoring first 2 "warmup" and last 0 "cooldown" loops
   connection delay of 50ms per 5 switch(es)
   debugging info is off
13:56:05.830 1   switches: flows/sec:  635968   total = 63.596794 per ms 
13:56:15.931 1   switches: flows/sec:  765060   total = 76.505992 per ms 
13:56:26.031 1   switches: flows/sec:  763596   total = 76.359592 per ms 
13:56:36.131 1   switches: flows/sec:  765249   total = 76.524892 per ms 
13:56:46.232 1   switches: flows/sec:  757221   total = 75.722062 per ms 
13:56:56.332 1   switches: flows/sec:  771945   total = 77.194492 per ms 
13:57:06.432 1   switches: flows/sec:  755700   total = 75.569992 per ms 
13:57:16.532 1   switches: flows/sec:  755304   total = 75.530392 per ms 
13:57:26.632 1   switches: flows/sec:  754737   total = 75.473692 per ms 
13:57:36.733 1   switches: flows/sec:  755922   total = 75.592192 per ms 
13:57:46.833 1   switches: flows/sec:  756075   total = 75.607492 per ms 
13:57:56.933 1   switches: flows/sec:  757404   total = 75.740392 per ms 
13:58:07.033 1   switches: flows/sec:  761826   total = 76.182592 per ms 
13:58:17.134 1   switches: flows/sec:  772500   total = 77.249992 per ms 
RESULT: 1 switches 12 tests min/max/avg/stdev = 75473.69/77249.99/76062.31/614.30 responses/s

Does it right that the calculation for the latency is done by dividing 100000 to the resulted number  76062.31 to get the average delay for all the tests in Microseconds.

Thanks and regards.
-Hassan