From owner-freebsd-stable@FreeBSD.ORG Thu Sep 23 00:54:47 2010 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 A1667106564A for ; Thu, 23 Sep 2010 00:54:47 +0000 (UTC) (envelope-from bryce@bryce.net) Received: from mail-yx0-f186.google.com (mail-yx0-f186.google.com [209.85.213.186]) by mx1.freebsd.org (Postfix) with ESMTP id 630398FC08 for ; Thu, 23 Sep 2010 00:54:46 +0000 (UTC) Received: by yxf34 with SMTP id 34so1010172yxf.13 for ; Wed, 22 Sep 2010 17:54:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.91.103.11 with SMTP id f11mr182646agm.59.1285203286423; Wed, 22 Sep 2010 17:54:46 -0700 (PDT) Received: by g18g2000vbn.googlegroups.com with HTTP; Wed, 22 Sep 2010 17:54:46 -0700 (PDT) Date: Wed, 22 Sep 2010 17:54:46 -0700 (PDT) In-Reply-To: X-IP: 70.140.155.124 References: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10,gzip(gfe) Message-ID: From: Bryce To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: SuperMicro i7 (UP) - very slow performance 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, 23 Sep 2010 00:54:47 -0000 On Sep 22, 3:43=A0am, free...@jdc.parodius.com (Jeremy Chadwick) wrote: > On Wed, Sep 22, 2010 at 03:30:33AM -0500, Adam Vande More wrote: > > On Wed, Sep 22, 2010 at 3:12 AM, Peter Jeremy wro= te: > > > > I think something is badly wrong here. =A0That's less than 1/2 the sp= eed > > > of my Athlon 4850e (2.5GHz) and only 60% more than my Atom N270. =A0N= one > > > of the other figures you posted look anomolous. =A0Are you sure the C= PU > > > is actually running at full speed and you haven't done something like > > > disable the caches in BIOS? > > > FWIW: > > > FreeBSD galacticdominator.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #1:= Sun > > Jun 20 21:05:37 CDT 2010 > > a...@galacticdominator.com:/usr/obj/usr/src/sys/GENERIC > > amd64 > > CPU: Intel(R) Core(TM) i7 CPU =A0 =A0 =A0 =A0 870 =A0@ 2.93GHz (2940.64= -MHz K8-class > > CPU) > > > MD5 time trial. Digesting 100000 10000-byte blocks ... done > > Digest =3D 766a2bb5d24bddae466c572bcabca3ee > > Time =3D 2.012719 seconds > > Speed =3D 496840352.000000 bytes/second > > > vmstat > > -i > > > interrupt =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0total > > rate > > > irq16: vgapci0+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 10720642 =A0 =A0 =A0 = =A0 54 > > irq18: fwohci0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 2 =A0 = =A0 =A0 =A0 =A00 > > irq23: ehci1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0623712 =A0 =A0 = =A0 =A0 =A03 > > cpu0: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393496151 =A0 =A0 = =A0 1996 > > irq256: hdac0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A08063581 =A0 =A0 = =A0 =A0 40 > > irq257: re0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A04136265 =A0 =A0 = =A0 =A0 20 > > irq259: ahci1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A01925783 =A0 =A0 = =A0 =A0 =A09 > > cpu1: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393494902 =A0 =A0 = =A0 1996 > > cpu6: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393494606 =A0 =A0 = =A0 1996 > > cpu5: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393494653 =A0 =A0 = =A0 1996 > > cpu7: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393494701 =A0 =A0 = =A0 1996 > > cpu4: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393494785 =A0 =A0 = =A0 1996 > > cpu3: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393494732 =A0 =A0 = =A0 1996 > > cpu2: timer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0393494404 =A0 =A0 = =A0 1996 > > Total =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 3173428919 =A0 = =A0 =A016102 > > > His interrupts seem high compared to this setup, but I don't what expec= ted > > values should be. > > How are his interrupt rates "higher" than yours? =A0If you're focused on > the cpuX entries, don't be. > > To the OP: > > 1) I don't see how/why USB Legacy support would have anything to do with > your problem (meaning: you stated that things "improved a little" if you > disabled USB Legacy support in the BIOS, which makes no sense given what > that option does). The machine runs *MUCH* slower if Legacy BIOS is not disabled. Just booting up is excruciating, and takes forever. > > 2) There's been a discussion on -stable about FreeBSD incorrectly > determining different kinds of CPU characteristics on newer processors > like the i7, with HTT in use. =A0I can dig up the thread if you'd like. > It does include a patch. Yes, I'd like that. In case this helps: kern.sched.topology_spec: 0, 1, 2, 3, 4, 5, 6, 7 0, 1, 2, 3, 4, 5, 6, 7 0, 1 THREAD groupSMT group 2, 3 THREAD groupSMT group 4, 5 THREAD groupSMT group 6, 7 THREAD groupSMT group > > 3) Reset the BIOS settings to Factory Defaults ("Load Setup Defaults" > or the like), and then write down whatever you change, then post the > changes here. After resetting BIOS, I make the following changes: - Disable Legacy BIOS - Change drive controller from enhanced mode to AHCI and for your #4, the temp is almost always between 49-60 degrees C and the cpu freq is always 2801. > > -- > | Jeremy Chadwick =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 j...@parodius.com | > | Parodius Networking =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://w= ww.parodius.com/| > | UNIX Systems Administrator =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mountain = View, CA, USA | > | Making life hard for others since 1977. =A0 =A0 =A0 =A0 =A0 =A0 =A0PGP:= 4BD6C0CB | > > _______________________________________________ > freebsd-sta...@freebsd.org mailing listhttp://lists.freebsd.org/mailman/l= istinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" I am not running powerd as I saw odd behavior and wanted to get a know good before introducing other variables. ::Bryce::