From owner-freebsd-smp@FreeBSD.ORG Sun May 30 03:09:42 2004 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4940A16A4CE for ; Sun, 30 May 2004 03:09:42 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B12543D49 for ; Sun, 30 May 2004 03:09:42 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (6d5a2f7b2c12fa0c6de29a68afb0bbbd@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i4UA9f1Z018977; Sun, 30 May 2004 03:09:41 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E1DA8520B5; Sun, 30 May 2004 03:09:09 -0700 (PDT) Date: Sun, 30 May 2004 03:09:09 -0700 From: Kris Kennaway To: Shane Ambler Message-ID: <20040530100908.GA39456@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: FreeBSD Mailing Lists Subject: Re: SMP kernel for MSI 694D Pro X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 10:09:42 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 30, 2004 at 07:35:30PM +0930, Shane Ambler wrote: > I am looking for some assistance in building an SMP kernel for an MSI dual > PIII board, model is 694D Pro. >=20 > I have built a new kernel (5.2.1) that boots, but doesn't appear to use b= oth > procs. >=20 > Running top only shows one cpu line in the header - the entry for top > switches between cpu0 and cpu1 (in the state column) so there is some > recognition of the 2 procs just not spreading the load. So your kernel is in fact using both CPUs. > I am importing multiple times into mysql to check load - the best I can do > is get 45% idle. If your application is not multithreaded or is linked to libc_r then it will only use one CPU at a time. Kris --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAubLEWry0BWjoQKURAkiDAJ48ZfLWxqUDS3MRF3dA8hTWQu0/WgCfbuV9 sj4vmCh4/CgEJU/EHqEsqW0= =cbyX -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--