From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 22:44:54 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF23916A46C for ; Wed, 31 Oct 2007 22:44:54 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7BAC913C4AC for ; Wed, 31 Oct 2007 22:44:54 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so262571nfb for ; Wed, 31 Oct 2007 15:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=s3Zm401Z+NI0gTx5dWW64eJv4/4vOlpB3caYCMLjxjk=; b=XxUpd3LPkfzaE5fwWkAU3ScqNWzsoZ5J5mzXrMaQkZnPHJdxALGEA6DH3mS8zlfZszQh9tjLNAtnYMPnXdYTNTeo9NzIqGmnw9opJcXIBH1UzSzFQm8XwjS4Pa6bvJcHOvGy0DQSImvch0XEX4SGSpNHJgOTLN+sRjvcQJ6pxLI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d87Fe2IoooGW/saAA+OSe+h0XOXuB/sriczhQLFygYqr5W2uULjTz721D2tAGPDr7EMkzW3dEKvyc05oTp0tCzZzYOcIic89/EBpPJTkst7om0aoRyznncxfDg7nsRNCre85zD9rGoXFI7EtFmHYjl3z0aHpLyNqRHxd6HvFQfk= Received: by 10.86.82.16 with SMTP id f16mr6944790fgb.1193870676850; Wed, 31 Oct 2007 15:44:36 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Wed, 31 Oct 2007 15:44:36 -0700 (PDT) Message-ID: <2a41acea0710311544x5db98f27ta0f1276fd06d13f@mail.gmail.com> Date: Wed, 31 Oct 2007 15:44:36 -0700 From: "Jack Vogel" To: "Mike Tancsa" In-Reply-To: <200710312232.l9VMWgJJ090112@lava.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071011003619.GA84433@obelix.dsto.defence.gov.au> <200710301328.l9UDSWAK081359@lava.sentex.ca> <200710311621.53910.jhb@freebsd.org> <200710312058.l9VKw6id089701@lava.sentex.ca> <2a41acea0710311525w1721f4h619237292829b071@mail.gmail.com> <200710312232.l9VMWgJJ090112@lava.sentex.ca> Cc: freebsd-current@freebsd.org Subject: Re: em0: watchdog timeout ... 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: Wed, 31 Oct 2007 22:44:55 -0000 On 10/31/07, Mike Tancsa wrote: > At 06:25 PM 10/31/2007, Jack Vogel wrote: > > > > > > > >What if you use MSI? > > > > > > How do I enable that ? > > > >sysctl hw.pci.enable_msi=1 > > > >and > > > >sysctl hw.pci.enable_msix=1 > > > >For those that don't know, MSI/X is there in STABLE but off by default. > > Thanks, > Do I need to do this in /boot/loader.conf or can I set it at > any time? Are there any performance hits / boosts to use this method > instead of the default ? I have set it after the system booted and it seemed to work. John could speak more authoritatively since he wrote it, but I have seen no problem turning em use on whenever. Uh, this means of course, enabling it and THEN loading the driver, if em is loaded and you enable the system it will have no effect on em until unload and reloading it. John has also said that MSI in 6.X is not as full an implementation as in 7 but I don't recall what that amounted to. It means you have a unique unshared interrupt, I have never really had any performance tests done on MSI vs Legacy so I can't speak to that. Jack