From owner-freebsd-stable Fri Dec 6 13:13:19 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 465C537B401 for ; Fri, 6 Dec 2002 13:13:17 -0800 (PST) Received: from voo.doo.net (voo.doo.net [81.17.45.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEBD743E9C for ; Fri, 6 Dec 2002 13:13:15 -0800 (PST) (envelope-from marc@schneiders.org) Received: from localhost (localhost [127.0.0.1]) by voo.doo.net (8.12.6/8.12.6) with ESMTP id gB6LD2Q0012780; Fri, 6 Dec 2002 22:13:03 +0100 (CET) (envelope-from marc@schneiders.org) Date: Fri, 6 Dec 2002 22:13:01 +0100 (CET) From: Marc Schneiders X-X-Sender: To: Craig Boston Cc: Subject: Re: SMP users: Please test (possible bug in select()) In-Reply-To: <1039207405.306.15.camel@owen1492.it.oot> Message-ID: <20021206220538.X12507-100000@voo.doo.net> X-Preferred-email-to: marc@schneiders.org X-Other-email-to: marc@venster.nl X-Organization: Venster (Zeist - NL) X-URL: http://www.bijt.net/ X-SOA: A.ROOT-SERVERS.ORSC. X-OS: FreeBSD: The Power to Serve MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On 6 Dec 2002, at 14:43 [=GMT-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: [...] > 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. Alas, no Xwindows on the machine, since it has no screen. I access it from another FreeBSD box (single cpu). But the top output below may show that my machine had no problem with the program running as you suggested, first 2, then 4. 35 processes: 5 running, 30 sleeping CPU states: 0.4% user, 0.0% nice, 99.0% system, 0.6% interrupt, 0.0% idle Mem: 28M Active, 46M Inact, 39M Wired, 7968K Cache, 22M Buf, 2160K Free Swap: 241M Total, 108K Used, 241M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 64967 root 64 0 864K 292K RUN 1 10:44 49.61% 49.61% a.out 65020 marc 64 0 864K 292K RUN 0 4:20 49.12% 49.12% a.out 65021 marc 64 0 864K 292K RUN 0 4:17 48.39% 48.39% a.out 64964 root 64 0 864K 292K CPU0 0 10:40 48.10% 48.10% a.out 58066 root 2 0 2828K 1552K select 0 3:32 0.00% 0.00% ppp Dmesg: FreeBSD 4.7-STABLE #1: Fri Nov 29 22:50:52 CET 2002 CPU: Pentium Pro (199.31-MHz 686-class CPU) real memory = 134217728 (131072K bytes) avail memory = 127168512 (124188K 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message