From owner-freebsd-stable@freebsd.org Tue Aug 25 04:24:28 2015 Return-Path: Delivered-To: freebsd-stable@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 51DAC9C2862 for ; Tue, 25 Aug 2015 04:24:28 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3AAF51E48 for ; Tue, 25 Aug 2015 04:24:28 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 39BD39C2861; Tue, 25 Aug 2015 04:24:28 +0000 (UTC) Delivered-To: stable@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 395E69C2860 for ; Tue, 25 Aug 2015 04:24:28 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from mail.imenpardis.com (mail.imenpardis.com [188.121.128.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB3741E47 for ; Tue, 25 Aug 2015 04:24:27 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from [192.168.1.3] (unknown [31.59.227.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: freebsd@farrokhi.net) by mail.imenpardis.com (Postfix) with ESMTPSA id A7009424DF8; Tue, 25 Aug 2015 08:54:24 +0430 (IRDT) From: "Babak Farrokhi" To: "Slawa Olhovchenkov" Cc: stable@freebsd.org Subject: Re: dev.ix.0.queueX.interrupt_rate Date: Tue, 25 Aug 2015 08:54:23 +0430 Message-ID: In-Reply-To: <20150824221758.GF21849@zxy.spb.ru> References: <20150824192926.GL3158@zxy.spb.ru> <20150824221758.GF21849@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate Trial (1.9.2r5107) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 04:24:28 -0000 You may want to disable interrupt moderation and manually configure interrupt rate per queue if you have high pps. I have had a lot of headaches with ix driver and fixed it by manually setting interrupt rates. sysctl hw.ix.enable_aim=0 — Babak On 25 Aug 2015, at 2:47, Slawa Olhovchenkov wrote: > On Mon, Aug 24, 2015 at 10:13:05PM +0000, Eric Joyner wrote: > >> What's strange about it? The interrupt rate only changes if traffic >> goes >> out on the queue, and so if whatever applications you use don't >> utilize the >> core the queue is bound to, then the interrupt rate won't change. >> >> Or are you confused about the units? I know ixl(4) uses usecs instead >> of >> Hz, so ix(4) should probably change to use that at some point. > > By default `hw.ix.max_interrupt_rate: 31250` and I confused about some > queue exceed this. > > And I can set dev.ix.0.queue4.interrupt_rate to 31250 (by sysctl) and > this changes accepted. > > I am to be out of it. > >> On Mon, Aug 24, 2015, 12:29 PM Slawa Olhovchenkov >> wrote: >> >>> I have '82599ES 10-Gigabit SFI/SFP+ Network Connection' and see >>> strange: >>> >>> # sysctl dev.ix.0 | grep interrupt_rate >>> dev.ix.0.queue7.interrupt_rate: 500000 >>> dev.ix.0.queue6.interrupt_rate: 500000 >>> dev.ix.0.queue5.interrupt_rate: 31250 >>> dev.ix.0.queue4.interrupt_rate: 31250 >>> dev.ix.0.queue3.interrupt_rate: 31250 >>> dev.ix.0.queue2.interrupt_rate: 500000 >>> dev.ix.0.queue1.interrupt_rate: 500000 >>> dev.ix.0.queue0.interrupt_rate: 500000 >>> >>> Last -stable, no tuning. Is this normal? >>> >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to >>> "freebsd-stable-unsubscribe@freebsd.org" >>> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org"