From owner-freebsd-stable Fri Dec 6 14:15: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7548137B401 for ; Fri, 6 Dec 2002 14:15:05 -0800 (PST) Received: from brev.stud.ntnu.no (brev.stud.ntnu.no [129.241.56.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8687043E4A for ; Fri, 6 Dec 2002 14:15:00 -0800 (PST) (envelope-from morten@rodal.no) Received: from localhost (localhost [127.0.0.1]) by brev.stud.ntnu.no (Postfix) with ESMTP id F280913ED38 for ; Fri, 6 Dec 2002 23:14:58 +0100 (CET) Received: from slurp.rodal.no (m200h.studby.ntnu.no [129.241.135.200]) by brev.stud.ntnu.no (Postfix) with ESMTP id 22AFC13ED4C for ; Fri, 6 Dec 2002 23:14:58 +0100 (CET) Received: (from morten@localhost) by slurp.rodal.no (8.12.6/8.12.6/Submit) id gB6MEvxm001763 for freebsd-stable@FreeBSD.org; Fri, 6 Dec 2002 23:14:57 +0100 (CET) (envelope-from morten) Date: Fri, 6 Dec 2002 22:44:31 +0100 From: Morten Rodal To: Craig Boston Subject: Re: SMP users: Please test (possible bug in select()) Message-ID: <20021206214431.GA1383@slurp.rodal.no> References: <1039207405.306.15.camel@owen1492.it.oot> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <1039207405.306.15.camel@owen1492.it.oot> X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 06, 2002 at 02:43:26PM -0600, Craig Boston wrote: > If anyone has an SMP system that they don't mind an ungraceful shutdown > for a good cause, please compile the following program: >=20 [snip] >=20 > Start off by running one copy of this program PER CPU (i.e. run it twice > on a dual CPU box), and let it run for 5 minutes or so. If your system > is still up and running, run two more copies and wait another 5 > minutes. Bonus points for running from within X. >=20 Program has been running for about 5 minutes, then I added two more :) And I can safely collect the bonus points .. woohoo. =46rom top: last pid: 1495; load averages: 4.51, 3.99, 2.75 up 0+02:51:00 22:43:08 69 processes: 6 running, 63 sleeping CPU states: 26.3% user, 0.0% nice, 73.2% system, 0.6% interrupt, 0.0% id= le Mem: 113M Active, 268M Inact, 33M Wired, 21M Cache, 54M Buf, 1076K Free Swap: 881M Total, 881M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 1422 morten 64 0 884K 332K RUN 1 5:33 41.75% 41.75% smp 1360 morten 64 0 884K 316K RUN 0 10:21 38.87% 38.87% smp 1421 morten 64 0 884K 332K CPU1 1 5:40 38.72% 38.72% smp 1359 morten 64 0 884K 316K RUN 0 10:23 38.09% 38.09% smp 1300 morten 64 0 48020K 41540K RUN 1 1:42 23.34% 23.34% mozilla-= bin 1275 morten 2 0 15232K 8188K poll 1 1:37 5.76% 5.76% mplayer 209 root 2 0 307M 75288K select 1 5:43 3.12% 3.12% XFree86 =46rom dmesg: FreeBSD 4.7-STABLE #3: Tue Dec 3 16:55:36 CET 2002 root@slurp.rodal.no:/usr/obj/usr/src/sys/slurp Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x634 Stepping =3D 4 Features=3D0x80fbff real memory =3D 469749760 (458740K bytes) avail memory =3D 452100096 (441504K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 --=20 Morten Rodal --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE98Ro+bWe1Cy11WVsRAkMeAKDYM0b+nTb310mJw/qfapWRMejNNwCgw+IS aemYzi2CMV2Qq21RGyzwL5U= =0raC -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message