Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-26 Thread Jyun-Yi Liou
Hi Rene,
for optimizationm, CPUTYPE is depends on what verison of gcc you use.
you can determine waht CPUTYPE you use by checking gcc's online manul
http://gcc.gnu.org/onlinedocs/

i.e.
http://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Optimize-Options.html#Optimize-Options

Regards,
jyuny1

2008/7/25 Rene Ladan [EMAIL PROTECTED]

 Hi,

 I have an Asus A6JE laptop which has an Intel T5600 CPU.  It is
 currently configured as i386
 with CPUTYPE=prescott.  But after reading wikipedia, I get the idea
 that I have slightly
 underconfigured my box, i.e. that a better configuration is possible.
 dmesg says (7.0-release):

 CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.77-MHz 686-class
 CPU)
  Origin = GenuineIntel  Id = 0x6f6  Stepping = 6

 Features=0xbfebfbffFPU,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=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
 real memory  = 2147287040 (2047 MB)
 avail memory = 2095947776 (1998 MB)
 ACPI APIC Table: AMIOEMAPIC 
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 Version 2.0 irqs 0-23 on motherboard
 acpi0: _ASUS_ Notebook on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 acpi0: reservation of 0, a (3) failed
 acpi0: reservation of 10, 7ff0 (3) failed
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
 acpi_ec0: Embedded Controller: GPE 0x1c port 0x62,0x66 on acpi0
 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on
 acpi0
 Timecounter HPET frequency 14318180 Hz quality 900
 cpu0: ACPI CPU on acpi0
 coretemp0: CPU On-Die Thermal Sensors on cpu0
 est0: Enhanced SpeedStep Frequency Control on cpu0
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 6130b2406000b24
 device_attach: est0 attach returned 6
 p4tcc0: CPU Frequency Thermal Control on cpu0
 cpu1: ACPI CPU on acpi0
 ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] -  77,
 should be
  2C [20070320]
 coretemp1: CPU On-Die Thermal Sensors on cpu1
 est1: Enhanced SpeedStep Frequency Control on cpu1
 p4tcc1: CPU Frequency Thermal Control on cpu1

 Maybe some amd64 configuration is possible, since it the cpu has AMD
 features?

 Please cc me, I'm not subscribed.

 Regards,
 Rene
 --
 http://www.rene-ladan.nl/

 GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6
 (subkeys.pgp.net)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Rene Ladan
Hi,

I have an Asus A6JE laptop which has an Intel T5600 CPU.  It is
currently configured as i386
with CPUTYPE=prescott.  But after reading wikipedia, I get the idea
that I have slightly
underconfigured my box, i.e. that a better configuration is possible.
dmesg says (7.0-release):

CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.77-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
Features=0xbfebfbffFPU,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=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 2147287040 (2047 MB)
avail memory = 2095947776 (1998 MB)
ACPI APIC Table: AMIOEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
acpi0: _ASUS_ Notebook on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 7ff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_ec0: Embedded Controller: GPE 0x1c port 0x62,0x66 on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 900
cpu0: ACPI CPU on acpi0
coretemp0: CPU On-Die Thermal Sensors on cpu0
est0: Enhanced SpeedStep Frequency Control on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6130b2406000b24
device_attach: est0 attach returned 6
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] -  77, should be
 2C [20070320]
coretemp1: CPU On-Die Thermal Sensors on cpu1
est1: Enhanced SpeedStep Frequency Control on cpu1
p4tcc1: CPU Frequency Thermal Control on cpu1

Maybe some amd64 configuration is possible, since it the cpu has AMD features?

Please cc me, I'm not subscribed.

Regards,
Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Roland Smith
On Fri, Jul 25, 2008 at 09:45:40AM +0200, Rene Ladan wrote:
 Hi,
 
 I have an Asus A6JE laptop which has an Intel T5600 CPU.  It is
 currently configured as i386
 with CPUTYPE=prescott.  But after reading wikipedia, I get the idea
 that I have slightly
 underconfigured my box, i.e. that a better configuration is possible.
 dmesg says (7.0-release):
 
 CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.77-MHz 686-class 
 CPU)
   Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
 Features=0xbfebfbffFPU,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=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
   AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2

