From owner-freebsd-stable@FreeBSD.ORG Thu Oct 18 21:57:36 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A6AF16A419 for ; Thu, 18 Oct 2007 21:57:36 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 1302013C468 for ; Thu, 18 Oct 2007 21:57:35 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l9ILvVaw004151; Thu, 18 Oct 2007 15:57:32 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4717D6BC.5090206@samsco.org> Date: Thu, 18 Oct 2007 15:57:16 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: Boris Samorodov References: <47137D36.1020305@chistydom.ru> <47140906.2020107@FreeBSD.org> <47146FB4.6040306@chistydom.ru> <47147E49.9020301@FreeBSD.org> <47149E6E.9000500@chistydom.ru> <4715035D.2090802@FreeBSD.org> <4715C297.1020905@chistydom.ru> <4715C5D7.7060806@FreeBSD.org> <47165A01.1030806@chistydom.ru> <07289061@ipt.ru> In-Reply-To: <07289061@ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Thu, 18 Oct 2007 15:57:32 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: amrd disk performance drop after running under high load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 21:57:36 -0000 Boris Samorodov wrote: > Hi! > > Since nobody answered so far, here is my two cents. I'm not an expert > here so it's only my imho. > > On Wed, 17 Oct 2007 22:52:49 +0400 Alexey Popov wrote: > >> interrupt total rate >> irq6: fdc0 8 0 >> irq14: ata0 47 0 >> irq16: uhci0 1428187319 1851 > ^^^^^^^^^^ ^^^^ [1] >> irq18: uhci2 12374352 16 >> irq23: ehci0 3 0 >> irq46: amr0 11983237 15 >> irq64: em0 1427141755 1850 > ^^^^^^^^^^ ^^^^ [2] >> cpu0: timer 1540896452 1997 >> cpu1: timer 1542377798 1999 >> Total 5962960971 7730 > > [1] and [2] looks suspicious to me (totals and rate are too close to > each other and btw to timers). Let the latter (timers) alone. Do you > use any USB device? Can you try to use other network card? That > behaviour seems to be an interrupt storm and/or irq collision. > > It's neither. It's a side effect of a feature that FreeBSD abuses for handling interrupts. Note that amr0 and ehci2 are acting similar. It's mostly harmless, but it does waste CPU cycles. I wouldn't expect this on a recent version of FreeBSD, though, at least not from the e1000 driver. Scott