[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SMP kernel only recognizes one processor



> If both processors are running, and hyperthreading is enabled you should see
> 4:
> 
> 10:41:37  up 4 days, 23:30,  3 users,  load average: 0.00, 0.00, 0.00
> 52 processes: 51 sleeping, 1 running, 0 zombie, 0 stopped
> CPU0 states:   0.0% user   0.0% system    0.0% nice   0.0% iowait 100.0% idle
> CPU1 states:   0.0% user   0.0% system    0.0% nice   0.0% iowait 100.0% idle
> CPU2 states:   0.1% user   0.0% system    0.0% nice   0.0% iowait  99.4% idle
> CPU3 states:   0.0% user   0.1% system    0.0% nice   0.0% iowait  99.4% idle

OK. Right now I see:

> 
> What's in /var/log/messages after you boot the system?
> 
 
This is what I get. I wonder about the disabled APIC:

Dec 17 17:53:25 gorilla syslogd 1.4.1: restart.
Dec 17 17:53:25 gorilla syslog: syslogd startup succeeded
Dec 17 17:53:25 gorilla kernel: klogd 1.4.1, log source = /proc/kmsg
started.
Dec 17 17:53:25 gorilla kernel: Linux version 2.4.20-24.8smp
(bhcompile daffy perf redhat com) (gcc version 3.2 20020903 (Red Hat Linux
8.0 3.2-7)) #1 SMP Mon Dec 1 13:19:19 EST 2003
Dec 17 17:53:25 gorilla kernel: BIOS-provided physical RAM map:
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 0000000000000000 -
000000000009f400 (usable)
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 000000000009f400 -
00000000000a0000 (reserved)
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 0000000000100000 -
00000000bfffa000 (usable)
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 00000000bfffa000 -
00000000c0000000 (ACPI data)
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 00000000fec00000 -
00000000fec10000 (reserved)
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 00000000fee00000 -
00000000fee10000 (reserved)
Dec 17 17:53:25 gorilla kernel:  BIOS-e820: 00000000ffc00000 -
0000000100000000 (reserved)
Dec 17 17:53:25 gorilla kernel: 2175MB HIGHMEM available.
Dec 17 17:53:25 gorilla syslog: klogd startup succeeded
Dec 17 17:53:25 gorilla kernel: 896MB LOWMEM available.
Dec 17 17:53:25 gorilla kernel: On node 0 totalpages: 786426
Dec 17 17:53:25 gorilla kernel: zone(0): 4096 pages.
Dec 17 17:53:25 gorilla portmap: portmap startup succeeded
Dec 17 17:53:25 gorilla kernel: zone(1): 225280 pages.
Dec 17 17:53:25 gorilla kernel: zone(2): 557050 pages.
Dec 17 17:53:25 gorilla kernel: Kernel command line: ro root=LABEL=/
Dec 17 17:53:25 gorilla kernel: No local APIC present or hardware disabled
Dec 17 17:53:25 gorilla rpc.statd[611]: Version 1.0.1 Starting
Dec 17 17:53:25 gorilla nfslock: rpc.statd startup succeeded
Dec 17 17:53:25 gorilla kernel: Initializing CPU#0
Dec 17 17:53:25 gorilla keytable: Loading keymap:
Dec 17 17:53:25 gorilla kernel: Detected 3041.595 MHz processor.
Dec 17 17:53:25 gorilla keytable:
Dec 17 17:53:25 gorilla kernel: Console: colour VGA+ 80x25
Dec 17 17:53:25 gorilla keytable:
Dec 17 17:53:25 gorilla kernel: Calibrating delay loop... 6068.63 BogoMIPS
Dec 17 17:53:25 gorilla keytable: plus before ntilde ignored
Dec 17 17:53:25 gorilla kernel: Memory: 3094232k/3145704k available (1464k
kernel code, 46860k reserved, 1089k data, 156k init, 2228200k highmem)
Dec 17 17:53:25 gorilla keytable: plus before Ntilde ignored
Dec 17 17:53:25 gorilla kernel: Dentry cache hash table entries: 262144
(order: 9, 2097152 bytes)
Dec 17 17:53:25 gorilla keytable: plus before ccedilla ignored
Dec 17 17:53:25 gorilla kernel: Inode cache hash table entries: 262144
(order: 9, 2097152 bytes)
Dec 17 17:53:25 gorilla keytable: plus before Ccedilla ignored
Dec 17 17:53:25 gorilla kernel: Mount cache hash table entries: 512 (order:
0, 4096 bytes)
Dec 17 17:53:25 gorilla rc: Starting keytable:  succeeded
Dec 17 17:53:25 gorilla kernel: Buffer-cache hash table entries: 262144
(order: 8, 1048576 bytes)
Dec 17 17:53:25 gorilla kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 17 17:53:25 gorilla kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Dec 17 17:53:25 gorilla kernel: CPU: L2 cache: 512K
Dec 17 17:53:25 gorilla random: Initializing random number generator:
succeeded
Dec 17 17:53:26 gorilla kernel: CPU: Physical Processor ID: 0
Dec 17 17:53:26 gorilla kernel: Intel machine check architecture supported.
Dec 17 17:53:26 gorilla kernel: Intel machine check reporting enabled on
CPU#0.
Dec 17 17:53:26 gorilla pcmcia: Starting PCMCIA services:
Dec 17 17:53:26 gorilla pcmcia:  modulesHint: insmod errors can be caused by
incorrect module parameters, including invalid IO or IRQ parameters.
Dec 17 17:53:26 gorilla pcmcia:       You may find more information in
syslog or the output from dmesg
Dec 17 17:53:26 gorilla kernel: Enabling fast FPU save and restore... done.
Dec 17 17:53:26 gorilla pcmcia: /lib/modules/2.4.20-24.8smp/pcmcia/tcic.o:
init_module: No such device
Dec 17 17:53:26 gorilla kernel: Enabling unmasked SIMD FPU exception
support... done.
Dec 17 17:53:26 gorilla kernel: Checking 'hlt' instruction... OK.
Dec 17 17:53:26 gorilla pcmcia: Hint: insmod errors can be caused by
incorrect module parameters, including invalid IO or IRQ parameters.
Dec 17 17:53:26 gorilla cardmgr[665]: starting, version is 3.1.31
Dec 17 17:53:26 gorilla kernel: POSIX conformance testing by UNIFIX
Dec 17 17:53:26 gorilla kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch atnf csiro au)
Dec 17 17:53:26 gorilla kernel: mtrr: detected mtrr type: Intel
Dec 17 17:53:26 gorilla kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Dec 17 17:53:26 gorilla kernel: CPU: L2 cache: 512K
Dec 17 17:53:26 gorilla pcmcia:       You may find more information in
syslog or the output from dmesg
Dec 17 17:53:26 gorilla kernel: CPU: Physical Processor ID: 0
Dec 17 17:53:26 gorilla cardmgr[665]: config error, file 'config' line 1053:
syntax error
Dec 17 17:53:26 gorilla pcmcia:  cardmgr.
Dec 17 17:53:26 gorilla kernel: Intel machine check reporting enabled on
CPU#0.
Dec 17 17:53:26 gorilla cardmgr[665]: config error, file 'config' line 2129:
no function bindings
Dec 17 17:53:26 gorilla pcmcia: /lib/modules/2.4.20-24.8smp/pcmcia/ds.o:
init_module: Operation not permitted
Dec 17 17:53:26 gorilla cardmgr[665]: no pcmcia driver in /proc/devices
Dec 17 17:53:26 gorilla cardmgr[665]: exiting
Dec 17 17:53:26 gorilla rc: Starting pcmcia:  succeeded
Dec 17 17:53:26 gorilla kernel: CPU0: Intel(R) Xeon(TM) CPU 3.06GHz stepping
09
Dec 17 17:53:26 gorilla kernel: per-CPU timeslice cutoff: 1462.99 usecs.
Dec 17 17:53:26 gorilla kernel: SMP motherboard not detected.
Dec 17 17:53:26 gorilla kernel: Local APIC not detected. Using dummy APIC
emulation.
Dec 17 17:53:26 gorilla kernel: Waiting on wait_init_idle (map = 0x0)
Dec 17 17:53:26 gorilla netfs: Mounting other filesystems:  succeeded
Dec 17 17:53:26 gorilla kernel: All processors have done init_idle
Dec 17 17:53:26 gorilla kernel: PCI: PCI BIOS revision 2.10 entry at
0xf0094, last bus=9
Dec 17 17:53:26 gorilla kernel: PCI: Using configuration type 1
Dec 17 17:53:26 gorilla kernel: PCI: Probing PCI hardware
Dec 17 17:53:26 gorilla kernel: PCI: Ignoring BAR0-3 of IDE controller
00:0f.1
Dec 17 17:53:26 gorilla kernel: PCI: Discovered peer bus 01
Dec 17 17:53:26 gorilla autofs: automount startup succeeded
Dec 17 17:53:26 gorilla kernel: PCI: Discovered peer bus 02
Dec 17 17:53:26 gorilla kernel: PCI: Discovered peer bus 06
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:00 not found by BIOS
Dec 17 17:53:27 gorilla sshd: Starting sshd:
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:01 not found by BIOS
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:02 not found by BIOS
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:78 not found by BIOS
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:7b not found by BIOS
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:80 not found by BIOS
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:82 not found by BIOS
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:88 not found by BIOS
Dec 17 17:53:27 gorilla kernel: PCI: Device 00:8a not found by BIOS
Dec 17 17:53:27 gorilla kernel: isapnp: Scanning for PnP cards...
Dec 17 17:53:27 gorilla kernel: isapnp: No Plug & Play device found
Dec 17 17:53:27 gorilla kernel: Linux NET4.0 for Linux 2.4
Dec 17 17:53:27 gorilla kernel: Based upon Swansea University Computer
Society NET3.039
Dec 17 17:53:27 gorilla kernel: Initializing RT netlink socket
Dec 17 17:53:27 gorilla kernel: apm: BIOS not found.
Dec 17 17:53:27 gorilla kernel: Starting kswapd
Dec 17 17:53:27 gorilla kernel: allocated 32 pages and 32 bhs reserved for
the highmem bounces
Dec 17 17:53:27 gorilla kernel: VFS: Disk quotas vdquot_6.5.1
Dec 17 17:53:27 gorilla kernel: pty: 2048 Unix98 ptys configured
Dec 17 17:53:27 gorilla kernel: Serial driver version 5.05c (2001-07-08)
with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Dec 17 17:53:27 gorilla kernel: ttyS0 at 0x03f8 (irq = 4) is a 16550A
Dec 17 17:53:27 gorilla kernel: Real Time Clock Driver v1.10e
Dec 17 17:53:25 gorilla ifup:  failed; no link present.  Check cable?
Dec 17 17:53:27 gorilla sshd:  succeeded
Dec 17 17:53:27 gorilla kernel: Floppy drive(s): fd0 is 1.44M
Dec 17 17:53:25 gorilla network: Bringing up interface eth1:  failed
Dec 17 17:53:27 gorilla kernel: FDC 0 is a National Semiconductor PC87306
Dec 17 17:53:27 gorilla sshd:
Dec 17 17:53:27 gorilla kernel: NET4: Frame Diverter 0.46
Dec 17 17:53:27 gorilla rc: Starting sshd:  succeeded
Dec 17 17:53:27 gorilla kernel: RAMDISK driver initialized: 16 RAM disks of
4096K size 1024 blocksize
Dec 17 17:53:27 gorilla kernel: Uniform Multi-Platform E-IDE driver
Revision: 7.00beta3-.2.4
Dec 17 17:53:27 gorilla kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Dec 17 17:53:27 gorilla kernel: SvrWks CSB5: IDE controller at PCI slot
00:0f.1
Dec 17 17:53:27 gorilla kernel: SvrWks CSB5: chipset revision 147
Dec 17 17:53:27 gorilla kernel: SvrWks CSB5: not 100%% native mode: will
probe irqs later
Dec 17 17:53:27 gorilla kernel: SvrWks CSB5: simplex device: DMA forced
Dec 17 17:53:28 gorilla kernel:     ide0: BM-DMA at 0x2000-0x2007, BIOS
settings: hda:pio, hdb:pio
Dec 17 17:53:28 gorilla kernel: SvrWks CSB5: simplex device: DMA forced
Dec 17 17:53:28 gorilla kernel:     ide1: BM-DMA at 0x2008-0x200f, BIOS
settings: hdc:pio, hdd:pio
Dec 17 17:53:28 gorilla kernel: hda: COMPAQ CD-ROM SN-124, ATAPI CD/DVD-ROM
drive
Dec 17 17:53:28 gorilla kernel: hda: set_drive_speed_status: status=0x51 {
DriveReady SeekComplete Error }
Dec 17 17:53:28 gorilla kernel: hda: set_drive_speed_status: error=0x04
Dec 17 17:53:28 gorilla kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 17 17:53:28 gorilla kernel: ide-floppy driver 0.99.newide
Dec 17 17:53:28 gorilla kernel: ide-floppy driver 0.99.newide
Dec 17 17:53:28 gorilla kernel: md: md driver 0.90.0 MAX_MD_DEVS=256,
MD_SB_DISKS=27
Dec 17 17:53:28 gorilla kernel: md: Autodetecting RAID arrays.
Dec 17 17:53:28 gorilla kernel: md: autorun ...
Dec 17 17:53:28 gorilla kernel: md: ... autorun DONE.
Dec 17 17:53:28 gorilla kernel: pci_hotplug: PCI Hot Plug PCI Core version:
0.5
Dec 17 17:53:28 gorilla kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Dec 17 17:53:28 gorilla kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Dec 17 17:53:28 gorilla kernel: IP: routing cache hash table of 32768
buckets, 256Kbytes
Dec 17 17:53:28 gorilla kernel: TCP: Hash tables configured (established
262144 bind 65536)
Dec 17 17:53:28 gorilla kernel: Linux IP multicast router 0.06 plus PIM-SM
Dec 17 17:53:28 gorilla kernel: NET4: Unix domain sockets 1.0/SMP for Linux
NET4.0.
Dec 17 17:53:28 gorilla kernel: RAMDISK: Compressed image found at block 0
Dec 17 17:53:28 gorilla kernel: Freeing initrd memory: 215k freed
Dec 17 17:53:28 gorilla kernel: VFS: Mounted root (ext2 filesystem).
Dec 17 17:53:28 gorilla kernel: SCSI subsystem driver Revision: 1.00
Dec 17 17:53:28 gorilla kernel: HP CISS Driver (v 2.4.42)
Dec 17 17:53:28 gorilla kernel: cciss: using DAC cycles
Dec 17 17:53:28 gorilla kernel:       blocks= 71122560 block_size= 512
Dec 17 17:53:28 gorilla kernel:       heads= 255, sectors= 32, cylinders=
8716 RAID 0
Dec 17 17:53:28 gorilla kernel:
Dec 17 17:53:28 gorilla kernel: blk: queue c04114c0, I/O limit 4294967295Mb
(mask 0xffffffffffffffff)
Dec 17 17:53:28 gorilla kernel: Partition check:
Dec 17 17:53:28 gorilla kernel:  cciss/c0d0: p1 p2 p3
Dec 17 17:53:28 gorilla kernel: Journalled Block Device driver loaded
Dec 17 17:53:28 gorilla kernel: kjournald starting.  Commit interval 5
seconds
Dec 17 17:53:28 gorilla kernel: EXT3-fs: mounted filesystem with ordered
data mode.
Dec 17 17:53:28 gorilla kernel: Freeing unused kernel memory: 156k freed
Dec 17 17:53:28 gorilla kernel: usb.c: registered new driver usbdevfs
Dec 17 17:53:28 gorilla kernel: usb.c: registered new driver hub
Dec 17 17:53:28 gorilla kernel: usb-ohci.c: USB OHCI at membase 0xf887e000,
IRQ 7
Dec 17 17:53:28 gorilla kernel: usb-ohci.c: usb-00:0f.2, ServerWorks
OSB4/CSB5 OHCI USB Controller
Dec 17 17:53:28 gorilla kernel: usb.c: new USB bus registered, assigned bus
number 1
Dec 17 17:53:28 gorilla kernel: hub.c: USB hub found
Dec 17 17:53:28 gorilla kernel: hub.c: 4 ports detected
Dec 17 17:53:28 gorilla kernel: usb.c: registered new driver hiddev
Dec 17 17:53:28 gorilla kernel: usb.c: registered new driver hid
Dec 17 17:53:28 gorilla kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech
Pavlik <vojtech suse cz>
Dec 17 17:53:28 gorilla kernel: hid-core.c: USB HID support drivers
Dec 17 17:53:28 gorilla kernel: mice: PS/2 mouse device common for all mice
Dec 17 17:53:28 gorilla kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
cciss0(104,1), internal journal
Dec 17 17:53:28 gorilla kernel: Adding Swap: 526312k swap-space (priority
-1)
Dec 17 17:53:28 gorilla kernel: kjournald starting.  Commit interval 5
seconds
Dec 17 17:53:28 gorilla kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
cciss0(104,3), internal journal
Dec 17 17:53:28 gorilla kernel: EXT3-fs: mounted filesystem with ordered
data mode.
Dec 17 17:53:28 gorilla kernel: IA-32 Microcode Update Driver: v1.11
<tigran veritas com>
Dec 17 17:53:28 gorilla kernel: ip_tables: (C) 2000-2002 Netfilter core team
Dec 17 17:53:28 gorilla kernel: tg3.c:v1.5 (March 21, 2003)
Dec 17 17:53:28 gorilla kernel: eth0: Tigon3 [partno(NA) rev 1002 PHY(5703)]
(PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:0b:cd:ef:01:8b
Dec 17 17:53:28 gorilla kernel: eth1: Tigon3 [partno(NA) rev 1002 PHY(5703)]
(PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:0b:cd:ef:01:8a
Dec 17 17:53:28 gorilla kernel: tg3: eth0: Link is up at 100 Mbps, full
duplex.
Dec 17 17:53:28 gorilla kernel: tg3: eth0: Flow control is on for TX and on
for RX.
Dec 17 17:53:28 gorilla kernel: Linux Kernel Card Services 3.1.22
Dec 17 17:53:28 gorilla kernel:   options:  [pci] [cardbus] [pm]
Dec 17 17:53:28 gorilla kernel: Databook TCIC-2 PCMCIA probe: not found.
Dec 17 17:53:28 gorilla kernel: ds: no socket drivers loaded!
Dec 17 17:53:30 gorilla xinetd[748]: xinetd Version 2.3.11 started with
libwrap loadavg options compiled in.
Dec 17 17:53:30 gorilla xinetd[748]: Started working: 1 available service
Dec 17 17:53:30 gorilla xinetd: xinetd startup succeeded
Dec 17 17:53:31 gorilla sendmail: sendmail startup succeeded
Dec 17 17:53:32 gorilla sendmail: sm-client startup succeeded
Dec 17 17:53:32 gorilla privoxy: Dec 17 17:53:32 Privoxy(16384) Info:
loading configuration file '/etc/privoxy/config':
Dec 17 17:53:33 gorilla privoxy: privoxy startup succeeded
Dec 17 17:53:33 gorilla gpm: gpm startup succeeded
Dec 17 17:53:33 gorilla canna: cannaserver startup succeeded
Dec 17 17:53:34 gorilla crond: crond startup succeeded
Dec 17 17:53:34 gorilla xfs: listening on port 7100
Dec 17 17:53:34 gorilla xfs: xfs startup succeeded
Dec 17 17:53:34 gorilla anacron: anacron startup succeeded
Dec 17 17:53:35 gorilla atd: atd startup succeeded
Dec 17 17:53:35 gorilla rhnsd: rhnsd startup succeeded
Dec 17 17:53:35 gorilla rhnsd[920]: Red Hat Network Services Daemon starting
up.
Dec 17 17:53:35 gorilla wine: Registering binary handler for Windows
applications
Dec 17 17:53:35 gorilla rc: Starting wine:  succeeded
Dec 17 17:53:35 gorilla rc: Starting mdmonitor:  succeeded
Dec 17 17:53:36 gorilla modprobe: modprobe: Can't locate module
char-major-10-134
Dec 17 17:53:36 gorilla kernel: mtrr: no more MTRRs available
Dec 17 17:53:37 gorilla kernel: mtrr: no more MTRRs available

> One system I had delivered had hyperthreading disabled in the BIOS so top only
> showed up 2 processors rather than the 4 which hyperthreading enables.
> I don't know how much of an improvement hyperthreading is in reality.

Somehow I feel hyperthreading was not enabled on the double Xeon I saw. In
my system, I am not sure.

I followed those instructions in
ftp://ftp.compaq.com/pub/products/servers/Linux/rh80install.pdf

HP says: "Red Hat Linux 8.0 does not recognize a single hyper-threading
enabled processor as an smp capable machine. As a result, the uni-processor
kernel is installed when RBSU is configured as follows:
OS = Linux
MPS = Auto
HT = Enabled
 
After Red Hat installation is complete, install the smp kernel RPM from the
Red Hat Linux 8.0 CD #1. After installing the smp kernel, open the
/etc/grub.conf file and find the smp kernel entry. Edit this entry to make
it the default
 
HP recommends the following RBSU configuration in this case:
OS = Linux
MPS =  Full Table mode (if shared interrupts are desired) OR Full Table (if
shared interrupts are not desired"

Cheers,

-- 
David Posada       
Departamento de Bioquímica, Genética e Inmunología
Facultad de Ciencias
Universidad de Vigo
Vigo 36200, Spain
Phone: +34 986 812038
Fax: +34 986 812556
Email: dposada uvigo es
Web: darwin.uvigo.es





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]