Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 22:13:01 +0100 (CET)
From:      Marc Schneiders <marc@schneiders.org>
To:        Craig Boston <craig@meoqu.gank.org>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: SMP users: Please test (possible bug in select())
Message-ID:  <20021206220538.X12507-100000@voo.doo.net>
In-Reply-To: <1039207405.306.15.camel@owen1492.it.oot>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021206220538.X12507-100000>