LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-23-2007, 07:25 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Rep: Reputation: 39
core 2 duo and 'top' command


hello everyone,
im wondering,
core 2 duo is 2 processors..
shouldn't i see smth about it in the top command?
or are the 12 core's transparent to the OS and the applications...
is there a wait to see their independent loads?

here is a 'printscreen' of top:

Quote:
root@Stargaze:/mnt# top
top - 15:15:11 up 1:04, 1 user, load average: 1.10, 1.15, 1.02
Tasks: 79 total, 2 running, 77 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 4.6%sy, 0.0%ni, 85.6%id, 0.0%wa, 9.3%hi, 0.5%si, 0.0%st
Mem: 2071084k total, 235080k used, 1836004k free, 57584k buffers
Swap: 2097136k total, 0k used, 2097136k free, 141124k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3648 root 10 -5 0 0 0 S 9 0.0 3:01.62 md0_raid5
3650 root 10 -5 0 0 0 D 1 0.0 0:16.89 md0_resync
1 root 15 0 708 264 232 S 0 0.0 0:01.10 init
...
...
...
shouldn't i see 2x of line: Cpu(s).... ???

i checked the dmesg and it identifies 2x core on bootup. here:

Quote:
ACPI: RSDP (v000 GBT) @ 0x000f6e60
ACPI: RSDT (v001 GBT GBTUACPI 0x42302e31 GBTU 0x01010101) @ 0x7fee3040
ACPI: FADT (v001 GBT GBTUACPI 0x42302e31 GBTU 0x01010101) @ 0x7fee30c0
ACPI: HPET (v001 GBT GBTUACPI 0x42302e31 GBTU 0x00000098) @ 0x7fee7cc0
ACPI: MCFG (v001 GBT GBTUACPI 0x42302e31 GBTU 0x01010101) @ 0x7fee7d40
ACPI: MADT (v001 GBT GBTUACPI 0x42302e31 GBTU 0x01010101) @ 0x7fee7bc0
ACPI: SSDT (v001 PmRef Cpu0Ist 0x00003000 INTL 0x20040311) @ 0x7fee7dc0
ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20040311) @ 0x7fee8250
ACPI: DSDT (v001 GBT GBTUACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20---------------------here core#0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20---------------------here core#1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
ACPI: HPET id: 0x8086a201 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 80000000 (gap: 7ff00000:70100000)
Detected 2133.487 MHz processor.
Built 1 zonelists. Total pages: 519907
Kernel command line: auto BOOT_IMAGE=Lin_server_5 ro root=801
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0-----------------------------------------------here core#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2070008k/2096000k available (4591k kernel code, 24856k reserved, 1938k data, 308k init, 1178496k highmem)
virtual kernel memory layout:
fixmap : 0xffe17000 - 0xfffff000 (1952 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc076a000 - 0xc07b7000 ( 308 kB)
.data : 0xc057beb2 - 0xc07609b0 (1938 kB)
.text : 0xc0100000 - 0xc057beb2 (4591 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 64-bit timers, 14318180 Hz
Using HPET for base-timer
Calibrating delay using timer specific routine.. 4269.71 BogoMIPS (lpj=8539429)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0---------------------------------------------------here core#0
CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e3bd 00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 23k freed
ACPI: Core revision 20060707
tbxface-0107 [01] load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:
Table [DSDT](id 0007) - 561 Objects with 75 Devices 164 Methods 25 Regions
Parsing all Control Methods:
Table [SSDT](id 0004) - 5 Objects with 0 Devices 3 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0005) - 18 Objects with 0 Devices 3 Methods 0 Regions
ACPI Namespace successfully loaded at root c081fcd0
evxfevnt-0089 [02] enable : Transition to ACPI mode successful
CPU0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz stepping 02
Booting processor 1/1 eip 2000
Initializing CPU#1-----------------------------------------------here core#1
Calibrating delay using timer specific routine.. 4266.75 BogoMIPS (lpj=8533504)
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001
monitor/mwait feature present.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1-----------------------------------------------here core#1
CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e3bd 00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz stepping 02
Total of 2 processors activated (8536.46 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=21
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG
Setting up standard PCI resources
mtrr: your CPUs had inconsistent variable MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
evgpeblk-0951 [04] ev_create_gpe_block : GPE 00 to 1F [_GPE] 4 regs on int 0x9
evgpeblk-1048 [03] ev_initialize_gpe_bloc: Found 9 Wake, Enabled 0 Runtime GPEs in this block
Completing Region/Field/Buffer/Package initialization:..................................................................................
Initialized 24/25 Regions 11/11 Fields 17/17 Buffers 30/39 Packages (593 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:.
Executed 1 _INI methods requiring 1 _STA executions (examined 81 objects)
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
 
Old 04-23-2007, 07:50 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by nass
core 2 duo is 2 processors..
shouldn't i see smth about it in the top command?
or are the 12 core's transparent to the OS and the applications...
When in top, the numeral 1 will toggle between displaying the CPU summary at the top of the screen as individual CPUs or combined. I don't know of any way to do it for individual processes.

EDIT: You can add a (per process) field to top's display that shows the last CPU used by each process. I am guessing you can pull detailed info for each process from the /proc file system, but I am not familar with doing that from the normal command line tools.

Last edited by blackhole54; 04-23-2007 at 07:54 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic on Intel Core 2 Duo E6700 Dual Core Processor nwongrat Linux - Hardware 2 01-08-2008 10:13 PM
new Xeon: Why? ... -vs- Core 2 Duo TokyoYank Linux - Hardware 1 04-09-2007 04:57 AM
Intel Core Duo Vs Dual core zeky Linux - Hardware 4 09-23-2006 02:36 AM
Core 2 duo performance jimdaworm Linux - Hardware 2 09-17-2006 08:52 AM
fedora core on mac mini core duo ss4ivan Linux - Software 0 04-10-2006 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration