Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 22:44:31 +0100
From:      Morten Rodal <morten@rodal.no>
To:        Craig Boston <craig@meoqu.gank.org>
Subject:   Re: SMP users: Please test (possible bug in select())
Message-ID:  <20021206214431.GA1383@slurp.rodal.no>
In-Reply-To: <1039207405.306.15.camel@owen1492.it.oot>
References:  <1039207405.306.15.camel@owen1492.it.oot>

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

[-- Attachment #1 --]
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:
> 
[snip]
> 
> 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.
> 

Program has been running for about 5 minutes, then I added two more :)
And I can safely collect the bonus points .. woohoo.

From 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% idle
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



From 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 = "GenuineIntel"  Id = 0x634  Stepping = 4

Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 469749760 (458740K bytes)
avail memory = 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


-- 
Morten Rodal


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE98Ro+bWe1Cy11WVsRAkMeAKDYM0b+nTb310mJw/qfapWRMejNNwCgw+IS
aemYzi2CMV2Qq21RGyzwL5U=
=0raC
-----END PGP SIGNATURE-----
help

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