|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Figuring out how many real cpus, cpu cores, and logical cpusHi,
I'm struggling to figure out if my BSD system is detecting the correct properties about my CPU. What I've figured out so far is that FreeBSD is seeing 1 physical CPU, with 1 core, and 2 logical CPUs. However, I am fairly certain this CPU should have multiple cores (atleast two). How do I check how many cores a CPU has vs. how many are actually detected? I do not have physical access to the machine nor any record of this system's purchase invoice, so I need to go on what software tells me. Bootup dmesg is below. Thanks, Aragon Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-RELEASE #1: Tue Mar 25 08:57:59 UTC 2008 root@...:/usr/obj/usr/src/sys/PAVLOV Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3391.74-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf4a Stepping = 10 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR> AMD Features=0x20100000<NX,LM> AMD Features2=0x1<LAHF> Logical CPUs per core: 2 real memory = 3757834240 (3583 MB) avail memory = 3682926592 (3512 MB) ACPI APIC Table: <DELL PE BKC > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic2: Changing APIC ID to 4 ioapic0 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 32-55 on motherboard ioapic2 <Version 2.0> irqs 64-87 on motherboard acpi0: <DELL PE BKC> on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1 pci2: <ACPI PCI bus> on pcib2 amr0: <LSILogic MegaRAID 1.53> mem 0xf80f0000-0xf80fffff,0xfe9e0000-0xfe9fffff irq 46 at device 14.0 on pci2 amr0: delete logical drives supported by controller amr0: <LSILogic PERC 4e/Si> Firmware 521X, BIOS H430, 256MB RAM pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 4.0 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 5.0 on pci0 pci5: <ACPI PCI bus> on pcib5 pcib6: <ACPI PCI-PCI bridge> at device 0.0 on pci5 pci6: <ACPI PCI bus> on pcib6 em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.2> port 0xecc0-0xecff mem 0xfe6e0000-0xfe6fffff irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:13:72:5a:cd:6a pcib7: <ACPI PCI-PCI bridge> at device 0.2 on pci5 pci7: <ACPI PCI bus> on pcib7 em1: <Intel(R) PRO/1000 Network Connection Version - 6.7.2> port 0xdcc0-0xdcff mem 0xfe4e0000-0xfe4fffff irq 65 at device 8.0 on pci7 em1: Ethernet address: 00:13:72:5a:cd:6b pcib8: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci8: <ACPI PCI bus> on pcib8 pci0: <serial bus, USB> at device 29.0 (no driver attached) pci0: <serial bus, USB> at device 29.1 (no driver attached) pci0: <serial bus, USB> at device 29.2 (no driver attached) pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib9: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci9: <ACPI PCI bus> on pcib9 pci9: <display, VGA> at device 13.0 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: <ISA Option ROMs> at iomem 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xccfff,0xec000-0xeffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 atkbd0: [GIANT-LOCKED] sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDROM <TEAC CD-ROM CD-224E-N/3.AB> at ata0-master UDMA33 amr0: delete logical drives supported by controller amrd0: <LSILogic MegaRAID logical drive> on amr0 amrd0: 69880MB (143114240 sectors) RAID 1 (optimal) SMP: AP CPU #1 Launched! _______________________________________________ freebsd-smp@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-smp To unsubscribe, send any mail to "freebsd-smp-unsubscribe@..." |
|
|
Re: Figuring out how many real cpus, cpu cores, and logical cpusAragon Gouveia wrote:
> Hi, > > I'm struggling to figure out if my BSD system is detecting the correct > properties about my CPU. > > What I've figured out so far is that FreeBSD is seeing 1 physical CPU, with > 1 core, and 2 logical CPUs. However, I am fairly certain this CPU should > have multiple cores (atleast two). > > How do I check how many cores a CPU has vs. how many are actually detected? > I do not have physical access to the machine nor any record of this > system's purchase invoice, so I need to go on what software tells me. > > Bootup dmesg is below. > Origin = "GenuineIntel" Id = 0xf4a Stepping = 10 > Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR> > AMD Features=0x20100000<NX,LM> > AMD Features2=0x1<LAHF> > Logical CPUs per core: 2 > real memory = 3757834240 (3583 MB) > avail memory = 3682926592 (3512 MB) > ACPI APIC Table: <DELL PE BKC > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 4-style) Xeon generation, so the displayed information is correct: you have one socket, with single core CPU in it, which supports hyperthreading so it presents itself as two CPUs. You probably also need to enable machdep.hyperthreading_allowed sysctl (if you have it). If you still doubt it, you can send the model number or look it up yourself in http://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors . sysutils/dmidecode utility could also help you. |
|
|
Re: Figuring out how many real cpus, cpu cores, and logical cpusOn Friday 26 September 2008 07:56:45 am Aragon Gouveia wrote:
> Hi, > > I'm struggling to figure out if my BSD system is detecting the correct > properties about my CPU. > > What I've figured out so far is that FreeBSD is seeing 1 physical CPU, with > 1 core, and 2 logical CPUs. However, I am fairly certain this CPU should > have multiple cores (atleast two). Are you sure this isn't a Xeon processor with 2 hyperthreads? amr(4) is a PERC4 RAID controller, and the dual-core Dell boxes I know of all have PERC5/6 (mfi) RAID controllers. -- John Baldwin _______________________________________________ freebsd-smp@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-smp To unsubscribe, send any mail to "freebsd-smp-unsubscribe@..." |
|
|
Re: Figuring out how many real cpus, cpu cores, and logical cpus| By John Baldwin <jhb@...>
| [ 2008-09-26 16:05 +0200 ] > On Friday 26 September 2008 07:56:45 am Aragon Gouveia wrote: > > Hi, > > > > I'm struggling to figure out if my BSD system is detecting the correct > > properties about my CPU. > > > > What I've figured out so far is that FreeBSD is seeing 1 physical CPU, with > > 1 core, and 2 logical CPUs. However, I am fairly certain this CPU should > > have multiple cores (atleast two). > > Are you sure this isn't a Xeon processor with 2 hyperthreads? amr(4) is a > PERC4 RAID controller, and the dual-core Dell boxes I know of all have > PERC5/6 (mfi) RAID controllers. I installed dmidecode from ports which was very useful. It showed only 1 core per chip and got me the Dell service tag for the machine, which I looked up online to check further. Your suspicions confirm everything too, and seems I was wrong - only 1 core per chip. :) Thanks for responding! Regards, Aragon _______________________________________________ freebsd-smp@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-smp To unsubscribe, send any mail to "freebsd-smp-unsubscribe@..." |
| Free embeddable forum powered by Nabble | Forum Help |