RE: [R] Dismal R performance of Athlon moble CPU?
On Wed, 23 Jul 2003, Jason Liao wrote: Thanks for Prof. Ripley and Andy for your technical explantion. It seems that that the real CPU speed has not advanced as fast as these Ghz or other performance indicator suggest. Yes, my program is totally CPU intensive. It may not be even if you think it is. Note that much of the speed increase that ATLAS achieves comes from optimal use of various levels of cache. It's quite possible that your code is actually limited by memory bandwidth. In any case, I think R is often limited by integer rather than floating point peformance. Back in the days when I timed things in R, its relative performance across PCs and Sparcs suggested that floating point wasn't a big deal. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] Dismal R performance of Athlon moble CPU?
On Wed, 23 Jul 2003, Jason Liao wrote: I have been using a laptop computer of Pentium III 1.13 Ghz. I heard that AMD's Athlon has excellent floating point capacity. So I bought a Athlon 2200+ laptop yesterday. I expected that new Athlon 2200+ will be twice as fast as the P III 1.13 GB. I ran a R simulation program and the new computer is only 30% faster, in fact slightly slower than a Celeron 1.50 GB laptop. I am very disappointed by this. What is your experience with Athlon? Should I stick to Intel in the future? Thanks. So I expect you think a P4M 1.4GHz (on which I am writing this) should be a lot faster than a PIII 1GHz? It is often slower. Don't compare laptop chips with desktop ones, nor different chip families (an Athlon 2200 is not 2.2GHz, BTW). PIIIs seem the fastest per GHz, but they don't do many GHz. I am rather pleased with my dual Athlon 2600, but then P4's don't allow multiprocessors and the machine with dual Athlons was cheaper than a comparable one with a single 2.4GHz P4. You have tuned an ATLAS implementation to your CPU, I take it? If not, that's the first step to optimal R performance. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
RE: [R] Dismal R performance of Athlon moble CPU?
Thanks for Prof. Ripley and Andy for your technical explantion. It seems that that the real CPU speed has not advanced as fast as these Ghz or other performance indicator suggest. Yes, my program is totally CPU intensive. We do have a dual P4 Xeon 2.4 GHz with 8GB RAM, and jobs run more than twice as fast as my PIII 933MHz laptop. R can not really use dual CPU for one R session if I understand correctly Jason --- Liaw, Andy [EMAIL PROTECTED] wrote: Overall performance depends on a few other things besides CPU clock speed (e.g., RAM speed and size, cache size, disk speed, etc.) Unless your code is spending great majority of the time in the CPU, you should not expect speed-up to be equal to ratio of clock speeds. (Also, as Prof. Ripley pointed out, a P4 does less than a PIII at the same clock speed, and the number AMD attach to Athlon is not clock speed.) We do have a dual P4 Xeon 2.4 GHz with 8GB RAM, and jobs run more than twice as fast as my PIII 933MHz laptop. Andy -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:55 PM To: Jason Liao Cc: [EMAIL PROTECTED] Subject: Re: [R] Dismal R performance of Athlon moble CPU? On Wed, 23 Jul 2003, Jason Liao wrote: I have been using a laptop computer of Pentium III 1.13 Ghz. I heard that AMD's Athlon has excellent floating point capacity. So I bought a Athlon 2200+ laptop yesterday. I expected that new Athlon 2200+ will be twice as fast as the P III 1.13 GB. I ran a R simulation program and the new computer is only 30% faster, in fact slightly slower than a Celeron 1.50 GB laptop. I am very disappointed by this. What is your experience with Athlon? Should I stick to Intel in the future? Thanks. So I expect you think a P4M 1.4GHz (on which I am writing this) should be a lot faster than a PIII 1GHz? It is often slower. Don't compare laptop chips with desktop ones, nor different chip families (an Athlon 2200 is not 2.2GHz, BTW). PIIIs seem the fastest per GHz, but they don't do many GHz. I am rather pleased with my dual Athlon 2600, but then P4's don't allow multiprocessors and the machine with dual Athlons was cheaper than a comparable one with a single 2.4GHz P4. You have tuned an ATLAS implementation to your CPU, I take it? If not, that's the first step to optimal R performance. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo /r-help -- Notice: This e-mail message, together with any attachments, contains information of Merck Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. -- = Jason G. Liao, Ph.D. Division of Biometrics University of Medicine and Dentistry of New Jersey 335 George Street, Suite 2200 New Brunswick, NJ 08903-2688 phone (732) 235-8611, fax (732) 235-9777 http://www.geocities.com/jg_liao __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Re: [R] Dismal R performance of Athlon moble CPU?
Jason Liao [EMAIL PROTECTED] writes: R can not really use dual CPU for one R session if I understand correctly It certainly can, using message passing libraries or sockets. While it isn't technically one session, it's awfully similar to that, for the user. best, -tony -- A.J. Rossini / [EMAIL PROTECTED] / [EMAIL PROTECTED] http://software.biostat.washington.edu/ UNTIL IT MOVES IN JULY. Biomedical and Health Informatics, University of Washington Biostatistics, HVTN/SCHARP, Fred Hutchinson Cancer Research Center. FHCRC: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}} __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
RE: [R] Dismal R performance of Athlon moble CPU?
From: Jason Liao [mailto:[EMAIL PROTECTED] Thanks for Prof. Ripley and Andy for your technical explantion. It seems that that the real CPU speed has not advanced as fast as these Ghz or other performance indicator suggest. Yes, my program is totally CPU intensive. We do have a dual P4 Xeon 2.4 GHz with 8GB RAM, and jobs run more than twice as fast as my PIII 933MHz laptop. R can not really use dual CPU for one R session if I understand correctly No, but that machine is being shared by several people. Even if only one person uses the box, it helps to have one CPU dedicated to R, and another taking care of other things. Having 12k rpm SCSI disks and fast RAM helped, too. Andy Jason --- Liaw, Andy [EMAIL PROTECTED] wrote: Overall performance depends on a few other things besides CPU clock speed (e.g., RAM speed and size, cache size, disk speed, etc.) Unless your code is spending great majority of the time in the CPU, you should not expect speed-up to be equal to ratio of clock speeds. (Also, as Prof. Ripley pointed out, a P4 does less than a PIII at the same clock speed, and the number AMD attach to Athlon is not clock speed.) We do have a dual P4 Xeon 2.4 GHz with 8GB RAM, and jobs run more than twice as fast as my PIII 933MHz laptop. Andy -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:55 PM To: Jason Liao Cc: [EMAIL PROTECTED] Subject: Re: [R] Dismal R performance of Athlon moble CPU? On Wed, 23 Jul 2003, Jason Liao wrote: I have been using a laptop computer of Pentium III 1.13 Ghz. I heard that AMD's Athlon has excellent floating point capacity. So I bought a Athlon 2200+ laptop yesterday. I expected that new Athlon 2200+ will be twice as fast as the P III 1.13 GB. I ran a R simulation program and the new computer is only 30% faster, in fact slightly slower than a Celeron 1.50 GB laptop. I am very disappointed by this. What is your experience with Athlon? Should I stick to Intel in the future? Thanks. So I expect you think a P4M 1.4GHz (on which I am writing this) should be a lot faster than a PIII 1GHz? It is often slower. Don't compare laptop chips with desktop ones, nor different chip families (an Athlon 2200 is not 2.2GHz, BTW). PIIIs seem the fastest per GHz, but they don't do many GHz. I am rather pleased with my dual Athlon 2600, but then P4's don't allow multiprocessors and the machine with dual Athlons was cheaper than a comparable one with a single 2.4GHz P4. You have tuned an ATLAS implementation to your CPU, I take it? If not, that's the first step to optimal R performance. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo /r-help -- Notice: This e-mail message, together with any attachments, contains information of Merck Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. -- = Jason G. Liao, Ph.D. Division of Biometrics University of Medicine and Dentistry of New Jersey 335 George Street, Suite 2200 New Brunswick, NJ 08903-2688 phone (732) 235-8611, fax (732) 235-9777 http://www.geocities.com/jg_liao -- Notice: This e-mail message, together with any attachments, ...{{dropped}} __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
RE: [R] Dismal R performance of Athlon moble CPU?
I haven't gotten around to assembling the toolset required to build R on Windows, since most of what I do is smallish interactive problems. However, another possibility would be to load CygWin/XFree86 on your laptop (which I've done), then download Atlas 3.5.7 from SourceForge (which I've done), then build Atlas with CygWin(which I've done) and then build a second version of R under CygWin using Atlas, and use the CygWin/Atlas R for the heavy number-crunching jobs. This last I haven't done, so I can't say whether there are any gotchas, but everything else I've done with CygWin/XFree86 has worked. My laptop is a Compaq Presario with a 1.67 GHz Athlon XP. Atlas screams on it; the Atlas folks were grinning when I sent them the log. Atlas has an assembly language kernel for Athlons (and P4s as well IIRC). Oh, yeah ... If you do try my scheme, make sure you don't have spaces in the paths ... Atlas still isn't immune to that sort of thing under CygWin. -- M. Edward (Ed) Borasky mailto:[EMAIL PROTECTED] http://www.borasky-research.net Suppose that tonight, while you sleep, a miracle happens - you wake up tomorrow with what you have longed for! How will you discover that a miracle happened? How will your loved ones? What will be different? What will you notice? What do you need to explode into tomorrow with grace, power, love, passion and confidence? -- L. Michael Hall, PhD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Liao Sent: Wednesday, July 23, 2003 1:44 PM To: [EMAIL PROTECTED] Subject: [R] Dismal R performance of Athlon moble CPU? I have been using a laptop computer of Pentium III 1.13 Ghz. I heard that AMD's Athlon has excellent floating point capacity. So I bought a Athlon 2200+ laptop yesterday. I expected that new Athlon 2200+ will be twice as fast as the P III 1.13 GB. I ran a R simulation program and the new computer is only 30% faster, in fact slightly slower than a Celeron 1.50 GB laptop. I am very disappointed by this. What is your experience with Athlon? Should I stick to Intel in the future? Thanks. By the way, the OS is Windows XP home edtion. Jason = Jason G. Liao, Ph.D. Division of Biometrics University of Medicine and Dentistry of New Jersey 335 George Street, Suite 2200 New Brunswick, NJ 08903-2688 phone (732) 235-8611, fax (732) 235-9777 http://www.geocities.com/jg_liao __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo /r-help __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help