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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-23-2007, 07:25 AM
#1
Member
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666
Rep:
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
04-23-2007, 07:50 AM
#2
Senior Member
Registered: Mar 2006
Posts: 1,896
Rep:
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 .
All times are GMT -5. The time now is 06:20 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News