Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Archive > Archives of Old Posts > Buying Tips, Advice and Discussion (archive)

 
 
Thread Tools Search this Thread Display Modes
Old Sep 16, 2004, 07:41 PM   #1
FlamDrag
macrumors 6502
 
Join Date: Jan 2003
Location: Western Hemisphere
Complex Math, Accurate & Fast :: PC or Mac?

I know I'm in a biased group here, but I need to ask anyway.

If memory serves, Mac OS or the G5 processor does not do math as well as Pentium class processors. Is this true?

I also need advice for a hardware and software solution (PC or Mac) that will handle very complex math calculations with obscene quickness and accuracy.

Thanks,

FD
__________________
Hook 'em Horns! - Who am I kidding? Boomer Sooner!
FlamDrag is offline   0
Old Sep 16, 2004, 08:37 PM   #2
Dr. Dastardly
macrumors 65816
 
Dr. Dastardly's Avatar
 
Join Date: Jun 2004
Location: I live in a giant bucket!
What?! Macs are the best at complex mathematics.
Look here for a great program dealing with complex math or just take a look at some of their super computers.
Heres a thread with the latest.
Dr. Dastardly is offline   0
Old Sep 16, 2004, 08:44 PM   #3
crazzyeddie
macrumors 68030
 
crazzyeddie's Avatar
 
Join Date: Dec 2002
Location: Florida, USA
IIRC, the G5 does faster floating point operations than the P4. The G5 also has two FPUs per CPU, right?
__________________
Macbook Air 2010
Core 2 Duo 2.13Ghz
4GB DDR3 RAM
iPhone 5 Black
crazzyeddie is offline   0
Old Sep 16, 2004, 08:48 PM   #4
Abstract
macrumors G3
 
Abstract's Avatar
 
Join Date: Dec 2002
Location: Location Location
I don't know which ones will do maths more accurately, but I thought this was dependent on the software used, along with the method used by the software to take integrals, for example. Its very difficult to say, but things like Matlab is available for Macs now through X11.

I always thought floating point arithmetic became less accurate as the number got bigger (think 10^11 or something), and was much more (relatively) accurate when dealing with small numbers such as decimals. I didn't think accuracy depended on whether it was Mac or PC, IBM or Intel or AMD, although I could be wrong.

Floating point is faster on a G5, though.
__________________
"Hard? It's supposed to be hard. Hard is what makes it great!" - Tom Hanks.
Abstract is offline   0
Old Sep 16, 2004, 09:20 PM   #5
FlamDrag
Thread Starter
macrumors 6502
 
Join Date: Jan 2003
Location: Western Hemisphere
Seriously, I know that it SHOULDN'T matter if it's Mac or PC etc etc. but I have fuzzy memories of one processor or another actually generating incorrect answers on down the line. So, I was just trying to shave the fuzzy memory a bit.

I didn't realize mathematica was as diverse as it is.

So if I'm doing math and I want it done now, is there any particular part of the hardware that I need to upgrade to the hilt?
__________________
Hook 'em Horns! - Who am I kidding? Boomer Sooner!
FlamDrag is offline   0
Old Sep 16, 2004, 09:32 PM   #6
Timelessblur
Banned
 
Timelessblur's Avatar
 
Join Date: Jun 2004
for the hi end stuff like Math program and stuff OSX comes up a bit short. there are just few option advible but this is many because this program are more gear to the engineering comunity which is mainly PC side.

I have never been a fan of mathlab. I personly like mathcad a lot more and I have not heard good thing about mathematica compared to the other ones which I think are planly just better (Mathcad Mathlab and mapple are all better)
Timelessblur is offline   0
Old Sep 16, 2004, 09:49 PM   #7
RacerX
macrumors 65832
 
