Packet Number Encryption Performance
Nick Banks <nibanks@microsoft.com> Thu, 21 June 2018 20:48 UTC
Return-Path: <nibanks@microsoft.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B67F2130E0E for <quic@ietfa.amsl.com>; Thu, 21 Jun 2018 13:48:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.453
X-Spam-Level:
X-Spam-Status: No, score=-1.453 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DC_PNG_UNO_LARGO=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_RATIO_04=0.556, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 PlSHHe38G3qa for <quic@ietfa.amsl.com>; Thu, 21 Jun 2018 13:48:02 -0700 (PDT)
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690139.outbound.protection.outlook.com [40.107.69.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 348F81294D0 for <quic@ietf.org>; Thu, 21 Jun 2018 13:48:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=81T620yUq3wHnNymCQHui6ylGDgyDwpH5YKIIMOkqK0=; b=VmuYiSiNiP35FqE4JSB1QUdsgGCXSnJj1zJBf8nxTP/tQDvQeWaCfTgOwXqa8hoyYG5qjcDXJizFdaA1PA8gE2wKu4vsMzMbBUdTnnEM+OKWbpHRMRC2FwyE5Y0gOT033gjT3NZYJaNffbmKFLMlIFTu0yB3MoQjZMOfIEwNr7Y=
Received: from DM5PR2101MB0901.namprd21.prod.outlook.com (52.132.132.158) by DM5PR2101MB0933.namprd21.prod.outlook.com (52.132.131.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.3; Thu, 21 Jun 2018 20:48:00 +0000
Received: from DM5PR2101MB0901.namprd21.prod.outlook.com ([fe80::9cbd:940b:ae62:4031]) by DM5PR2101MB0901.namprd21.prod.outlook.com ([fe80::9cbd:940b:ae62:4031%4]) with mapi id 15.20.0906.013; Thu, 21 Jun 2018 20:48:00 +0000
From: Nick Banks <nibanks@microsoft.com>
To: "quic@ietf.org" <quic@ietf.org>
Subject: Packet Number Encryption Performance
Thread-Topic: Packet Number Encryption Performance
Thread-Index: AdQJn5UDP5dBCj8oST6dWmAQqIW3Nw==
Date: Thu, 21 Jun 2018 20:48:00 +0000
Message-ID: <DM5PR2101MB0901FCB1094A124818A0B1FEB3760@DM5PR2101MB0901.namprd21.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=nibanks@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-06-21T20:47:57.8082397Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General
x-originating-ip: [2001:4898:80e8:0:e04f:689c:e707:26ee]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0933; 7:GiN2DnwYgkM9QQtQjJvUF3UtgBm8xeHC2gCQO7zS7FttUiRh1O2fsIZlYWtLVPuPxAo/Z+FpZDA7EdPebJWCETi2vN8+yGICjir/YlZV0+Gq+8626b4YjaqOMxivJzUB/oKsoZwGAOdPrpc/Lkvw5r2BGdjgBkChRgOpI2VjHSbS+9p2skZvfe4lqdXhD1ME+Z6DzOpLOuJBbZ6l/p+qHtvg3bzdL7Zrg86grsr+QAz9BVDKzFVAzuBBC2xpx3nx
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 7a6136d6-62dc-4c0a-00c5-08d5d7b846bc
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989088)(4534165)(4627221)(201703031133081)(201702281549075)(8990095)(5600026)(711020)(48565401081)(2017052603328)(49563074)(7193020); SRVR:DM5PR2101MB0933;
x-ms-traffictypediagnostic: DM5PR2101MB0933:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=nibanks@microsoft.com;
x-microsoft-antispam-prvs: <DM5PR2101MB0933173F7EC2AAE814EF4C37B3760@DM5PR2101MB0933.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(158342451672863)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(2018427008)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:DM5PR2101MB0933; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0933;
x-forefront-prvs: 07106EF9B9
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(366004)(396003)(39860400002)(346002)(39380400002)(189003)(199004)(14454004)(10290500003)(3280700002)(2906002)(46003)(97736004)(790700001)(6116002)(316002)(5630700001)(33656002)(99286004)(106356001)(22452003)(6306002)(3660700001)(6506007)(54896002)(102836004)(55016002)(9686003)(54556002)(186003)(7696005)(6436002)(478600001)(6916009)(733005)(5660300001)(5640700003)(74316002)(10090500001)(25786009)(561924002)(8990500004)(99936001)(1730700003)(3480700004)(8936002)(68736007)(86362001)(53936002)(86612001)(7736002)(105586002)(81156014)(81166006)(476003)(486006)(8676002)(5890100001)(2351001)(2501003)(5250100002)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0933; H:DM5PR2101MB0901.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 1g0R8eybz4dhGbjNKuDs94s6TjE1jIZGwEP/2F2AJ5ellzIwhZRz5+XjlHeSreva8Vcch7GwH1lKK9/KuGVBby7/bnrvmqvqqAa/qztZOc66aD19BmsDyXzSpeiNBcmBIG6TfnXYlMqi5ul2kcw95rOtCmwo9vNCSGXitM+oc5B6sTW2naAfQf0JHMg+hUnIJArNrsHOKkX5FxDZSASi2/MLdoxAEnjKjVvnGx7Z4ClgmM8RXX1/bst+ETfpFl7adyp57YLNARAw9MkalOwTEI0tJvhAIAp1X1qFvE0FiI8B/UQO1T8LQsX4o2HiqBfFpGIIkiaNn0JboukfPe6fow==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/mixed; boundary="_006_DM5PR2101MB0901FCB1094A124818A0B1FEB3760DM5PR2101MB0901_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7a6136d6-62dc-4c0a-00c5-08d5d7b846bc
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2018 20:48:00.1872 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0933
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/Tcx01Ads6jhofJD6zeAbC_W-Lrg>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jun 2018 20:48:05 -0000
Hello QUIC WG, I recently implemented PNE for WinQuic (using bcrypt APIs) and I decided to get some performance numbers to see what the overhead of PNE was. I figured the rest of the WG might be interested. My test just encrypts the same buffer (size dependent on the test case) 10,000,000 times and measured the time it took. The test then did the same thing, but also encrypted the packet number as well. I ran all that 10 times in total. I then collected the best times for each category to produce the following graphs and tables (full excel doc attached): [cid:image003.png@01D40966.7655B6B0] Time (ms) Rate (Mbps) Bytes NO PNE PNE PNE Overhead No PNE PNE 4 2284.671 3027.657 33% 140.064 105.692 16 2102.402 2828.204 35% 608.827 452.584 64 2198.883 2907.577 32% 2328.45 1760.92 256 2758.3 3490.28 27% 7424.86 5867.72 600 4669.283 5424.539 16% 10280 8848.68 1000 6130.139 6907.805 13% 13050.3 11581.1 1200 6458.679 7229.672 12% 14863.7 13278.6 1450 7876.312 8670.16 10% 14727.7 13379.2 I used a server grade lab machine I had at my disposal, running the latest Windows 10 Server DataCenter build. Again, these numbers are for crypto only. No QUIC or UDP is included. Thanks, - Nick
- Re: Packet Number Encryption Performance Ian Swett
- Re: Packet Number Encryption Performance Kazuho Oku
- Re: Packet Number Encryption Performance Willy Tarreau
- Re: Packet Number Encryption Performance Mikkel Fahnøe Jørgensen
- Re: Packet Number Encryption Performance Kazuho Oku
- RE: Packet Number Encryption Performance Nick Banks
- Re: Packet Number Encryption Performance Kazuho Oku
- Re: Packet Number Encryption Performance Jana Iyengar
- RE: Packet Number Encryption Performance Nick Banks
- Re: Packet Number Encryption Performance Jana Iyengar
- RE: Packet Number Encryption Performance Deval, Manasi
- Packet Number Encryption Performance Nick Banks
- Re: Packet Number Encryption Performance Jana Iyengar
- Re: Packet Number Encryption Performance Rui Paulo
- RE: Packet Number Encryption Performance Nick Banks
- Re: Packet Number Encryption Performance Kazuho Oku
- RE: Packet Number Encryption Performance Nick Banks
- RE: Packet Number Encryption Performance Mikkel Fahnøe Jørgensen
- RE: Packet Number Encryption Performance Nick Banks
- Re: Packet Number Encryption Performance Kazuho Oku
- RE: Packet Number Encryption Performance Nick Banks
- Re: Packet Number Encryption Performance Ian Swett
- RE: Packet Number Encryption Performance Nick Banks
- RE: Packet Number Encryption Performance Praveen Balasubramanian
- Re: Packet Number Encryption Performance Kazuho Oku