So, this is just something I'm curious about and want to discuss with some of the Matlab users. I have the PowerMac G5 2.5GHz Quad core with 512Mb of memory. I also have a late 2011, Macbook pro with 2.4GHz i5 with 4Gb of RAM.
Now, I have been running some code on my Macbook, it's a rather simply code, but I'm processing some 2.6+ million data points so it usually takes about 40 minutes or so (45 or so minutes, including the load time of the huge *.csv files). So couple days ago I got curious and I want to see how it would run on my PowerMac G5. Unfortunately, I never let it finish on my G5, I went through about 20% of the data points and that already took about 30+ minutes, so if I scale it linearly it would have taken around 2+ hours for the entire operation.
I was a bit disappointed, giving that "I thought" the G5 was a rather powerful machine. And yes, I also know the technology is several years behind. I'm just curious if this is possibly due to Matlab, that it might not be as efficient on the old chipset. So this got me thinking, if I was to write the code in C, and try to run it on both Macbook and G5, would I maybe see a comparable result? Or maybe even faster result from the G5?
To those G5 lovers, I'm not trying to start anything here. I'm simply curious and want to see if running Matlab (or C) was the reason for the difference in speed.
Now, I have been running some code on my Macbook, it's a rather simply code, but I'm processing some 2.6+ million data points so it usually takes about 40 minutes or so (45 or so minutes, including the load time of the huge *.csv files). So couple days ago I got curious and I want to see how it would run on my PowerMac G5. Unfortunately, I never let it finish on my G5, I went through about 20% of the data points and that already took about 30+ minutes, so if I scale it linearly it would have taken around 2+ hours for the entire operation.
I was a bit disappointed, giving that "I thought" the G5 was a rather powerful machine. And yes, I also know the technology is several years behind. I'm just curious if this is possibly due to Matlab, that it might not be as efficient on the old chipset. So this got me thinking, if I was to write the code in C, and try to run it on both Macbook and G5, would I maybe see a comparable result? Or maybe even faster result from the G5?
To those G5 lovers, I'm not trying to start anything here. I'm simply curious and want to see if running Matlab (or C) was the reason for the difference in speed.