Re: migrating to 64-bit
On 6/23/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote: On 21/06/06 Nikolas Britton said: > The consensus seems to be that FreeBSD/amd64 is a tad slower then > FreeBSD/i386 because it has to deal with 32 extra bits. The primary > reason to use FreeBSD/amd64 seems to be if you need greater then 4GB > of RAM. > > This should give you the speed boost your looking for: > CPUTYPE?=pentium2 > CFLAGS+= -mtune=nocona > COPTFLAGS+= -mtune=nocona > > Put that in /etc/make.conf and recompile ports/kern/world. Cool, thanks. Mike Yea it looks weird but I've benchmarked it: -march=pentium2 + -mtune=pentium3 -march=pentium2 + -mtune=pentium4 -march=pentium2 + -mtune=prescott -march=pentium2 + -mtune=nocona All are equal to or better then -march={your_real_cpu} alone, which is weird because -march=cputype implies -mtune=cputype. My gcc settings also produce safer (less buggy) code at compile time and safely optimizes code that would otherwise ignore the CPUTYPE option in make.conf... YMMV. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: migrating to 64-bit
On 21/06/06 Nikolas Britton said: > The consensus seems to be that FreeBSD/amd64 is a tad slower then > FreeBSD/i386 because it has to deal with 32 extra bits. The primary > reason to use FreeBSD/amd64 seems to be if you need greater then 4GB > of RAM. > > This should give you the speed boost your looking for: > CPUTYPE?=pentium2 > CFLAGS+= -mtune=nocona > COPTFLAGS+= -mtune=nocona > > Put that in /etc/make.conf and recompile ports/kern/world. Cool, thanks. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein pgp0yeHMhLcFM.pgp Description: PGP signature
Re: migrating to 64-bit
On 6/21/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote: On 21/06/06 Nikolas Britton said: > IA64 = Itanium, Itanium2 = FreeBSD/ia64 > EM64T = Intel CPUs with AMD64 (P4, Xeon, etc.) = FreeBSD/amd64 > AMD64 = Opteron, Athlon 64, Turion 64, Sempron 64 = FreeBSD/amd64 > > http://en.wikipedia.org/wiki/EM64T > > Why do you need to run in 64-bit mode? I'm asking that myself. I'd like to do comparisons with and without 64-bit support. The consensus seems to be that FreeBSD/amd64 is a tad slower then FreeBSD/i386 because it has to deal with 32 extra bits. The primary reason to use FreeBSD/amd64 seems to be if you need greater then 4GB of RAM. This should give you the speed boost your looking for: CPUTYPE?=pentium2 CFLAGS+= -mtune=nocona COPTFLAGS+= -mtune=nocona Put that in /etc/make.conf and recompile ports/kern/world. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: migrating to 64-bit
On 6/21/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote: On 21/06/06 Nikolas Britton said: > IA64 = Itanium, Itanium2 = FreeBSD/ia64 > EM64T = Intel CPUs with AMD64 (P4, Xeon, etc.) = FreeBSD/amd64 > AMD64 = Opteron, Athlon 64, Turion 64, Sempron 64 = FreeBSD/amd64 > > http://en.wikipedia.org/wiki/EM64T > > Why do you need to run in 64-bit mode? I'm asking that myself. I'd like to do comparisons with and without 64-bit support. The consensus seems to be that FreeBSD/amd64 is a tad slower then FreeBSD/i386 because it has to deal with 32 extra bits. The primary reason to use FreeBSD/amd64 seems to be if you need greater then 4GB of RAM. This should give you the speed boost your looking for: CPUTYPE?=pentium2 CFLAGS+= -mtune=nocona COPTFLAGS+= -mtune=nocona Put that in /etc/make.conf and recompile ports/kern/world. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: migrating to 64-bit
On 21/06/06 Nikolas Britton said: > IA64 = Itanium, Itanium2 = FreeBSD/ia64 > EM64T = Intel CPUs with AMD64 (P4, Xeon, etc.) = FreeBSD/amd64 > AMD64 = Opteron, Athlon 64, Turion 64, Sempron 64 = FreeBSD/amd64 > > http://en.wikipedia.org/wiki/EM64T > > Why do you need to run in 64-bit mode? I'm asking that myself. I'd like to do comparisons with and without 64-bit support. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein pgpstMGQgaaaU.pgp Description: PGP signature
Re: migrating to 64-bit
On 6/20/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote: On 20/06/06 Andy Reitz said: > I believe that ia64 refers to the Itanium port of FreeBSD, and I'm not > sure of the i386 version will install on Itanium. Are you referring to the > AMD64/EMT-64 port of FreeBSD? It's a 64-bit P4. My i386 5.4 install works fine. IA64 = Itanium, Itanium2 = FreeBSD/ia64 EM64T = Intel CPUs with AMD64 (P4, Xeon, etc.) = FreeBSD/amd64 AMD64 = Opteron, Athlon 64, Turion 64, Sempron 64 = FreeBSD/amd64 http://en.wikipedia.org/wiki/EM64T Why do you need to run in 64-bit mode? -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: migrating to 64-bit
Michael P. Soulier wrote: > On 20/06/06 Andy Reitz said: > >> I believe that ia64 refers to the Itanium port of FreeBSD, and I'm not >> sure of the i386 version will install on Itanium. Are you referring to the >> AMD64/EMT-64 port of FreeBSD? > > It's a 64-bit P4. My i386 5.4 install works fine. > > Mike That processor is EM64T. It falls into AMD64/EM64T category instead of IA64. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: migrating to 64-bit
On 20/06/06 Andy Reitz said: > I believe that ia64 refers to the Itanium port of FreeBSD, and I'm not > sure of the i386 version will install on Itanium. Are you referring to the > AMD64/EMT-64 port of FreeBSD? It's a 64-bit P4. My i386 5.4 install works fine. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein pgpnBnLwRnmBt.pgp Description: PGP signature
Re: migrating to 64-bit
--- "Michael P. Soulier" <[EMAIL PROTECTED]> wrote: > Hello, > > I recently got an ia64 box at work, and I threw > my i386 freebsd 5.4 on it. > Now, is there a way to rebuild world with > 64-bit support from there? > > Thanks, > Mike Everything I've tested runs slower in 64-bit mode (mainly because of kernel clunkiness), so if you don't need the long pointers you might want to re-think your proposed adventure. I believe that since everything is bigger in 64-bit mode, things fall out of the cpu cache a lot faster, and there is a significant different in performance in and out of the cache. DT __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: migrating to 64-bit
On Tue, 20 Jun 2006, Michael P. Soulier wrote: > Hello, > > I recently got an ia64 box at work, and I threw my i386 freebsd 5.4 on it. > Now, is there a way to rebuild world with 64-bit support from there? Hi Mike, I believe that ia64 refers to the Itanium port of FreeBSD, and I'm not sure of the i386 version will install on Itanium. Are you referring to the AMD64/EMT-64 port of FreeBSD? -Andy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
migrating to 64-bit
Hello, I recently got an ia64 box at work, and I threw my i386 freebsd 5.4 on it. Now, is there a way to rebuild world with 64-bit support from there? Thanks, Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein pgp58oKUJ6qiZ.pgp Description: PGP signature