Join Date: Aug 2004
Quote:
Originally Posted by FlamDrag
but I have fuzzy memories of one processor or another actually generating incorrect answers on down the line.
Your memory isn't be too fuzzy, you are most likely remembering the Floating Point error that arose in some early generations of Pentium processors. Intel still carries that badge of honor in circles where floating point is key. A whole generation of PCs had to have there floating point units disabled to make sure that the errors didn't pop up in calculations using apps like Excel.

Both POWER and PowerPC processors have always been more floating point intensive than anything based on x86. Pentium class processors are just not designed for that type of stuff. PC users usually beat users of other platforms up with benchmarks, but in pure floating point results, Pentiums just aren't up to speed.

In the workstation world, your floating point ability is what you are measured by. It was one of the reasons why fewer G5 processors were needed to out score a Pentium 4 processor based system in the Top 500 Super Computer lists, the benchmark there is floating point.

This is also why some Photoshop filters seem disproportionately faster on Macs than on PCs compared to other benchmarks. The filters are using floating point calculations. Anything that uses integer calculations tend to give an edge to Pentium based processors as that is what Intel has pushed in their products.

Also, you may note that when Apple displays benchmarks, they tend to emphasize tasks which are floating point intensive.

But, PC still scroll Word documents faster than any platform on the planet.
RacerX is offline   0
Old Sep 16, 2004, 10:32 PM   #8
Bruce Lee, PhD
macrumors member
 
Join Date: Jun 2004
Quote:
Originally Posted by FlamDrag
I know I'm in a biased group here, but I need to ask anyway.

If memory serves, Mac OS or the G5 processor does not do math as well as Pentium class processors. Is this true?

I also need advice for a hardware and software solution (PC or Mac) that will handle very complex math calculations with obscene quickness and accuracy.

Thanks,

FD
What software are you running? While altivec-aware apps will run quite quickly on g4/g5 processors, I'm pretty sure matlab and other popular computational packages are not altivec-aware. I believe it's because on the g4, the altivec processor only handled floats and not doubles. Perhaps someone else knows if this is still true on the g5. What do you mean by complex? By the time it hits the CPU, no computation is really complex. In any case, it seems to me the processor really isn't your concern here; the software matters quite a lot more.
__________________
Birthday party, cheesecake, jelly bean, boom.
Bruce Lee, PhD is offline   0
Old Sep 16, 2004, 11:08 PM   #9
Chaszmyr
macrumors 601
 
Chaszmyr's Avatar
 
Join Date: Aug 2002
Location: Boulder, CO
Mac or PC really won't matter much, but Macs are just cooler
Chaszmyr is offline   0
Old Sep 16, 2004, 11:39 PM   #10
outerspaceapple
macrumors regular
 
Join Date: May 2004
Location: Minnetonka, MN USA
Send a message via AIM to outerspaceapple
Quote:
Originally Posted by Chaszmyr
Mac or PC really won't matter much, but Macs are just cooler
you can sure say that agian
__________________
Tech podcast in laymans terms: Square Two
– Vinyl Records = 843 lbs.
– Compact Disks = 131 lbs.
– Cassettes = 42 lbs.
– 60GB iPod = 6.4 ounces

SquareCaster - Podcast RSS Manager http://www.macupdate.com/info.php/id/19530
outerspaceapple is offline   0
Old Sep 16, 2004, 11:47 PM   #11
budugu
macrumors 6502
 
Join Date: Sep 2004
Location: Boston, MA
Matlab runs best on Xeons

I am no expert on this. but i used to work on a dual xeon (3.0 Ghz) machine, now i am using a dual 1.8 Ghz G5 at work. We run huge simulations using matlab and what not to solve a lot differential equations etc for simulating small sub systems in neuroscience. Even though i have to agree that rendering is much faster on my new mac (creating visual 3D models). If you want to use matlab there is nothing that beats the Xeons practically. frankly i never got to work on Opteron so i have no idea about them. I should also give in the fact that Xeon workstations came with a lot more ram than the G5s (3.5 GB vs 1.5 GB).

PS: i remember long long ago that matlab used to run extremely well on my Sun 5 Sparc station.
budugu is offline   0
Old Sep 16, 2004, 11:50 PM   #12
Bu88a
macrumors newbie
 