No it's configured correctly. See /usr/share/mk/bsd.cpu.mk

 Maybe some amd64 configuration is possible, since it the cpu has AMD features?

If you want amd64, you should have installed the amd64 architecture. But
remember that some ports (e.g. flash plugin) are only available for the
i386 architecture.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp99wLv31Fw7.pgp
Description: PGP signature


Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Rene Ladan
2008/7/25 Roland Smith [EMAIL PROTECTED]:
 On Fri, Jul 25, 2008 at 09:45:40AM +0200, Rene Ladan wrote:
 Hi,

 I have an Asus A6JE laptop which has an Intel T5600 CPU.  It is
 currently configured as i386
 with CPUTYPE=prescott.  But after reading wikipedia, I get the idea
 that I have slightly
 underconfigured my box, i.e. that a better configuration is possible.
 dmesg says (7.0-release):

 CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.77-MHz 686-class 
 CPU)
   Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
 Features=0xbfebfbffFPU,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=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
   AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2

 No it's configured correctly. See /usr/share/mk/bsd.cpu.mk

 Maybe some amd64 configuration is possible, since it the cpu has AMD 
 features?

 If you want amd64, you should have installed the amd64 architecture. But
It seems to be amd64-capable:
http://ubuntuforums.org/archive/index.php/t-649410.html
Side-grading seems quite hard :( :
http://lists.freebsd.org/pipermail/freebsd-amd64/2004-December/003008.html

 remember that some ports (e.g. flash plugin) are only available for the
 i386 architecture.
Flash is available for amd64 if you use swfdec :)

Probably not worth the hassle, maybe when 7.1 gets released.

Regards,
Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Rene Ladan
2008/7/25 Rene Ladan [EMAIL PROTECTED]:
 2008/7/25 Roland Smith [EMAIL PROTECTED]:
 On Fri, Jul 25, 2008 at 09:45:40AM +0200, Rene Ladan wrote:
 Hi,

 I have an Asus A6JE laptop which has an Intel T5600 CPU.  It is
 currently configured as i386
 with CPUTYPE=prescott.  But after reading wikipedia, I get the idea
 that I have slightly
 underconfigured my box, i.e. that a better configuration is possible.
 dmesg says (7.0-release):

 CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.77-MHz 686-class 
 CPU)
   Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
 Features=0xbfebfbffFPU,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=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
   AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2

 No it's configured correctly. See /usr/share/mk/bsd.cpu.mk

 Maybe some amd64 configuration is possible, since it the cpu has AMD 
 features?

 If you want amd64, you should have installed the amd64 architecture. But
 It seems to be amd64-capable:
 http://ubuntuforums.org/archive/index.php/t-649410.html
 Side-grading seems quite hard :( :
 http://lists.freebsd.org/pipermail/freebsd-amd64/2004-December/003008.html

 remember that some ports (e.g. flash plugin) are only available for the
 i386 architecture.
 Flash is available for amd64 if you use swfdec :)

 Probably not worth the hassle, maybe when 7.1 gets released.

I guess I would have to rebuild all ports after the upgrade, or is it
possible to
run i386 ports on an amd64 box?  Because userland needs to be rebuilt...

Regards,
Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Wojciech Puchar

cpu1: ACPI CPU on acpi0
ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] -  77, should be
2C [20070320]
coretemp1: CPU On-Die Thermal Sensors on cpu1
est1: Enhanced SpeedStep Frequency Control on cpu1
p4tcc1: CPU Frequency Thermal Control on cpu1

Maybe some amd64 configuration is possible, since it the cpu has AMD features?


not maybe but indeed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Roland Smith
On Fri, Jul 25, 2008 at 11:16:02AM +0200, Rene Ladan wrote:
  CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.77-MHz 
  686-class CPU)
Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
  Features=0xbfebfbffFPU,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=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
