Full demsg output on the FreeBSD page[2] for this machine.
Why does FreeBSD think that this machine has "non-unform processors?
Ok, the Pentium 4 in it can proably do hyperthreading, but that isn't
much to talk about.
What excatly is non-unform here?
References:
1) http://sites.google.com/site/tingox/sx260
2) http://sites.google.com/site/tingox/sx260_freebsd
--
Regards,
Torfinn Ingolfsen
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"
Why is it booting up at half speed? Same in your 7.2-STABLE dmesg.
Something set that way in BIOS? What does 'sysctl dev.cpu' say?
> Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
> 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=0x4400<CNXT-ID,xTPR>
> real memory = 2147483648 (2048 MB)
> avail memory = 2085347328 (1988 MB)
> ACPI APIC Table: <DELL SX260 >
> WARNING: Non-uniform processors.
> WARNING: Using suboptimal topology.
> ioapic0: Changing APIC ID to 1
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> kbd1 at kbdmux0
>
> Full demsg output on the FreeBSD page[2] for this machine.
Only spotted a verbose dmesg for 7.2-STABLE there, not for 8.0?
> Why does FreeBSD think that this machine has "non-unform processors?
> Ok, the Pentium 4 in it can proably do hyperthreading, but that isn't
> much to talk about.
I suppose you have HTT disabled in BIOS?
> What excatly is non-unform here?
I don't know, but suspect the detected half CPU speed may be a clue?
> References:
> 1) http://sites.google.com/site/tingox/sx260
> 2) http://sites.google.com/site/tingox/sx260_freebsd
> --
> Regards,
> Torfinn Ingolfsen
cheers, Ian
Can you please reboot and show a verbose dmesg from this system? Also,
how many CPUs does this system actually have? It appears that in the 7.2
dmesg at 2) above, two are detected but only one is ever used - are you
explicitly disabling hyperthreading somehow?
Gavin
> Why is it booting up at half speed? Same in your 7.2-STABLE dmesg.
I don't know. Since last time, I've upgraded the bios to the latest
(A03) and reset bios to default values - but the problem is still there.
According to the specs, a SX260 supports all Pentium 4 cpus with 400
MHz and 533 MHz FSB (front side bus).
> Something set that way in BIOS? What does 'sysctl dev.cpu' say?
The only setting in bios related to cpu speed are
"normal" and "comaptible". I've tried both - doesn't make a difference.
Now sysctl.dev.cpu says:
root@kg-work2# sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 1295
dev.cpu.0.freq_levels: 1295/-1 1133/-1 971/-1 809/-1 647/-1 485/-1 323/-1
dev.cpu.0.cx_supported: C1/0
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00% last 500us
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.1.cx_supported: C1/0
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_usage: 100.00% last 500us
>
> Only spotted a verbose dmesg for 7.2-STABLE there, not for 8.0?
Not, I didn't make one that evening. There is one over ther now. :-)
> I suppose you have HTT disabled in BIOS?
Yes, I had, it is enabled now.
--
Regards,
Torfinn Ingolfsen
> Can you please reboot and show a verbose dmesg from this system?
Yes, it is there[1] now. :-)
> Also, how many CPUs does this system actually have? It appears that
> in the 7.2 dmesg at 2) above, two are detected but only one is ever
> used - are you explicitly disabling hyperthreading somehow?
It has one Pentium 4 cpu.
Hyperthreading was disabled in bios, it is enabled now:
Copyright (c) 1992-2009 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 7.2-STABLE #6: Sun Oct 11 11:14:33 CEST 2009
ro...@kg-work2.kg4.no:/usr/obj/usr/src/sys/SX270
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (1295.21-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FX
SR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x4400<CNXT-ID,xTPR>
Logical CPUs per core: 2
real memory = 2145849344 (2046 MB)
avail memory = 2090192896 (1993 MB)
ACPI APIC Table: <DELL SX260 >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <DELL SX260 > on motherboard
References:
1) http://sites.google.com/site/tingox/sx260_freebsd
--
Torfinn
> FreeBSD 7.2-STABLE #6: Sun Oct 11 11:14:33 CEST 2009
> CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (1295.21-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
>
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
> CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FX SR,SSE,SSE2,SS,HTT,TM,PBE>
> Features2=0x4400<CNXT-ID,xTPR>
> Logical CPUs per core: 2
> ACPI APIC Table: <DELL SX260 >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0 (BSP): APIC ID: 0
> cpu1 (AP/HT): APIC ID: 1
> ioapic0: Changing APIC ID to 2
My first thought was that perhaps you were running a uniprocessor kernel, but
I checked GENERIC and SMP option is there. My dmesg is a little different:
FreeBSD 8.0-STABLE #16: Sat Dec 19 22:56:44 EST 2009
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf41 Stepping = 1
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=0x641d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR>
AMD Features=0x20100000<NX,LM>
TSC: P-state invariant
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
I think the clue to run down is why does FreeBSD think your sx260 is running
at 1295.21-MHz.
I think I would try updating your usb stick's kernel with 8-stable and rebuild
it. I'm wondering if someone who made the stick image turned off SMP to make i
fit on small sticks (above is 7.2-stable, not the 8 on a stick).
I see HTT in your CPUs features, but I wonder what that's based on. What if
the BIOS supports hyperthreading but the cpu doesn't? (there were p4
processors sold before hyperthreading came out, I know, I bought one. 8o)
You might try finding a cpu diagnostic tool that describes the cpu in great
detail, like from download.com, etc.
You might also go to Intel's site and lookup the id 0xf29 and see if Intel
says it actually supports hyperthreading.
set to the following by adding:
powerd_enable="YES"
power_flag'-i 85 -r 60 -p 100"
or
Now you can also modify this file: /etc/sysctl.conf or /boot/loader.conf
(CPU Frequency)
debug.cpufreq.lowest=600
To test live in your terminal you can set it with this command:
sysctl debug.cpufreq.lowest=600
Now you can set it to 1200 but I would recommend 100 at a time for testing.
Thank You
Sean Hulbert
Miraculum Laborat
Network Systems Specialist
www.toolwire.com
�
CONFIDENTIALITY NOTICE: This communication with its contents may contain confidential and/or legally privileged information. It is solely for the use of the intended recipient(s). Unauthorized interception, review, use or disclosure is prohibited and may violate applicable laws including the Electronic Communications Privacy Act. If you are not the intended recipient, please contact the sender and destroy all copies of the communication.
�
igitur qui desiderat pacem, praeparet bellum!!!
�
Epitoma Rei Militaris
Yes, this is your problem, regarding speed anyway. I only picked up on
this because this year we bought 2 used intel mobos on eBay; a D845GBV
with a 2GHz P4 (also 400/533 MHz FSB with similar 845 chips to yours)
and the other a D865GLC with a 2.6GHz HTT P4 (400/533/800 MHz FSB).
Only the D865GLC 800MHz FSB board takes the 2.6GHz HTT P4, shown as
'2.60C GHz' in the board manual and also on this page:
http://www.intel.com/support/processors/pentium4/sb/CS-011987.htm
Our older 400/533 FSB board only takes a non-HTT P4 using 400MHZ FSB,
('2.60 GHz' without the 'C'), though it only has a 2GHz non-HTT CPU.
After a looong time hunting through fluff and bumph from various angles
and searches on the intel site (argh!), I finally found:
http://processorfinder.intel.com/List.aspx?ProcFam=483
Where there are several 478-pin 2.60GHz P4s with 512MB L2 cache, eg:
http://processorfinder.intel.com/details.aspx?sSpec=SL6WS (800MHz FSB)
http://processorfinder.intel.com/details.aspx?sSpec=SL6QR (400MHz FSB)
but all of the HTT 2.6GHz ones require 800MHz FSB, so I guess this is
why its set to run at half speed by your board? Perhaps the SX270 you
mentioned having taken this CPU out of, supported up to 800MHz FSB?
> > Something set that way in BIOS? What does 'sysctl dev.cpu' say?
>
> The only setting in bios related to cpu speed are
> "normal" and "comaptible". I've tried both - doesn't make a difference.
>
> Now sysctl.dev.cpu says:
> root@kg-work2# sysctl dev.cpu
> dev.cpu.0.%desc: ACPI CPU
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.CPU0
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.freq: 1295
> dev.cpu.0.freq_levels: 1295/-1 1133/-1 971/-1 809/-1 647/-1 485/-1 323/-1
Yeah, just p4tcc thermal throttling, no EST speedstep control on these;
powerd could save you some heat but not much less power use, I gather.
> dev.cpu.0.cx_supported: C1/0
> dev.cpu.0.cx_lowest: C1
> dev.cpu.0.cx_usage: 100.00% last 500us
> dev.cpu.1.%desc: ACPI CPU
> dev.cpu.1.%driver: cpu
> dev.cpu.1.%location: handle=\_PR_.CPU1
> dev.cpu.1.%pnpinfo: _HID=none _UID=0
> dev.cpu.1.%parent: acpi0
> dev.cpu.1.cx_supported: C1/0
> dev.cpu.1.cx_lowest: C1
> dev.cpu.1.cx_usage: 100.00% last 500us
>
> >
> > Only spotted a verbose dmesg for 7.2-STABLE there, not for 8.0?
>
> Not, I didn't make one that evening. There is one over ther now. :-)
>
> > I suppose you have HTT disabled in BIOS?
>
> Yes, I had, it is enabled now.
Well I don't imagine running at half speed with HTT is going to be as
quick as full speed without .. and I'll guess further that this is what
the 'non-uniform processors' message is likely about. You may find that
putting a faster non-HTT P4 in it, maybe up to 2.8GHz would go better,
or that search tool shows some 3.06GHz and a 2.40A GHz HTT @533MHz FSB.
HTH, Ian
> On Wed, 23 Dec 2009, Torfinn Ingolfsen wrote:
> >
> > I don't know. Since last time, I've upgraded the bios to the
> > latest (A03) and reset bios to default values - but the problem is
> > still there. According to the specs, a SX260 supports all Pentium
> > 4 cpus with 400 MHz and 533 MHz FSB (front side bus).
>
> Yes, this is your problem, regarding speed anyway. I only picked up
> on this because this year we bought 2 used intel mobos on eBay; a
> D845GBV with a 2GHz P4 (also 400/533 MHz FSB with similar 845 chips
> to yours) and the other a D865GLC with a 2.6GHz HTT P4 (400/533/800
> MHz FSB).
You're right, of course. :-)
I found a Pentium 4 with 400 Mhz FSB, it looks much better now:
FreeBSD 7.2-STABLE #6: Sun Oct 11 11:14:33 CEST 2009
ro...@kg-work2.kg4.no:/usr/obj/usr/src/sys/SX270
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1992.63-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
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=0x4400<CNXT-ID,xTPR>
real memory = 2145849344 (2046 MB)
and FreeBSD 8.0 doesn't say anything about "non-unform cpu" anymore. ;^)
--
Regards,
Torfinn Ingolfsen,
Norway
Well, 'for once' :)
> I found a Pentium 4 with 400 Mhz FSB, it looks much better now:
> FreeBSD 7.2-STABLE #6: Sun Oct 11 11:14:33 CEST 2009
> ro...@kg-work2.kg4.no:/usr/obj/usr/src/sys/SX270
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1992.63-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
> 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=0x4400<CNXT-ID,xTPR>
> real memory = 2145849344 (2046 MB)
>
> and FreeBSD 8.0 doesn't say anything about "non-unform cpu" anymore. ;^)
Great. Your 2GHz P4 is a later stepping which has HTT also, ours is:
CPU0: Intel(R) Pentium(R) 4 CPU 2.00GHz stepping 04
Total of 1 processors activated (4003.47 BogoMIPS).
as Debian dmesg tells it.
But I still don't know whether it's nowadays safe and/or advantageous
running hyperthreading on these CPUs in FreeBSD? Anyone?
cheers, Ian