Join Date: Jul 2004
My Advice

I'm a physics graduate student, so i'm using my powerbook for math all the time. between mathematica and latex i've got pretty much all the flexibility i need (although i also have an older dell laptop with debian on it that i keep around for odd stuff)...

it really depends on what specifically you need it for. but i think the mathematica community is probably the more diverse, and largest (as far as mathematics software goes). I have a 1 GHz 12" with 768MB and mathematica runs like a dream...

now if only i could save up for a dual g5....
Bu88a is offline   0
Old Sep 17, 2004, 12:47 AM   #13
FuzzyBallz
macrumors 6502a
 
FuzzyBallz's Avatar
 
Join Date: May 2003
Location: Home of Al-Qaida
Opteron server.
__________________
-165... ah crap, I lost count.
Mac: G5 Dual 2.0G / 1.5GB / GF FX5200 / 20" Cinema Display
PC: AMD Barton 2.2G / 1GB / GF Ti4200 / Dual 18" Sony LCD
FuzzyBallz is offline   0
Old Sep 17, 2004, 01:27 AM   #14
Mav451
macrumors 68000
 
Mav451's Avatar
 
Join Date: Jul 2003
Location: Maryland
oh god, i just spent the past 4 days making these Matlab programs for ENCE201.
__________________
i5 @ 3.6 Ghz | GB P55-UD3R | 4GB RAM DDR3 | GTX 580 | 4x 1TB WD | TX750
iPhone 4s (16GB), iBook 800 G3
Mav451 is offline   0
Old Sep 17, 2004, 02:48 AM   #15
earthtoandy
macrumors regular
 
Join Date: Jan 2003
Send a message via AIM to earthtoandy
Quote:
Originally Posted by FlamDrag
Seriously, I know that it SHOULDN'T matter if it's Mac or PC etc etc. but I have fuzzy memories of one processor or another actually generating incorrect answers on down the line. So, I was just trying to shave the fuzzy memory a bit.

I didn't realize mathematica was as diverse as it is.

So if I'm doing math and I want it done now, is there any particular part of the hardware that I need to upgrade to the hilt?
hmm sounds fishy. sounds like issues with the algorithim rather than the chip. because a chip wouldnt get very far if it couldnt do math since thats what it does
earthtoandy is offline   0
Old Sep 17, 2004, 03:39 AM   #16
Erik R.
macrumors newbie
 
Join Date: Jan 2004
Quote:
Originally Posted by Timelessblur
for the hi end stuff like Math program and stuff OSX comes up a bit short. there are just few option advible but this is many because this program are more gear to the engineering comunity which is mainly PC side.

I have never been a fan of mathlab. I personly like mathcad a lot more and I have not heard good thing about mathematica compared to the other ones which I think are planly just better (Mathcad Mathlab and mapple are all better)
So, what you seem to be saying is that only a few options for math is available on the mac, and that Matlab is no good.
Also Mathematica is no good, but Matlab is better and so is Maple.

As it happens we use Mathematica (VERY good app) AND Matlab on the Macintosh platform on my university. Mathcad is not good for a number of the things we do. it is simply not good enough. Maple is available for Mac, we have it in an older version here.

Maybe you could share with us what kind of computations you use mathcad for?
Erik R. is offline   0
Old Sep 17, 2004, 04:26 AM   #17
Loge
macrumors 68000
 
Loge's Avatar
 
Join Date: Jun 2004
Location: England
There was supposed to be a G5 optimized version of Mathematica in the works; not sure where this is up to.

http://www.wolfram.com/news/g5development.html
Loge is online now   0
Old Sep 17, 2004, 12:25 PM   #18
minton
macrumors member
 
Join Date: Jul 2004
These are the overall benchmark results of running a test notebook in Mathematica 5.0 on various hardware: (higher score = faster)
AMD64 3200+, SUSE Linux 9.0 for AMD64 : 3.55376