AMD Features=0x2010NX,LM
AMD Features2=0x1LAHF
Cores per package: 2
 
  No it's configured correctly. See /usr/share/mk/bsd.cpu.mk
 
  Maybe some amd64 configuration is possible, since it the cpu has AMD 
  features?
 
  If you want amd64, you should have installed the amd64 architecture. But
  It seems to be amd64-capable:
  http://ubuntuforums.org/archive/index.php/t-649410.html
  Side-grading seems quite hard :( :
  http://lists.freebsd.org/pipermail/freebsd-amd64/2004-December/003008.html

The easiest way to update is to make a backup of your data and then
reinstall the amd64 version.

 I guess I would have to rebuild all ports after the upgrade, 

Yes, that would be best. Make a list of all installed ports (e.g. with
portmaster -L), delete all ports and install the so-called root ports
(No dependencies, not depended on) and leaf ports (have dependencies,
not depended on) again.

 or is it possible to run i386 ports on an amd64 box? 

It is possible, but I've never bothered trying it.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgptxQg6ztb5M.pgp
Description: PGP signature


Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Rene Ladan
2008/7/25 Roland Smith [EMAIL PROTECTED]:
 On Fri, Jul 25, 2008 at 09:45:40AM +0200, Rene Ladan wrote:
 Hi,

 I have an Asus A6JE laptop which has an Intel T5600 CPU.  It is
 currently configured as i386
 with CPUTYPE=prescott.  But after reading wikipedia, I get the idea
 that I have slightly
 underconfigured my box, i.e. that a better configuration is possible.
 dmesg says (7.0-release):

 CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.77-MHz 686-class 
 CPU)
   Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
 Features=0xbfebfbffFPU,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=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
   AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2

 No it's configured correctly. See /usr/share/mk/bsd.cpu.mk

 Maybe some amd64 configuration is possible, since it the cpu has AMD 
 features?

Hmm, according to CPU pages the T5600 is 64-bit capable (see
http://forums.anandtech.com/messageview.aspx?catid=29threadid=2067695enterthread=ySTARTPAGE=2),
but according to the 7.0 hardware notes it is not:


2.1 amd64

...

 * Intel Pentium(R) 4 Processor supporting Intel EM64T (Prescott).
This is fabricated on 90nm process technology, uses FC-LGA775 package,
and operates with 3.20F/3.40F/3.60F GHz and Intel 925X Express
chipsets. The corresponding S-Spec numbers are SL7L9, SL7L8, SL7LA,
SL7NZ, SL7PZ, and SL7PX. Note that processors marked as 5xx numbers do
not support EM64T.


Yes, there are only two x's in the last sentence.  Does that refer to
another processor type?

Regards,
Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: optimal CPUTYPE / arch for Intel T5600 ?

2008-07-25 Thread Roland Smith
On Fri, Jul 25, 2008 at 06:03:46PM +0200, Rene Ladan wrote:
 Hmm, according to CPU pages the T5600 is 64-bit capable (see
 http://forums.anandtech.com/messageview.aspx?catid=29threadid=2067695enterthread=ySTARTPAGE=2),
 but according to the 7.0 hardware notes it is not:

 ...
 
  * Intel Pentium(R) 4 Processor supporting Intel EM64T (Prescott).
 This is fabricated on 90nm process technology, uses FC-LGA775 package,
 and operates with 3.20F/3.40F/3.60F GHz and Intel 925X Express
 chipsets. The corresponding S-Spec numbers are SL7L9, SL7L8, SL7LA,
 SL7NZ, SL7PZ, and SL7PX. Note that processors marked as 5xx numbers do
 not support EM64T.
 
 
 Yes, there are only two x's in the last sentence.  Does that refer to
 another processor type?

Yes. The T5600 _does_ support x86_64/amd64/EM64T:

http://processorfinder.intel.com/details.aspx?sSpec=SL9SP

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpk2BfdxDI5G.pgp
Description: PGP signature