From owner-freebsd-emulation@freebsd.org Fri Nov 18 11:59:20 2016 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3A11C47775 for ; Fri, 18 Nov 2016 11:59:20 +0000 (UTC) (envelope-from decui@microsoft.com) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0113.outbound.protection.outlook.com [104.47.33.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7415F137F; Fri, 18 Nov 2016 11:59:19 +0000 (UTC) (envelope-from decui@microsoft.com) 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; bh=cS5AMvFSCSb1RfAnPAOK2AO2mR5qhCs0H35bnOgIV7o=; b=fOVBNin1einRyyZuhBteUN3gQ7+ejkgCYTO5jfe06CsgWTXS8jEmNu+2wMVrYX6c+F5VUINbW6TEzDUkd3YbaOT3tGweIUxxADC6N+4zCddL/gCj+9xyGYGC53Puj9QX+G5TBEVkdN9ZDqLK9SyuP+6UMBrfJl8kd6pgoCKG/pI= Received: from MWHPR03MB2669.namprd03.prod.outlook.com (10.168.207.15) by CY1PR03MB1520.namprd03.prod.outlook.com (10.163.17.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 18 Nov 2016 11:43:50 +0000 Received: from MWHPR03MB2669.namprd03.prod.outlook.com ([10.168.207.15]) by MWHPR03MB2669.namprd03.prod.outlook.com ([10.168.207.15]) with mapi id 15.01.0734.007; Fri, 18 Nov 2016 11:43:30 +0000 From: Dexuan Cui To: Alexandr Krivulya , "freebsd-emulation@freebsd.org" CC: Hongjiang Zhang , Sepherosa Ziehau , Kylie Liang Subject: RE: poor ipsec perfomance on hyper-v Thread-Topic: poor ipsec perfomance on hyper-v Thread-Index: AQHSQRmGQHlVBzJhZECQvdZVPz75J6DenkBQ Date: Fri, 18 Nov 2016 11:43:29 +0000 Message-ID: References: <3cd47b8b-f47e-d696-cade-b2783d0cc987@shurik.kiev.ua> In-Reply-To: <3cd47b8b-f47e-d696-cade-b2783d0cc987@shurik.kiev.ua> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=decui@microsoft.com; x-originating-ip: [2404:f801:9000:18::7c2] x-microsoft-exchange-diagnostics: 1; CY1PR03MB1520; 7:YEleWE0i8knncwm6LjHI1H/ScI3o9oO0OvUPN/VPPsvP2CgcSKCkqtjbS8RKbt3PGyWHq1/TvqtWuUboosgbSjsm3XsxdNVXWUFSyQLUpb1LnZG4dn7eFrTwyuXFjSCcfc54/7Ia+3bN4nNe/5DUCXL3dJCH0FrhnOa5CveWDt1QR4RKAP4EdJVGx1CYm2CEQivkd0mPQG8/Kdbz88xHYWC51spVQdMLe28flmmvRXt6Wjmt54I6oFAebbRa2t/MQ3/buMH6WCfvHXj00qMKU0zdu5DF7Oy31RS32Fr94Ygtz/cmrTJGupMcDhhsA69ArS61re0yzinVUhmvkXmjASzqR9w0mG/7BJntvxaBPexHaMPGGrOW7s2EGntEUVTs x-ms-office365-filtering-correlation-id: ea8ff4d8-b827-47fc-13ee-08d40fa81e1d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY1PR03MB1520; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6045074)(6040281)(6060326)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038)(6061324)(6041223)(6046074); SRVR:CY1PR03MB1520; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1520; x-forefront-prvs: 01304918F3 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(13464003)(189002)(86362001)(8936002)(2950100002)(105586002)(229853002)(81166006)(4001430100002)(81156014)(5001770100001)(8676002)(77096005)(101416001)(33656002)(86612001)(99286002)(54356999)(76176999)(7696004)(5660300001)(92566002)(10090500001)(50986999)(106356001)(97736004)(2900100001)(106116001)(3660700001)(2906002)(4326007)(3280700002)(76576001)(5005710100001)(6506003)(7846002)(74316002)(68736007)(107886002)(305945005)(6116002)(9686002)(7736002)(102836003)(189998001)(87936001)(2501003)(10290500002)(122556002)(8990500004)(38730400001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR03MB1520; H:MWHPR03MB2669.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2016 11:43:29.7865 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1520 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 11:59:20 -0000 Hi Alexandr, Sephe (in Cc) made some important improvement for the gateway case recently= , but the patches are only in 12-CURRENT for now. Can you please try this? The patches will be backported to stable/10 in a few weeks. Thanks, -- Dexuan > -----Original Message----- > From: owner-freebsd-emulation@freebsd.org [mailto:owner-freebsd- > emulation@freebsd.org] On Behalf Of Alexandr Krivulya > Sent: Friday, November 18, 2016 05:05 > To: freebsd-emulation@freebsd.org > Subject: poor ipsec perfomance on hyper-v >=20 > Hi! > We have freebsd10.3 gateway running in our private hyper-v cloud > (Windows Server 2012R2). Throughput of ipsec tunnel is very poor - > ~3-5Mb/s sometimes slow down to few Kb/s with high cpu load and a lot of > interrupts.Downloading over ftp is about 30-40Mb/s. Disabling tso,rxcsum > and txcsum on hn interfaces do nothing.