From owner-freebsd-net@FreeBSD.ORG Fri Mar 6 06:22:30 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B84751A for ; Fri, 6 Mar 2015 06:22:30 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0102.outbound.protection.outlook.com [65.55.169.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92E1F6E8 for ; Fri, 6 Mar 2015 06:22:29 +0000 (UTC) Received: from BY1PR0301MB0902.namprd03.prod.outlook.com (25.160.195.141) by BY1PR0301MB0904.namprd03.prod.outlook.com (25.160.195.143) with Microsoft SMTP Server (TLS) id 15.1.99.14; Fri, 6 Mar 2015 06:22:21 +0000 Received: from BY1PR0301MB0902.namprd03.prod.outlook.com ([25.160.195.141]) by BY1PR0301MB0902.namprd03.prod.outlook.com ([25.160.195.141]) with mapi id 15.01.0099.004; Fri, 6 Mar 2015 06:22:21 +0000 From: Wei Hu To: "freebsd-net@freebsd.org" Subject: Network interrupt and NAPI in FreeBSD? Thread-Topic: Network interrupt and NAPI in FreeBSD? Thread-Index: AdBXxrUZJSIVrvKZR/OD9Js74nJJKg== Date: Fri, 6 Mar 2015 06:22:20 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [167.220.232.8] authentication-results: freebsd.org; dkim=none (message not signed) header.d=none; x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0904; x-forefront-antispam-report: BMV:0; SFV:NSPM; SFS:(10019020)(6009001)(164054003)(2501003)(15975445007)(102836002)(87936001)(33656002)(86362001)(62966003)(19625215002)(19300405004)(19580395003)(54356999)(2656002)(16236675004)(76576001)(2900100001)(107886001)(2351001)(229853001)(46102003)(110136001)(450100001)(99286002)(122556002)(40100003)(66066001)(77156002)(92566002)(74316001)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0904; H:BY1PR0301MB0902.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5001007)(5005006); SRVR:BY1PR0301MB0904; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0904; x-forefront-prvs: 05079D8470 MIME-Version: 1.0 X-OriginatorOrg: microsoft.onmicrosoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2015 06:22:20.9352 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0904 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2015 06:22:30 -0000 Hi, I am working on network driver performance for Hyper-V. I noticed the netwo= rk interrupt rate on FreeBSD is significantly higher than Linux, in the sam= e Hyper-V environment. The iperf test also shows the FreeBSD performance is= not as good as Linux. Linux has NAPI built in which could avoid a lot of i= nterrupts on a heavy loaded system. I am wondering if FreeBSD also support = NAP in its network stack? Also any thought on the network performance in general? Thanks, Wei