From owner-freebsd-current@FreeBSD.ORG Thu Mar 23 18:59:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8059116A42C for ; Thu, 23 Mar 2006 18:59:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55CFF43D55 for ; Thu, 23 Mar 2006 18:59:25 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2NIxH1Y031078; Thu, 23 Mar 2006 13:59:23 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Paolo Pisati Date: Thu, 23 Mar 2006 13:56:40 -0500 User-Agent: KMail/1.9.1 References: <20060322122906.A41691@xorpc.icir.org> <200603231112.26646.jhb@freebsd.org> <20060323175023.GA1039@tin.it> In-Reply-To: <20060323175023.GA1039@tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603231356.42544.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1354/Thu Mar 23 12:49:54 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.7 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: FreeBSD_Current Subject: Re: interesting(?) data on network interrupt servicing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 18:59:26 -0000 On Thursday 23 March 2006 12:50, Paolo Pisati wrote: > On Thu, Mar 23, 2006 at 11:12:24AM -0500, John Baldwin wrote: > > You probably want preemption on to minimize latency. > > i'm doing preemption now... > > > If this is a > > UP machine, you should turn SMP off. It might be interesting to > > compare using 7.x without APIC as well, since you are not using > > APIC on 4.x. > > ok, and what do we expect from it? > besides interrupt masking/eoi, what are the other areas influenced > by apic<->8259 switch? That's probably about it. > moreover, should i profile the asm part too? Well, it would be good if you could do that on both 4.x and 7.0 to get a better comparison. 4.x does most of the equivalent of intr_execute_handlers() in asm. > > APIC 8259 > | | > | | > ISR_VEC() INTR() > | | > | | we don't take any measure > ========================================== <= above this threshold... > lapic_handle_intr() atpic_handle_intr() > \ / > \ / > intr_execute_handlers() > | > | > . > . > . -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org