Athlon 64 3200+, Revision SH7-C0, 2.25 Ghz, 1MB L2, Windows : 3.5179

Opteron 244 (1,8 GHz), 2GB, SuSE Linux 9 Pro for AMD64 : 3.40254

AMD Athlon 3200+, 2GB RAM, WinXP Pro : 3.23186

Athlon 64 3200+, Revision SH7-C0, 2.0 Ghz, 1MB L2, Windows : 3.1481

AMD Athlon 64 3200+, 512 MB, Windows : 3.02386

Opteron 244 (1,8 GHz), 2GB, Windows XP Pro SP1 : 2.83638

Opteron 244 (1,8 GHz), 2GB, SuSE Linux 9 Pro for i386 : 2.73023

Pentium 4 XT ("Extreme Edition"), 3.2 GHz, 2GB, Win XP Pro : 2.6867

xp-2700, 2.17 GHz, 333 FSB, 1 GB, win-xp-pro : 2.54757

Athlon 2800+, 512 KB cache, 333 MHz FSB, Win XP Pro : 2.50588

Pentium 4, 3.2 GHz, 2 GB, Win XP Pro : 2.48287

Dell Precision 650, 4X3.06GHz Xeon, 512KB L2, 4GB, Win XP Pro V5.1 : 2.43878

P4, 3.2 GHz, 2GB RAM, 512kb, XP SP1 : 2.41661

IBM ThinkPad T41, Pentium M 1.7 GHz, 2.0 GB RAM, Win XP Pro : 2.39752

SGI Altix 3300, 1.3 GHz, 19 GB, Linux : 2.22437

P4-B, 3Ghz, 4GB, W2K3 : 2.1325

Mac G5, 2GHz dual, 1.5GB RAM, OS X 10.3 : 2.08193
The Thinkpad Pentium M, even with bottlenecks which are inherent in laptops, scores higher than the dual Powermac G5. The test notebook includes calculations like

Timing[PrimeQ[2^9689 - 1]][[1]]
Timing[N[Pi, 800000]][[1]]

See more at http://smc.vnet.net/timings50.html
minton is offline   0
Old Sep 17, 2004, 12:38 PM   #19
Catfish_Man
macrumors 68030
 
Catfish_Man's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Send a message via AIM to Catfish_Man
Some issues:
1) Mathematica does not use dual processors, unless you're running two computations at once. If you're doing that, make sure to double any benchmark scores you see for dual machines (unless they make sure to use them effectively).

2) Macs can do 32 bit math extremely quickly if properly written, because of Altivec, but it doesn't support 64 bit math.

3) If the task and software allow it, a cluster of cheap PCs will almost certainly win in performance/$
Catfish_Man is offline   0
Old Sep 17, 2004, 01:01 PM   #20
Edot
macrumors 6502
 
Join Date: Jan 2002
Location: NJ
Quote:
Originally Posted by Catfish_Man
Some issues:
3) If the task and software allow it, a cluster of cheap PCs will almost certainly win in performance/$
Not according to Virginia Tech and the new Colsa!
Edot is offline   0
Old Sep 17, 2004, 01:08 PM   #21
Timelessblur
Banned
 
Timelessblur's Avatar
 
Join Date: Jun 2004
rember 2 CPU at most only give you a 25% improvement. 2 cpu does not eququal 2 times the speed never has and never will.

By the looks of it the more complated OS eat more and more power off the CPUs. Also remeber that a lot of calucations can not be split up since it take an answer before it to get the next step. Normally for calucations RAW cpu speed is among the most imporant thing for doing it fast. Now you may be able to run mulitple varibles though the same eqiuation at the same time but 1 process pretty much handles the number crunching for each run.
Timelessblur is offline   0
Old Sep 17, 2004, 01:31 PM   #22
FlamDrag
Thread Starter
macrumors 6502
 
Join Date: Jan 2003
Location: Western Hemisphere
I'm sorry that I'm being so vague with my questions; I'm in the very early stages of an idea and trying to get a handle on the computing power I'll need.

