From owner-freebsd-net@FreeBSD.ORG Thu Aug 22 13:47:16 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EFC3F69E for ; Thu, 22 Aug 2013 13:47:15 +0000 (UTC) (envelope-from VenkatKumar.Duvvuru@Emulex.Com) Received: from CMEXEDGE2.ext.emulex.com (cmexedge2.ext.emulex.com [138.239.224.100]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0B572E1E for ; Thu, 22 Aug 2013 13:47:15 +0000 (UTC) Received: from CMEXHTCAS2.ad.emulex.com (138.239.115.218) by CMEXEDGE2.ext.emulex.com (138.239.224.100) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 22 Aug 2013 06:33:02 -0700 Received: from CMEXMB1.ad.emulex.com ([169.254.1.45]) by CMEXHTCAS2.ad.emulex.com ([2002:8aef:71b8::8aef:71b8]) with mapi id 14.03.0146.000; Thu, 22 Aug 2013 06:32:06 -0700 From: Venkata Duvvuru To: "freebsd-net@freebsd.org" Subject: OCE driver on Freebsd 10.0-Current Thread-Topic: OCE driver on Freebsd 10.0-Current Thread-Index: Ac6fO+XzxuQFS+LCR6+MNWpJ0LobFg== Date: Thu, 22 Aug 2013 13:32:06 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [138.239.140.105] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 13:47:16 -0000 Hi, I'm running iperf on Emulex's OCE network adapter in Freebsd-10-current. At= heavy traffic (iperf with ~10 connections), iperf is hanging. The same dri= ver is working on all other Freebsd versions. top -HS shows the below information. PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 155 ki31 0K 128K CPU4 4 146:36 100.00% idle{idle:= cpu4} 12 root -60 - 0K 688K CPU6 6 52:38 100.00% intr{swi4:= clock} 11 root 155 ki31 0K 128K CPU2 2 148:42 99.66% idle{idle: = cpu2} 11 root 155 ki31 0K 128K CPU7 7 149:24 99.27% idle{idle: = cpu7} 11 root 155 ki31 0K 128K RUN 0 148:00 99.27% idle{idle: = cpu0} 11 root 155 ki31 0K 128K CPU1 1 149:44 99.17% idle{idle: = cpu1} 11 root 155 ki31 0K 128K CPU5 5 148:46 99.17% idle{idle: = cpu5} 11 root 155 ki31 0K 128K CPU3 3 96:57 89.06% idle{idle: = cpu3} 11 root 155 ki31 0K 128K RUN 6 149:11 13.87% idle{idle: = cpu6} One interesting thing I observed is that intr is taking 100% on CPU6 when i= perf hangs, while iperf is running fine, the intr WCPU percentage is very l= ow. What does this below line mean? Why intr is 100% on CPU6?? 12 root -60 - 0K 688K CPU6 6 52:38 100.00% intr{swi4: cl= ock} /Venkat.