|
How fast can your Mac/PC run this Excel Lotto Macro? | This Excel Lotto Macro wheels ALL 13,983,816 Lotto Combinations of 06 out of 49, then displays how long it took. Please specify: Mac or PC, Processor Type & Speed, Amount of RAM, and Version of Excel.
My HP TabletPC, AMD Turion X2 Ultra Dual-Core Mobile ZM-80, 2100 Mhz, 3GB RAM, Excel 2007 It would be appreciated if Owners of Powerful Systems would kindly run the Excel Lotto Macro. I'm also curious how fast Mac Pros perform in comparison to PCs. Intel -vs- AMD? Thank you in advance. 13,983,816 Lotto Combinations in 2751 Seconds. 30499.053 cells per second. 83,902,896 cells total. Sub fill() 'Application.StatusBar = "Executing..." & Format(65535 * o / 962598 * 100, "00") & "% done" |
The question has been closed for the following reason "Other" by r0bErT4u Jul 17 '10 at 20:16
|
I have an AMD ATHLON X2 DUAL CORE 3.2GHZ, 4GB DDR2 800MHZ RAM. (and was playing music at the same time lol) I got ... Done in 1455 seconds. woop woop :) WOW! BRAVO!! That's 21.6 minutes faster than my TabletPC!!! i'm running windows 7 64-bit btw :) I noticed that NO Mac Pros even attempted to run the Excel Lotto Macro?!? Doubt there are really that many Mac Pro owners here on Lockergnome, judging by the average age of the active users. Macro errors out in Excel 2008 on latest version of OS X, by the way. Something to do with VB support. Haven't tried it on the Windows side so I can post results for my iMac i7 with Win7 64bit installed. I'd be interested to see how any Mac performs, but these youngsters probably don't have the patience and/or their Macs are choking on the macro =0p... Office for Mac is a pain in the arse. I prefer Open Office on the Mac side. ageekmom, Thanks for trying to run the Excel Lotto Macro. I wonder why the Macs are choking?! VB support, as I stated. Hey, I can't see to be able to work out how to do this. I have absolutely no experience with Excel. I have downloaded the document, but can't work out how to run it. I've hit the "Calculate now" button, but nothing seems to happen. Please help. :)
showing 5 of 9
show all
|
Result: 1392 seconds I think I can beat quinny707's time with a tweak or two... Nice! No need!! 34 seconds difference!!! 1
Increased my overclock from 3.0GHz to 3.22GHz. Result: 1208 seconds I'd like to add that this macro is not optimized for multiple cores (it's only using 25% of my quad core). It could potentially run 4 times faster on these quad core processors if reworked. Screenshot: http://a.imageshack.us/img697/1617/96506288.png You're the FASTEST!!! 20 minutes 08 seconds ... AMAZING!!! I'm asking why Excel is only using 25% CPU. In a prior test, Task Manager showed 2 Cores used out of 8 Cores. Once we break this barrier ... Vegas better watchout |
|
An error happened. Because of a syntax error. |
|
How to Enable All Cores:
That's what it was set to by default on my system, and this script still only uses one core. I believe it's an issue with the way the script is written, Excel can't figure out how to spread it out. How about Selecting Manual, then Set it to 4/8 Processors? No change, still using only 25% CPU. Excel 2010 will only use 2 cores in most instances =0/ It's not a problem with Excel, it's a problem with the way the calculation is written. It has to run consecutively, meaning it can't be split into multiple threads. If it were rewritten in such a way that multithreading were possible, we'd see some impressive performance gains. Hmm?!? I see. The macro is counting as fast as it can from: {1} Start 01-02-03-04-05-06 -to- {13,983,816} End 44-45-46-47-48-49 I could rewrite it so that half the macro would count ascending, the other half would count descending, and they'd meet in the middle ...
showing 5 of 6
show all
|
I shaved 58 seconds with Excel 2010?!




Appears that ALL Apple Macs are unable to numbercrunch!?!
ALL the Apple Fanboys' Macintoshes are used - FOR WHAT?!?
4-time Texas lotto winner rich with money, mystery
Also, Excel 2010 will only use two cores (but only for certain things):
Multi-Core Processing Additional investments were made to take advantage of multi-core processors and increase performance for routine tasks. Starting in Excel 2010, the following features use multi-core processors: saving a file, opening a file, refreshing a PivotTable (for external data sources, except OLAP and SharePoint), sorting a cell table, sorting a PivotTable, and auto-sizing a column.
For operations that involve reading and loading or writing data, such as opening a file, saving a file or refreshing data, splitting the operation into two processes increases performance speed. The first process gets the data, and the second process loads the data into the appropriate structure in memory or writes the data to a file. In this way, as soon as the first process beings reading a portion of data, the second process can immediately start loading or writing that data, while the first process continues to read the next portion of data. Previously, the first process had to finish reading all the data in a certain section before the second process could load that section of the data into memory or write the data to a file.
http://msdn.microsoft.com/en-us/library/ff700514.aspx