Does anybody have an idea why the second cpu is not used for the
computing intensive work?
idle will stay around 50% while the two instances of python2.4 share 1 CPU
The only unusual occurence recently were a few Bus Errors and the system freezing
when two processes which were using around 2-4GB of memory each were running
uname -a
FreeBSD plewe3.is.tsukuba.ac.jp 5.2-CURRENT FreeBSD 5.2-CURRENT #2:
Tue Apr 13 10:49:31 JST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL amd64
###
top
###
last pid: 1148; load averages: 1.80, 1.88, 1.90 up 0+03:03:20
11:34:49
34 processes: 3 running, 31 sleeping
CPU states: 49.8% user, 0.0% nice, 0.4% system, 0.0% interrupt, 49.8% idle
Mem: 1138M Active, 3087M Inact, 288M Wired, 186M Cache, 214M Buf, 1186M Free
Swap: 4096M Total, 4096M Free
PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND
1080 root 1390 1016M 1004M RUN0 5:06 64.84% 64.84% python2.4
1148 root 1390 114M 100M CPU0 0 0:15 28.12% 28.12% python2.4
589 root 760 29008K 17040K select 1 0:07 0.00% 0.00% XFree86
595 root 760 36044K 3292K select 1 0:02 0.00% 0.00% mlterm
601 root 760 35884K 3212K select 1 0:02 0.00% 0.00% mlterm
last pid: 1200; load averages: 1.75, 1.87, 1.90 up 0+03:17:11
11:48:40
34 processes: 3 running, 31 sleeping
CPU states: 50.0% user, 0.0% nice, 0.6% system, 0.2% interrupt, 49.2% idle
Mem: 2309M Active, 3029M Inact, 290M Wired, 249M Cache, 214M Buf, 8180K Free
Swap: 4096M Total, 4096M Free
PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND
1168 root 1390 1022M 1010M CPU0 0 5:06 75.00% 75.00% python2.4
1148 root 1390 1279M 1268M RUN0 7:32 18.75% 18.75% python2.4
589 root 760 29008K 17040K select 1 0:08 0.00% 0.00% XFree86
595 root 760 36044K 3292K select 1 0:02 0.00% 0.00% mlterm
###
diff /sys/amd64/conf/MYKERNEL /sys/amd64/conf/GENERIC
###
23c23
< ident MYKERNEL
---
> ident GENERIC
28c28
< #makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols
---
> makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols
63,67c63,67
< #options DDB # Enable the kernel debugger
< #options INVARIANTS # Enable calls of extra sanity checking
< #options INVARIANT_SUPPORT # Extra sanity checks of internal structures,
required by INVARIANTS
< #options WITNESS # Enable checks to detect deadlocks and cycles
< #options WITNESS_SKIPSPIN# Don't run witness on spinlocks for speed
---
> options DDB # Enable the kernel debugger
> options INVARIANTS # Enable calls of extra sanity checking
> options INVARIANT_SUPPORT # Extra sanity checks of internal structures,
> required by INVARIANTS
> options WITNESS # Enable checks to detect deadlocks and cycles
> options WITNESS_SKIPSPIN# Don't run witness on spinlocks for speed
78a79
>
264,268d264
<
< options MAXDSIZ="(23UL*256*1024*1024)"
< options MAXSSIZ="(23UL*256*1024*1024)"
< options DFLDSIZ="(23UL*256*1024*1024)"
<
##
dmesg
##
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #2: Tue Apr 13 10:49:31 JST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
Preloaded elf kernel "/boot/kernel/kernel" at 0x808a6000.
ACPI APIC Table:
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 248 (2205.01-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0xf58 Stepping = 8
Features=0x78bfbff
AMD Features=0xe0500800
real memory = 6442450944 (6144 MB)
avail memory = 6163116032 (5877 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0 irqs 0-23 on motherboard
ioapic1 irqs 24-27 on motherboard
ioapic2 irqs 28-31 on motherboard
random:
acpi0: on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
unknown: I/O range not supported
unknown: I/O range not supported
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: port 0x530-0x537 on acpi0
acpi_cpu1: port 0x530-0x537 on acpi0
acpi_button0: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pcib0: could not get PCI interrupt routing table for \\_SB_.PCI0 - AE_NOT_FOUND
pci0: on pcib0
pcib1: at device 6.0 on pci0
pci1: on pcib1
ohci0: mem 0xfc10-0xfc100fff irq 19 at device 0.0