I won't need to generate 3D models, but I will need to generate the answers to about 40 problems all at once. In short, what I need is "burst" power. A computer that will sprint through problems, not run a marathon. So a small cluster might be the way to go.

On the software end, I may end up writing my own code.

Linux & Unix solutions are not out of the question either.

Cost is not a deal beaker.
__________________
Hook 'em Horns! - Who am I kidding? Boomer Sooner!
FlamDrag is offline   0
Old Sep 17, 2004, 04:14 PM   #23
Bruce Lee, PhD
macrumors member
 
Join Date: Jun 2004
Quote:
Originally Posted by FlamDrag
I won't need to generate 3D models, but I will need to generate the answers to about 40 problems all at once. In short, what I need is "burst" power. A computer that will sprint through problems, not run a marathon. So a small cluster might be the way to go.

On the software end, I may end up writing my own code.
if writing code for a cluster sounds like fun and your problem parallelizes naturally, a cluster can be a good way to go. it can also be a real PITA to write the code and configure everything, so that's something to consider if this is just for fun.

why don't you write a little C program which represents the sorts of computations you'll be doing and post it here? if you write clean cross-platform code, which shouldn't be hard for this sort of thing, i bet a bunch of folks would be happy to compile it and benchmark it for you. if you know how to write altivec code, or write for one of the altivec-enabled libraries included with os x, you could write an altivec version as well.
__________________
Birthday party, cheesecake, jelly bean, boom.
Bruce Lee, PhD is offline   0
Old Sep 17, 2004, 04:29 PM   #24
jmfr123
macrumors newbie
 
Join Date: Jul 2003
Why the hell are you guys comparing a Pentium 4, it just sucks for pure Mathematics. The winner here could be the Ahtlon Family of processors from AMD, or EVEN their Opteron line. Specially that now, It all ready has Linux 64-Bit and soon to be released Windows XP 64-Bit. I have seen many tests where Apple's G5 and AMD's Athlon/Opteron both win 50/50. Depending on what optimizations you use on the Processors. Oh, and we know some of the top of line Athlon machines cost less than $2,200.
jmfr123 is offline   0
Old Sep 29, 2004, 11:43 AM   #25
cwtnospam
macrumors regular
 
Join Date: Sep 2004
TOTAL COST?

Quote:
Originally Posted by jmfr123
Why the hell are you guys comparing a Pentium 4, it just sucks for pure Mathematics. The winner here could be the Ahtlon Family of processors from AMD, or EVEN their Opteron line. Specially that now, It all ready has Linux 64-Bit and soon to be released Windows XP 64-Bit. I have seen many tests where Apple's G5 and AMD's Athlon/Opteron both win 50/50. Depending on what optimizations you use on the Processors. Oh, and we know some of the top of line Athlon machines cost less than $2,200.
You're forgetting to add the cost of downtime due to hacker and virus attacks, not to mention dealing with tech support just to get the thing working on your network, printing, etc. That will make your cheap Windoze based PC much more expensive than a Mac.
cwtnospam is offline   0

 
MacRumors Forums > Archive > Archives of Old Posts > Buying Tips, Advice and Discussion (archive)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Mac mini/Gaming PC or Mac Pro: What would you do? thankins Buying Tips and Advice 4 Nov 11, 2011 07:39 AM
Itunes 9 - Moving music & movies from PC to MAC mindquest Mac Applications and Mac App Store 1 Dec 17, 2009 09:08 AM
PC or Mac? Buy now or wait? (Mostly for music) Whiz Buying Tips and Advice 3 Oct 26, 2008 03:22 PM
Go here to buy any game or software out there for pc or mac... xboxgt12 Wasteland 2 May 1, 2004 05:34 AM
Help: PC or MAC? actripxl General Mac Discussion 25 Oct 25, 2002 08:59 PM


All times are GMT -5. The time now is 09:38 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC