Forum Discussion
Terrible recalculation speed on Ryzen processor
- JKPieterseOct 17, 2022Silver Contributor
ctz69 One thing to try is:
- Open workbook
- Set Excel back to automatically detect # of cores
- Hit control+shift+alt+F9 (this forces Excel to rebuild the calc tree and do a full recalc)
- Let Excel calculate the workbook again (F9), perhaps even multiple times
- Now time the calculation, has it improved any?
NB: If you open an Excel file which has been recalculated last on a different version of Excel, Excel may decide to do a full recalc the first time round. Subsequent calcs should be quick as usual
- ctz69Oct 17, 2022Copper ContributorTried this and recalculated 5 times and it ran at 36 seconds each time, down from the original 40 seconds. Turned off multi-threaded calcs and restored the 1-2 second calculation. Bug or working as intended? Maybe it doesn't work properly on AMD CPUs? Considering the processing power of modern CPUs, it must be a bug or bad design.
- JKPieterseOct 17, 2022Silver Contributor
ctz69 Thanks for trying. Let's wait and hear what the team has to say about this. I'll report back if I hear anything.
- JKPieterseOct 16, 2022Silver ContributorI've reported this to the Excel team.
- fastexcelOct 17, 2022Brass Contributor
Multi-threaded recalc occurs in 2 steps.
Step 1 works out how to allocate the calc between threads
Step 2 then actually does the calc.
Usually the results of previous Step 1 optimisations are used as a starting point for subsequent recalcs so the time taken to do step 1 diminishes on subsequent recalcs.
Difficult to make any sensible comments without looking at the actual workbook (would be happy to do that if possible)
Charles Williams