From owner-freebsd-performance@FreeBSD.ORG Fri Jul 18 04:21:52 2014 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC19341E for ; Fri, 18 Jul 2014 04:21:52 +0000 (UTC) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D2D62382 for ; Fri, 18 Jul 2014 04:21:52 +0000 (UTC) Received: by mail-qg0-f48.google.com with SMTP id i50so2771259qgf.21 for ; Thu, 17 Jul 2014 21:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=ed13zmBdaD+9FlTVfBlxHbuSu7m/h9Fpuf5XrpVJewE=; b=Yfh1wd0vfmZ0RuvB9dLIc2DpJlbYB8lvj4yJD4HHGQsOJtQ9xnAJIg5SOjEup0I1Rj xmUFOGlx+BQ4ejqtVuMQLencK5IMdyMAv1Pl+IkVSma3WNj6tPquvE7ay1E3Ozv66jS6 K0jwQ4xyRuYVhXAylSweyn+DzOpWjBProzoCjpxXWUZuJ0J2SlieAu3KBB7vJYhVB5Rh Sj1CoFMl7mdiYSG5A+VIl9+u9zZXwX9DLE4u76D4BtvDupEo8ydHervI4dmq8ezslD1f 9WD8LEN1/utpx5k9zrHXkanWj9ReKq2paBn0/yt86KfhoRimh9CVDhYx5nqvmNoIMUDM OpcQ== MIME-Version: 1.0 X-Received: by 10.140.19.176 with SMTP id 45mr3226880qgh.46.1405657311252; Thu, 17 Jul 2014 21:21:51 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 21:21:51 -0700 (PDT) In-Reply-To: <20140718014450.388E7718001@webmail.sinamail.sina.com.cn> References: <20140718014450.388E7718001@webmail.sinamail.sina.com.cn> Date: Thu, 17 Jul 2014 21:21:51 -0700 X-Google-Sender-Auth: irBtIxlUkYakoG7M0XUzQzFdYM4 Message-ID: Subject: Re: about network interrupt From: Adrian Chadd To: zjusomwu@sina.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 04:21:52 -0000 Hi! So em(4) doesn't use multiple CPUs on the traffic receive path, so things won't scale all that well. can you retry with an igb(4) NIC? I do have a TODO item to implement generic receive load balancing based on a GSoC project and some of the RSS stuff that is in -HEAD now but it's going to be some time before I can take advantage of it. -a On 17 July 2014 18:44, wrote: > hi,all: > I'm testing network performance of nginx using freebsd,and I find some= thing strange, that is :while sending huge amount http request to nginx and= use top to monitor this machine, for some machines a lot of cpu is consume= d by interrupt but the others not! And I use one machine for test using dif= ferent version of freebsd,then I find Freebsd 8 not using interrupt but 10 = does! In order to explain this I first guess it is the polling make it d= iff,but after I using "ifconfig em0 -polling" to disable polling of the net= work interface it does no effect! Now I can't explain it. Who can give me s= ome advice? > somwu > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd= .org"