Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2010 14:34:18 -0400
From:      George Neville-Neil <gnn@neville-neil.com>
To:        Bryce Edwards <bryce@bryce.net>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: 8-STABLE performance issues on Supermicro Core i7
Message-ID:  <799E6FA3-58E1-473F-A249-AF606C19F7A2@neville-neil.com>
In-Reply-To: <m2j34da63c51005010810r21e40b23m76d9beccd5daaf8c@mail.gmail.com>
References:  <m2j34da63c51005010810r21e40b23m76d9beccd5daaf8c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 1, 2010, at 11:10 , Bryce Edwards wrote:

> Hello,
>=20
> I've got a new Supermicro X58 system with an Intel Core i7 930 with 6
> GB ram that is not performing nearly as fast as it should in many ways
> (compiling, network transfers).  To give an example, it has been
> building the gcc44 port for about 10 hours now and at the same time
> rsync'ing from a Linux box on the same Gigabit network is only getting
> throughput of between 10-25 MB/sec.  When I did a buildkernel for
> 8-STABLE, it took 17 hours!
>=20
> In the BIOS, I have played with a few settings and some actually made
> it worse.  What I have done now is disabled Hyperthreading and
> Speedstep.  I have attached the dmesg details, and here's some system
> info and then some system stats:
>=20
>=20
> bryce@tahiti[~]>uname -a
> FreeBSD tahiti.bryce.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Apr 28
> 10:53:37 CDT 2010
> root@tahiti.bryce.net:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
>=20
>=20
> bryce@tahiti[~]>cat /boot/loader.conf
> ahci_load=3D"YES"
> ichsmb_load=3D"YES"
> smb_load=3D"YES"
> coretemp_load=3D"YES"
>=20
> zfs_load=3D"YES"
> vfs.root.mountfrom=3D"zfs:system"
>=20
> hint.p4tcc.0.disabled=3D1
> hint.acpi_throttle.0.disabled=3D1
>=20
>=20
> bryce@tahiti[~]>cat /etc/sysctl.conf
> kern.timecounter.hardware=3DHPET
>=20
>=20
> bryce@tahiti[~]>vmstat 1
> procs      memory      page                    disks     faults        =
 cpu
> r b w     avm    fre   flt  re  pi  po    fr  sr ad0 ad1   in   sy
> cs us sy id
> 5 0 0   1068M  3478M   572   1   1   0   862   0   0   0 9370 16514
> 16157 71 22  7
> 5 0 0   1068M  3478M     2   0   0   0     0   0   0   0 8008 14504
> 11716 81 17  2
> 5 0 0   1068M  3478M     0   0   0   0     0   0   0   0 12429 22323
> 18125 77 23  0
> 5 0 0   1068M  3478M     0   0   0   0     0   0   0   0 12348 22125
> 17988 73 27  0
>=20
>=20
> bryce@tahiti[~]>vmstat -i
> interrupt                          total       rate
> irq1: atkbd0                        9291          0
> irq17: fwohci0                         1          0
> cpu0: timer                     75416246       2000
> irq256: em0                    137590284       3649
> irq257: em0                    206367605       5473
> irq260: em0                            1          0
> irq266: ahci0                    9892384        262
> cpu2: timer                     75415653       2000
> cpu3: timer                     75415702       2000
> cpu1: timer                     75415561       2000
> Total                          655522728      17385
>=20
>=20
> bryce@tahiti[~]>netstat -I em0 -h 1
>            input          (em0)           output
>   packets  errs idrops      bytes    packets  errs      bytes colls
>      7.7K     0     0        11M       7.2K     0       475K     0
>      8.1K     0     0        12M       7.4K     0       491K     0
>      7.8K     0     0        11M       7.2K     0       476K     0
>=20
> bryce@tahiti[/usr/adm]>iostat 1
>       tty            ada0             ada1             ada2            =
 cpu
> tin  tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy =
in id
>   0   108 22.35   3  0.07  20.61   3  0.07  58.60   0  0.00  71  0  4 =
17  7
>   0   222 64.00   1  0.06  128.00   1  0.12   0.00   0  0.00  87  0  2 =
11  0

First thing to try.  Turn off Legacy USB in the BIOS.

Is this a 2 CPU machine with only one CPU installed?  Make sure your =
memory is all
in the correct slots, on modern (non Front Side Bus) machines like =
Nehalem
only the memory in the slots that are adjacent to a CPU are seen by the =
CPU.

I gather you have a kernel with INVARIANTS, WITNESS and the like turned =
off, correct?

Best,
George




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?799E6FA3-58E1-473F-A249-AF606C19F7A2>