From owner-freebsd-net@freebsd.org Thu Sep 10 16:46:04 2015 Return-Path: Delivered-To: freebsd-net@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 2D2CCA01D00 for ; Thu, 10 Sep 2015 16:46:04 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-la0-x241.google.com (mail-la0-x241.google.com [IPv6:2a00:1450:4010:c03::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA1C81C25 for ; Thu, 10 Sep 2015 16:46:03 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: by labmm4 with SMTP id mm4so2936061lab.3 for ; Thu, 10 Sep 2015 09:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=wOzCsNHj3iQHRN26Rnt5D6wlkVfaptr1KtcdXpwNONg=; b=ELnzNeFR9kNlYyccoB9WbY4HMfZEBqCSuptlNsfMehkOfzvu3a/G4Jdf8vB3gHUasp oEHWadqjyXR7I+RKPh19T2f9F5Df1pFSIG/0jYCwg7Bv0C0Ko0lMgwaBY8jXp0Fcq4uu 9IWwZhZDlt2EDFCzctSC1/X4yF6qdh5zQ/cItKASV5Xhl9J1weqk/74FfAucGA1xGgna h+xPB1iUb4QTLg/TsVTE4L+VhCqUTheN+nz5T0aJ9jnolhVleuPaguUQtU/m2KYX31ts IJAyL2HUhIoqloMITDa+GmzOPIv8UYWfl3k8O9nsDVyvfiadZ79+1mpTxj8LczaS4J5z ZYUw== X-Received: by 10.112.136.170 with SMTP id qb10mr37517704lbb.34.1441903561777; Thu, 10 Sep 2015 09:46:01 -0700 (PDT) Received: from ?IPv6:2a02:6b8::408:759a:1d37:18cd:1cf1? ([2a02:6b8:0:408:759a:1d37:18cd:1cf1]) by smtp.gmail.com with ESMTPSA id ok2sm2809761lbb.0.2015.09.10.09.46.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Sep 2015 09:46:00 -0700 (PDT) From: Dmitry Sivachenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: netisr process eats 100% cpu Message-Id: Date: Thu, 10 Sep 2015 19:45:59 +0300 To: FreeBSD Net Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 10 Sep 2015 16:46:04 -0000 Hello! I am using fresh FreeBSD-10/stable. I have a program which establish a TCP connection to server and sends a = lot of small requests over it. I put haproxy load balancer working in TCP mode in the middle, which = listens some port on localhost. Under the relatively low network load (20MB/sec, ~100 kpps), netisr = process starts to consume close to 100% CPU, and does not allow to = utilize more network bandwidth: 11 root -72 - 0K 944K CPU27 27 0:34 98.06% = intr{swi1: netisr 0} If I do not pass traffic through haproxy but connect directly to remote = server, netisr process consumes 0% CPU and everything works well. Is it rather expected or this can be fixed? Thanks in advance.=