Home Forums Power Pivot DAX Functions and CPU Usage

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  tomallan 8 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1240

    RonBarrett
    Participant
    • Started: 13
    • Replies: 12
    • Total: 25

    As I sit here watching my PowerPivot data model refresh the thought came, “I wonder which DAX functions are more CPU intensive and which are more memory intensive?”

    Now, we know that PowerPivot uses the same engine to power models as does AS tabular mode.  Tabular is a memory-based cube with VertiPaq providing the compression algorithm.  So, performance factors will be CPU speed, amount of memory, and memory speed.

    As I watch my Windows Task Manager window for the past 9 minutes while the 1,100 measures calculate in the PowerPivot window I’ve seen CPU usage spike up to 100% multiple times (12-core, 3.2ghz) and memory usage hit up to 27gb.  A little later both are back down to reasonably common levels.   So, at some points DAX formulas were taxing the CPUs, while at other times the memory was getting consumed.  Which functions draw which computer resources?

    Searching online I haven’t found much other than DAX doesn’t do multi-threading particularly well.  I know date calculations, like DATEADD() or DATESBETWEEN() aren’t processed in a multi-threaded manner.  In fact, I think it might have been Marco Russo that said to separate thinking between the formula engine from the storage engine.  The storage engine (VertiPaq) takes advantage of multiple cores, but the formula engine relies upon a single CPU.

    Does anyone have some ideas about CPU vs memory usage with DAX functions?

    Cheers,

    Ron

    #1251

    tomallan
    Keymaster
    • Started: 0
    • Replies: 417
    • Total: 417
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘DAX Functions and CPU Usage’ is closed to new replies.