Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 17:54:46 -0700 (PDT)
From:      Bryce <bryce@bryce.net>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: SuperMicro i7 (UP) - very slow performance
Message-ID:  <da189ecd-c9ba-4b49-9f46-6ee4e3dfea56@g18g2000vbn.googlegroups.com>
In-Reply-To: <mailpost.1285145047.2294223.42059.mailing.freebsd.stable@FreeBSD.cs.nctu.edu.tw>
References:  <AANLkTimRpatbjTcpdBT6EV1Jb2U3ake4me7YPxHhwO7K@mail.gmail.com> <mailpost.1285145047.2294223.42059.mailing.freebsd.stable@FreeBSD.cs.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <peterjer...@acm.org> 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: <groups>
 <group level=3D"1" cache-level=3D"0">
  <cpu count=3D"8" mask=3D"0xff">0, 1, 2, 3, 4, 5, 6, 7</cpu>
  <children>
   <group level=3D"3" cache-level=3D"2">
    <cpu count=3D"8" mask=3D"0xff">0, 1, 2, 3, 4, 5, 6, 7</cpu>
    <children>
     <group level=3D"5" cache-level=3D"1">
      <cpu count=3D"2" mask=3D"0x3">0, 1</cpu>
      <flags><flag name=3D"THREAD">THREAD group</flag><flag
name=3D"SMT">SMT group</flag></flags>
     </group>
     <group level=3D"5" cache-level=3D"1">
      <cpu count=3D"2" mask=3D"0xc">2, 3</cpu>
      <flags><flag name=3D"THREAD">THREAD group</flag><flag
name=3D"SMT">SMT group</flag></flags>
     </group>
     <group level=3D"5" cache-level=3D"1">
      <cpu count=3D"2" mask=3D"0x30">4, 5</cpu>
      <flags><flag name=3D"THREAD">THREAD group</flag><flag
name=3D"SMT">SMT group</flag></flags>
     </group>
     <group level=3D"5" cache-level=3D"1">
      <cpu count=3D"2" mask=3D"0xc0">6, 7</cpu>
      <flags><flag name=3D"THREAD">THREAD group</flag><flag
name=3D"SMT">SMT group</flag></flags>
     </group>
    </children>
   </group>
  </children>
 </group>
</groups>

>
> 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::



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?da189ecd-c9ba-4b49-9f46-6ee4e3dfea56>